Bug#1091786: bookworm-pu: package joblib/1.2.0-4+deb12u1

Santiago Vila sanvila at debian.org
Tue Dec 31 11:23:15 GMT 2024


Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: sanvila at debian.org, debian-science-maintainers at lists.alioth.debian.org

[ Reason ]
This fixes FTBFS bug #1085692 (does not build on single-cpu systems).

[ Impact ]
Anybody trying to build the package on a single-cpu system might find
that the package unexpectedly does not build.

[ Tests ]
I've tested that the package builds ok again.

[ Risks ]
Very low. Only two tests are affected, and we only disable them when we
know that they will fail (which is done by checking nproc).

Upstream has confirmed that those tests have a bug in the case
where cpu_count() is 1, which is why they are currently disabled
in unstable until there is a better fix.

[ 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 ]
debian/rules checks nproc and disables two tests if it's 1.

[ Other info ]
I'll wait for confirmation before upload.
-------------- next part --------------
diff -Nru joblib-1.2.0/debian/changelog joblib-1.2.0/debian/changelog
--- joblib-1.2.0/debian/changelog	2022-10-22 07:19:54.000000000 +0200
+++ joblib-1.2.0/debian/changelog	2024-12-30 19:32:00.000000000 +0100
@@ -1,3 +1,10 @@
+joblib (1.2.0-4+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Fix FTBFS on single-CPU systems. Closes: #1085692.
+
+ -- Santiago Vila <sanvila at debian.org>  Mon, 30 Dec 2024 19:32:00 +0100
+
 joblib (1.2.0-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru joblib-1.2.0/debian/rules joblib-1.2.0/debian/rules
--- joblib-1.2.0/debian/rules	2022-10-22 07:19:45.000000000 +0200
+++ joblib-1.2.0/debian/rules	2024-12-30 19:30:12.000000000 +0100
@@ -9,6 +9,12 @@
 # Until https://github.com/joblib/joblib/issues/1329 is open
 EXCLUDE_TESTS += and not test_parallel_with_interactively_defined_functions_default_backend
 
+# https://github.com/joblib/joblib/issues/1618
+ifeq ($(shell nproc), 1)
+  EXCLUDE_TESTS += and not test_nested_parallelism_limit
+  EXCLUDE_TESTS += and not test_threadpool_limitation_in_child_override
+endif
+
 export PYBUILD_TEST_ARGS_python3 := -k "$(EXCLUDE_TESTS)"
 
 %:


More information about the debian-science-maintainers mailing list