[Git][debian-gis-team/glymur][master] 2 commits: Add patch to fix FTBFS with skimage 0.18. (closes: #978255)

Bas Couwenberg gitlab at salsa.debian.org
Sun Dec 27 10:12:56 GMT 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / glymur


Commits:
d4f2c47b by Bas Couwenberg at 2020-12-27T11:06:35+01:00
Add patch to fix FTBFS with skimage 0.18. (closes: #978255)

- - - - -
b66cc82e by Bas Couwenberg at 2020-12-27T11:06:35+01:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/series
- + debian/patches/skimage.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-glymur (0.9.2-2) UNRELEASED; urgency=medium
+glymur (0.9.2-2) unstable; urgency=medium
 
   * Team upload.
   * Bump Standards-Version to 4.5.1, no changes.
+  * Add patch to fix FTBFS with skimage 0.18.
+    (closes: #978255)
 
- -- Bas Couwenberg <sebastic at debian.org>  Sat, 28 Nov 2020 13:39:31 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 27 Dec 2020 10:48:19 +0100
 
 glymur (0.9.2-1) unstable; urgency=medium
 


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+skimage.patch


=====================================
debian/patches/skimage.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Update function renamed in skimage 0.16.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/978255
+Forwarded: https://github.com/quintusdias/glymur/pull/523
+
+--- a/tests/test_jp2k.py
++++ b/tests/test_jp2k.py
+@@ -26,7 +26,7 @@ from lxml import etree as ET
+ import numpy as np
+ try:
+     import skimage.data
+-    import skimage.measure
++    import skimage.metrics
+     _HAVE_SCIKIT_IMAGE = True
+ except ModuleNotFoundError:
+     _HAVE_SCIKIT_IMAGE = False
+@@ -1307,7 +1307,7 @@ class TestJp2k_write(fixtures.MetadataBa
+             # warning
+             warnings.simplefilter('ignore')
+             psnr = [
+-                skimage.measure.compare_psnr(skimage.data.camera(), d[j])
++                skimage.metrics.peak_signal_noise_ratio(skimage.data.camera(), d[j])
+                 for j in range(4)
+             ]
+ 



View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/compare/a4a8377c4dcd9f6fb314503710522d1d35c43b61...b66cc82ece001fb0d75d51e8f3ecb185055311db

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/glymur/-/compare/a4a8377c4dcd9f6fb314503710522d1d35c43b61...b66cc82ece001fb0d75d51e8f3ecb185055311db
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20201227/74ad2899/attachment-0001.html>


More information about the Pkg-grass-devel mailing list