Bug#1135265: trixie-pu: package numba/0.61.2+dfsg-1+deb13u1

Santiago Vila sanvila at debian.org
Thu Apr 30 11:23:44 BST 2026


Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: numba at packages.debian.org, sanvila at debian.org
Control: affects -1 + src:numba
User: release.debian.org at packages.debian.org
Usertags: pu

[ Reason ]
Fix FTBFS Bug #1108056. Some tests fail on single-cpu systems.

[ Impact ]
Anybody trying to build the package on a single-cpu system will
unexpectedly find that the build fails.

[ Tests ]
I've checked that the package builds ok on the systems where it used to fail.

[ Risks ]
Very low. No real code changes. We are just disabling a single test,
and only when we know the test would fail.

[ Checklist ]
   [X] *all* changes are documented in the d/changelog
   [X] I reviewed all changes and I approve them
   [X] attach debdiff against the package in (old)stable
   [X] the issue is verified as fixed in unstable

[ Changes ]
See changelog.

[ Other info ]
I've already uploaded the package.
-------------- next part --------------
diff -Nru numba-0.61.2+dfsg/debian/changelog numba-0.61.2+dfsg/debian/changelog
--- numba-0.61.2+dfsg/debian/changelog	2025-04-13 20:54:29.000000000 +0200
+++ numba-0.61.2+dfsg/debian/changelog	2026-04-30 12:10:00.000000000 +0200
@@ -1,3 +1,11 @@
+numba (0.61.2+dfsg-1+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Conditionally skip tests requiring more CPUs than available.
+    Closes: #1108056.
+
+ -- Santiago Vila <sanvila at debian.org>  Thu, 30 Apr 2026 12:10:00 +0200
+
 numba (0.61.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru numba-0.61.2+dfsg/debian/patches/series numba-0.61.2+dfsg/debian/patches/series
--- numba-0.61.2+dfsg/debian/patches/series	2025-04-13 20:44:11.000000000 +0200
+++ numba-0.61.2+dfsg/debian/patches/series	2026-04-30 10:00:00.000000000 +0200
@@ -10,3 +10,4 @@
 add-gdb-test-check.patch
 #armel-libatomic.patch
 llvm-19-pr10011.patch
+single-cpu.patch
diff -Nru numba-0.61.2+dfsg/debian/patches/single-cpu.patch numba-0.61.2+dfsg/debian/patches/single-cpu.patch
--- numba-0.61.2+dfsg/debian/patches/single-cpu.patch	1970-01-01 01:00:00.000000000 +0100
+++ numba-0.61.2+dfsg/debian/patches/single-cpu.patch	2026-04-30 10:10:00.000000000 +0200
@@ -0,0 +1,19 @@
+From: Santiago Vila <sanvila at debian.org>
+Subject: Conditionally skip tests requiring more CPUs than available
+Bug-Debian: https://bugs.debian.org/1108051
+Forwarded: https://github.com/numba/numba/issues/10580
+
+--- a/numba/tests/test_parallel_backend.py
++++ b/numba/tests/test_parallel_backend.py
+@@ -433,6 +433,11 @@
+ 
+ TestSpecificBackend.generate()
+ 
++_skip = unittest.skipIf(config.NUMBA_NUM_THREADS < 2, "Not enough CPU cores")
++for _name in (
++    'test_random_concurrent_vectorize_tbb',
++):
++    setattr(TestSpecificBackend, _name, _skip(getattr(TestSpecificBackend, _name)))
+ 
+ class ThreadLayerTestHelper(TestCase):
+     """


More information about the debian-science-maintainers mailing list