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 <[email protected]> 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 <[email protected]> +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.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
