Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package skimage.

The package fixes the important bug #924606, "skimage: autopkgtest needs
update for new version of python-scipy: ValueError: No warning raised
matching: matrix subclass". The debdiff is attached. The package
currently fails on the testing CI, because it is still tested against
the old python-scipy (which was the cause of the bug). Once python-scipy
migrated, the test will succeed (see result in unstable).

unblock skimage/0.14.2-2

Best regards

Ole

diff -Nru skimage-0.14.2/debian/changelog skimage-0.14.2/debian/changelog
--- skimage-0.14.2/debian/changelog     2019-02-08 20:32:08.000000000 +0100
+++ skimage-0.14.2/debian/changelog     2019-03-14 22:58:01.000000000 +0100
@@ -1,3 +1,10 @@
+skimage (0.14.2-2) unstable; urgency=medium
+
+  * Team upload
+  * Disable numpy matrix deprecation warnings (Closes: #924606)
+
+ -- Ole Streicher <oleb...@debian.org>  Thu, 14 Mar 2019 22:58:01 +0100
+
 skimage (0.14.2-1) unstable; urgency=medium
 
   * Team upload
diff -Nru skimage-0.14.2/debian/patches/no-numpy-warnings.patch 
skimage-0.14.2/debian/patches/no-numpy-warnings.patch
--- skimage-0.14.2/debian/patches/no-numpy-warnings.patch       1970-01-01 
01:00:00.000000000 +0100
+++ skimage-0.14.2/debian/patches/no-numpy-warnings.patch       2019-03-14 
22:56:59.000000000 +0100
@@ -0,0 +1,23 @@
+From: Ole Streicher <oleb...@debian.org>
+Date: Thu, 14 Mar 2019 22:53:56 +0100
+Subject: Disable numpy matrix deprecation warnings
+
+Numpy matrix deprecation warnings are disabled by python-scipy 1.1.0-4,
+so we shall make sure that the tests don't fail then.
+
+Closes: #924606
+
+--- a/skimage/segmentation/tests/test_random_walker.py
++++ b/skimage/segmentation/tests/test_random_walker.py
+@@ -15,10 +15,7 @@
+ PYAMG_MISSING_WARNING = r'pyamg|\A\Z'
+ PYAMG_OR_SCIPY_WARNING = SCIPY_RANK_WARNING + '|' + PYAMG_MISSING_WARNING
+ 
+-if (Version(np.__version__) >= '1.15.0'):
+-    NUMPY_MATRIX_WARNING = 'matrix subclass'
+-else:
+-    NUMPY_MATRIX_WARNING = None
++NUMPY_MATRIX_WARNING = None
+ 
+ 
+ def make_2d_syntheticdata(lx, ly=None):
diff -Nru skimage-0.14.2/debian/patches/series 
skimage-0.14.2/debian/patches/series
--- skimage-0.14.2/debian/patches/series        2019-02-08 20:32:08.000000000 
+0100
+++ skimage-0.14.2/debian/patches/series        2019-03-14 22:49:00.000000000 
+0100
@@ -5,3 +5,4 @@
 Allow-warnings-on-dask.patch
 Don-t-download-intersphinx-mapping.patch
 fix-wrong-condition-on-prebuilt-c-files.patch
+no-numpy-warnings.patch

Reply via email to