Andreas Tille pushed to branch master at Debian Med / python-cykhash
Commits: 5985bafb by Andreas Tille at 2026-05-25T07:05:27+02:00 d/watch: version=5 - - - - - 68c3ceae by Andreas Tille at 2026-05-25T07:12:29+02:00 in1d was replaced by isin in numpy 2.4 Closes: #1136869 - - - - - 4 changed files: - debian/changelog - + debian/patches/numpy-2.4.patch - debian/patches/series - debian/watch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +python-cykhash (2.0.0-4) UNRELEASED; urgency=medium + + * d/watch: version=5 + * in1d was replaced by isin in numpy 2.4 + Closes: #1136869 + + -- Andreas Tille <[email protected]> Mon, 25 May 2026 07:05:14 +0200 + python-cykhash (2.0.0-3) unstable; urgency=medium [ Andreas Tille ] ===================================== debian/patches/numpy-2.4.patch ===================================== @@ -0,0 +1,16 @@ +Author: Andreas Tille <[email protected]> +Last-Update: 2026-05-25 +Bug-Debian: https://bugs.debian.org/1136869 +Description: in1d was replaced by isin in numpy 2.4 + +--- a/tests/unit_tests/test_isin_random.py ++++ b/tests/unit_tests/test_isin_random.py +@@ -26,7 +26,7 @@ def test_isin_random(value_type): + values = np.random.randint(0, NMAX, n).astype(NPTYPE[value_type]) + s=FROM_BUFFER_SET[value_type](values, .1) + query = np.arange(NMAX).astype(NPTYPE[value_type]) +- expected = np.in1d(query, values) ++ expected = np.isin(query, values) + result = np.empty_like(expected) + ISIN[value_type](query, s, result) + assert np.array_equal(expected, result) ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ use-python-objects-instead-of-np-type-objects.patch resolve-import-path.patch +numpy-2.4.patch ===================================== debian/watch ===================================== @@ -1,4 +1,4 @@ -version=4 +Version: 5 -opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \ -https://github.com/realead/cykhash/tags (?:.*?/)?v?@ANY_VERSION@\.tar\.gz +Template: Github +Dist: https://github.com/realead/cykhash View it on GitLab: https://salsa.debian.org/med-team/python-cykhash/-/compare/82388b3c246dee2ed5a029d209045e38cf3f19d2...68c3ceaebed38c525fa50054af12bc7d6c12211a -- View it on GitLab: https://salsa.debian.org/med-team/python-cykhash/-/compare/82388b3c246dee2ed5a029d209045e38cf3f19d2...68c3ceaebed38c525fa50054af12bc7d6c12211a You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
