Colin Watson pushed to branch master at Debian Python Team / packages / python-ncls
Commits: 5d75a0a4 by Colin Watson at 2025-12-01T09:37:20+00:00 Fix test_all_overlaps_both on architectures where int64!=long - - - - - 6d1d6148 by Colin Watson at 2025-12-01T09:37:28+00:00 releasing package python-ncls version 0.0.70+ds-2 - - - - - 3 changed files: - debian/changelog - + debian/patches/series - + debian/patches/test-all-overlaps-both-32bit.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +python-ncls (0.0.70+ds-2) unstable; urgency=medium + + * Team upload. + * Fix test_all_overlaps_both on architectures where int64!=long. + + -- Colin Watson <[email protected]> Mon, 01 Dec 2025 09:37:22 +0000 + python-ncls (0.0.70+ds-1) unstable; urgency=medium * Team upload. ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +test-all-overlaps-both-32bit.patch ===================================== debian/patches/test-all-overlaps-both-32bit.patch ===================================== @@ -0,0 +1,37 @@ +From: Colin Watson <[email protected]> +Date: Mon, 1 Dec 2025 09:30:13 +0000 +Subject: Fix test_all_overlaps_both on architectures where int64!=long + +As seen in e.g. +https://buildd.debian.org/status/fetch.php?pkg=python-ncls&arch=i386&ver=0.0.70%2Bds-1&stamp=1764516415&raw=0. + +Forwarded: https://github.com/pyranges/ncls/pull/67 +Last-Update: 2025-12-01 +--- + tests/test_1024.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tests/test_1024.py b/tests/test_1024.py +index a2bdb8a..0b48469 100644 +--- a/tests/test_1024.py ++++ b/tests/test_1024.py +@@ -12,15 +12,15 @@ def test_all_overlaps_both(): + + ncls = NCLS(starts, ends, ids) + +- starts2 = np.arange(0, 2048, 2) +- ends2 = np.arange(1, 2048, 2) ++ starts2 = np.arange(0, 2048, 2, dtype=np.int64) ++ ends2 = np.arange(1, 2048, 2, dtype=np.int64) + + result = ncls.all_overlaps_both(starts2, ends2, starts2) + assert len(result[0]) == 1024 + print(result[0]) + +- starts2 = np.arange(0, 2 * 2048, 2) +- ends2 = np.arange(1, 2 * 2048, 2) ++ starts2 = np.arange(0, 2 * 2048, 2, dtype=np.int64) ++ ends2 = np.arange(1, 2 * 2048, 2, dtype=np.int64) + # ncls2 = NCLS(starts2, ends2, starts2) + + result = ncls.all_overlaps_both(starts2, ends2, starts2) View it on GitLab: https://salsa.debian.org/python-team/packages/python-ncls/-/compare/90cab67ab9820887359d0ddfd8f137fba67f43a2...6d1d6148b61c33d8921216a1023f00f703171d60 -- View it on GitLab: https://salsa.debian.org/python-team/packages/python-ncls/-/compare/90cab67ab9820887359d0ddfd8f137fba67f43a2...6d1d6148b61c33d8921216a1023f00f703171d60 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
