[Debian-med-packaging] Bug#1056330: bookworm-pu: package toil/5.9.2-2+deb12u1
Santiago Vila
sanvila at debian.org
Mon Nov 20 23:46:36 GMT 2023
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: toil at packages.debian.org, sanvila at debian.org
Control: affects -1 + src:toil
[ Reason ]
This upload fixes Bug#1031192. FTBFS on single-cpu systems.
[ Impact ]
Anybody trying to build the package from source in stable on a single-cpu
system will see that the package unexpectedly FTBFS.
[ Tests ]
I've tested that the updated package builds ok in all systems.
[ Risks ]
There are no actual code changes in the program, only in the
way the tests are executed.
[ 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 ]
Backport patch from unstable to run the tests using
a single CPU.
[ Other info ]
The package is already uploaded.
-------------- next part --------------
diff -Nru toil-5.9.2/debian/changelog toil-5.9.2/debian/changelog
--- toil-5.9.2/debian/changelog 2023-02-06 19:04:14.000000000 +0100
+++ toil-5.9.2/debian/changelog 2023-11-21 00:35:00.000000000 +0100
@@ -1,3 +1,11 @@
+toil (5.9.2-2+deb12u1) bookworm; urgency=medium
+
+ * Team upload.
+ * Apply patch by Michael R. Crusoe to request a single core
+ in the tests. Closes: #1031192.
+
+ -- Santiago Vila <sanvila at debian.org> Tue, 21 Nov 2023 00:35:00 +0100
+
toil (5.9.2-2) unstable; urgency=medium
* Add patch to handle errors when testing on ec2.
diff -Nru toil-5.9.2/debian/patches/fewer_cores toil-5.9.2/debian/patches/fewer_cores
--- toil-5.9.2/debian/patches/fewer_cores 1970-01-01 01:00:00.000000000 +0100
+++ toil-5.9.2/debian/patches/fewer_cores 2023-11-21 00:34:08.000000000 +0100
@@ -0,0 +1,37 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Tests: only request a single core
+Bugs: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031192
+
+--- a/src/toil/test/src/helloWorldTest.py
++++ b/src/toil/test/src/helloWorldTest.py
+@@ -24,7 +24,7 @@
+
+ class HelloWorld(Job):
+ def __init__(self):
+- Job.__init__(self, memory=100000, cores=2, disk="3G")
++ Job.__init__(self, memory=100000, cores=1, disk="3G")
+
+ def run(self, fileStore):
+ fileID = self.addChildJobFn(childFn, cores=1, memory="1M", disk="3G").rv()
+--- a/src/toil/test/src/realtimeLoggerTest.py
++++ b/src/toil/test/src/realtimeLoggerTest.py
+@@ -57,7 +57,7 @@
+
+ class LogTest(Job):
+ def __init__(self):
+- Job.__init__(self, memory=100000, cores=2, disk='3G')
++ Job.__init__(self, memory=100000, cores=1, disk='3G')
+
+ def run(self, fileStore):
+ RealtimeLogger.info('This should be logged at info level')
+--- a/src/toil/test/src/userDefinedJobArgTypeTest.py
++++ b/src/toil/test/src/userDefinedJobArgTypeTest.py
+@@ -59,7 +59,7 @@
+
+ class JobClass(Job):
+ def __init__(self, level, foo):
+- Job.__init__(self, memory=100000, cores=2, disk="300M")
++ Job.__init__(self, memory=100000, cores=1, disk="300M")
+ self.level = level
+ self.foo = foo
+
diff -Nru toil-5.9.2/debian/patches/series toil-5.9.2/debian/patches/series
--- toil-5.9.2/debian/patches/series 2023-02-06 19:01:55.000000000 +0100
+++ toil-5.9.2/debian/patches/series 2023-11-21 00:34:08.000000000 +0100
@@ -10,3 +10,4 @@
atomic_copy_as_alternative.patch
python3_in_doc.patch
avoid_boto
+fewer_cores
More information about the Debian-med-packaging
mailing list