[Debian-med-packaging] Bug#1123531: toil: FTBFS: E ModuleNotFoundError: No module named 'pytest_subtests'
Santiago Vila
sanvila at debian.org
Wed Dec 17 10:52:29 GMT 2025
Package: src:toil
Version: 9.1.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:toil, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[33mSKIPPED[0m [1] toil/test/utils/toilDebugTest.py:255: Install Toil with the 'wdl' extra to include this test.
[33mSKIPPED[0m [3] toil/test/server/serverTest.py:96: Install Toil with the 'server' extra to include this test.
[33mSKIPPED[0m [1] toil/test/server/serverTest.py:245: Install Toil with the 'server' extra to include this test.
[33mSKIPPED[0m [1] toil/test/jobStores/jobStoreTest.py:1568: Proxy error: Failed to connect to proxy URL: "http://127.0.0.1:9/", skipping this test.
[33mSKIPPED[0m [1] toil/test/server/serverTest.py:48: Install Toil with the 'server' extra to include this test.
[31mERROR[0m toil/test/src/importExportFileTest.py - ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toil/build/toil/test/src/importExportFileTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:507: in importtestmodule
mod = import_path(
/usr/lib/python3/dist-packages/_pytest/pathlib.py:587: in import_path
importlib.import_module(module_name)
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:1023: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
toil/test/src/importExportFileTest.py:30: in <module>
from pytest_subtests import SubTests
E ModuleNotFoundError: No module named 'pytest_subtests'
[31mERROR[0m toil/test/src/jobEncapsulationTest.py - ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toil/build/toil/test/src/jobEncapsulationTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:507: in importtestmodule
mod = import_path(
/usr/lib/python3/dist-packages/_pytest/pathlib.py:587: in import_path
importlib.import_module(module_name)
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:1023: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
toil/test/src/jobEncapsulationTest.py:17: in <module>
from toil.test.src.jobTest import fn1Test
toil/test/src/jobTest.py:37: in <module>
from pytest_subtests import SubTests
E ModuleNotFoundError: No module named 'pytest_subtests'
[31mERROR[0m toil/test/src/jobTest.py - ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toil/build/toil/test/src/jobTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:507: in importtestmodule
mod = import_path(
/usr/lib/python3/dist-packages/_pytest/pathlib.py:587: in import_path
importlib.import_module(module_name)
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:1023: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
toil/test/src/jobTest.py:37: in <module>
from pytest_subtests import SubTests
E ModuleNotFoundError: No module named 'pytest_subtests'
[31m== [32m216 passed[0m, [33m159 skipped[0m, [31m[1m3 errors[0m, [32m24 subtests passed[0m[31m in 523.13s (0:08:43)[0m[31m ==[0m
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toil/build; python3.13 -m pytest -n 2 --dist loadscope -vv -W ignore -k "not (testVirtualEnv or DockstoreLookupTest or testMultiplejobs or testServices)" -m "not slow" --ignore toil/test/lib/aws/test_s3.py --ignore toil/test/provisioners/aws/awsProvisionerTest.py --ignore toil/test/wdl/wdltoil_test.py --ignore toil/test/cwl/cwlTest.py --ignore toil/test/lib/test_ec2.py --ignore toil/test/batchSystems/batchSystemTest.py --ignore toil/test/lib/aws/test_iam.py --ignore toil/test/provisioners/clusterTest.py --ignore toil/test/wdl/wdltoil_test_kubernetes.py --ignore toil/test/cactus/test_cactus_integration.py toil/test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debian-med-packaging
mailing list