Package: sklearn-pandas Followup-For: Bug #1013540 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu kinetic ubuntu-patch Control: tags -1 patch
Hi Federico, Please find attached a patch that fixes this build failure, which is just a minor matter of a class name having changed. I have uploaded this change to Ubuntu to fix the build failure there. Thanks for considering, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru sklearn-pandas-2.2.0/debian/patches/scipy-test.patch sklearn-pandas-2.2.0/debian/patches/scipy-test.patch --- sklearn-pandas-2.2.0/debian/patches/scipy-test.patch 1969-12-31 16:00:00.000000000 -0800 +++ sklearn-pandas-2.2.0/debian/patches/scipy-test.patch 2022-08-20 12:29:25.000000000 -0700 @@ -0,0 +1,20 @@ +Description: fix tests for current scipy + scipy has made changes to its class hierarchy, update the tests to match +Author: Steve Langasek <steve.langa...@ubuntu.com> +Bug-Debian: https://bugs.debian.org/1013540 +Last-Update: 2022-08-20 +Forwarded: no + +Index: sklearn-pandas-2.2.0/README.rst +=================================================================== +--- sklearn-pandas-2.2.0.orig/README.rst ++++ sklearn-pandas-2.2.0/README.rst +@@ -473,7 +473,7 @@ + ... ('pet', CountVectorizer()), + ... ], sparse=True) + >>> type(mapper5.fit_transform(data)) +- <class 'scipy.sparse.csr.csr_matrix'> ++ <class 'scipy.sparse._csr.csr_matrix'> + + The stacking of the sparse features is done without ever densifying them. + diff -Nru sklearn-pandas-2.2.0/debian/patches/series sklearn-pandas-2.2.0/debian/patches/series --- sklearn-pandas-2.2.0/debian/patches/series 1969-12-31 16:00:00.000000000 -0800 +++ sklearn-pandas-2.2.0/debian/patches/series 2022-08-20 12:27:22.000000000 -0700 @@ -0,0 +1 @@ +scipy-test.patch