[Git][debian-gis-team/dask-image][master] New 0003-numpy-v2.4-compat.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Mar 21 18:56:54 GMT 2026



Antonio Valentino pushed to branch master at Debian GIS Project / dask-image


Commits:
20338681 by Antonio Valentino at 2026-03-21T18:53:50+00:00
New 0003-numpy-v2.4-compat.patch

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0003-numpy-v2.4-compat.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+dask-image (2025.11.0+ds-3) UNRELEASED; urgency=medium
+
+  * debian/patches:
+    - New 0003-numpy-v2.4-compat.patch (Closes: #1131052).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 21 Mar 2026 18:48:05 +0000
+
 dask-image (2025.11.0+ds-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/0003-numpy-v2.4-compat.patch
=====================================
@@ -0,0 +1,22 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 21 Mar 2026 18:47:30 +0000
+Subject: numpy-v2.4-compat
+
+Forwarded: https://github.com/dask/dask-image/pull/425
+---
+ tests/test_dask_image/test_ndmeasure/test_core.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_dask_image/test_ndmeasure/test_core.py b/tests/test_dask_image/test_ndmeasure/test_core.py
+index 3bbdc6d..f614889 100644
+--- a/tests/test_dask_image/test_ndmeasure/test_core.py
++++ b/tests/test_dask_image/test_ndmeasure/test_core.py
+@@ -142,7 +142,7 @@ def test_measure_props(funcname, shape, chunks, has_lbls, ind):
+     if (
+         funcname == "median" and
+         ind is not None and
+-        not np.in1d(np.atleast_1d(ind), lbls).all()
++        not np.isin(np.atleast_1d(ind), lbls).all()
+     ):
+         pytest.skip("SciPy's `median` mishandles missing labels.")
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 0001-No-pytest-flake8.patch
 0002-Fix-installed-packages.patch
+0003-numpy-v2.4-compat.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/dask-image/-/commit/203386812451a74fff0a40b819cf9737f8f69571

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/dask-image/-/commit/203386812451a74fff0a40b819cf9737f8f69571
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/20260321/6aa18eef/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list