Andreas Tille pushed to branch master at Debian Med / python-biom-format
Commits: 84e2f33d by Andreas Tille at 2026-05-20T11:37:02+02:00 in1d was replaced by isin in numpy 2.4 Closes: #1131071 - - - - - b4fed268 by Andreas Tille at 2026-05-20T11:37:11+02:00 Upload to unstable - - - - - 0e432ab3 by Andreas Tille at 2026-05-20T11:37:11+02:00 Forwarded patch - - - - - 4 changed files: - debian/changelog - + debian/patches/numpy-2.4.patch - debian/patches/series - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,6 +1,9 @@ python-biom-format (2.1.17-2) UNRELEASED; urgency=medium * cme fix dpkg-control + * in1d was replaced by isin in numpy 2.4 + Closes: #1131071 + * Remove useless dist-info dir from python3.14 space -- Andreas Tille <[email protected]> Mon, 18 May 2026 18:14:44 +0200 ===================================== debian/patches/numpy-2.4.patch ===================================== @@ -0,0 +1,17 @@ +Author: Andreas Tille <[email protected]> +Last-Update: 2018-05-18 +Bug-Debian: https://bugs.debian.org/1131071 +Description: in1d was replaced by isin in numpy 2.4 +Forwarded: https://github.com/biocore/biom-format/issues/1003 + +--- a/biom/table.py ++++ b/biom/table.py +@@ -4234,7 +4234,7 @@ html + else: + desired_ids = np.asarray(desired_ids) + # Get the index of the source ids to include +- idx = np.in1d(source_ids, desired_ids) ++ idx = np.isin(source_ids, desired_ids) + # Retrieve only the ids that we are interested on + ids = source_ids[idx] + # Check that all desired ids have been found on source ids ===================================== debian/patches/series ===================================== @@ -3,3 +3,4 @@ no-web-adds.patch fix_future_import.patch sphinx_1.6.patch posix_shell.patch +numpy-2.4.patch ===================================== debian/rules ===================================== @@ -42,3 +42,8 @@ execute_after_dh_installexamples: execute_after_dh_auto_install: find $(PYBUILD_DESTDIR) -name .coverage -delete + +execute_after_dh_python3: + rm -rf debian/*/usr/lib/python3.14/dist-packages/biom_format-2.1.17.dist-info + rmdir debian/*/usr/lib/python3.14/dist-packages + rmdir debian/*/usr/lib/python3.14 View it on GitLab: https://salsa.debian.org/med-team/python-biom-format/-/compare/8bfb7b944e01d2594eddde70014a6f7d7ea12ec4...0e432ab3228aaeb11681b9bf4e1e34d0c3a97395 -- View it on GitLab: https://salsa.debian.org/med-team/python-biom-format/-/compare/8bfb7b944e01d2594eddde70014a6f7d7ea12ec4...0e432ab3228aaeb11681b9bf4e1e34d0c3a97395 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
