[Debian-ha-maintainers] Bug#1061794: crmsh fails its autopkg tests with Python 3.12

Matthias Klose doko at debian.org
Mon Jan 29 19:08:53 GMT 2024


Package: src:crmsh
Version: 4.5.0-1
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails its autopkg 
tests:

[...]
1370s ==================================== ERRORS 
====================================
1370s ______________________ ERROR collecting test_bootstrap.py 
______________________
1370s ImportError while importing test module 
'/usr/share/crmsh/tests/unittests/test_bootstrap.py'.
1370s Hint: make sure your test modules/packages have valid Python names.
1370s Traceback:
1370s /usr/lib/python3/dist-packages/_pytest/python.py:617: in 
_importtestmodule
1370s     mod = import_path(self.path, mode=importmode, 
root=self.config.rootpath)
1370s /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
1370s     importlib.import_module(module_name)
1370s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
1370s     return _bootstrap._gcd_import(name[level:], package, level)
1370s <frozen importlib._bootstrap>:1387: in _gcd_import
1370s     ???
1370s <frozen importlib._bootstrap>:1360: in _find_and_load
1370s     ???
1370s <frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
1370s     ???
1370s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
1370s     ???
1370s <frozen importlib._bootstrap>:1387: in _gcd_import
1370s     ???
1370s <frozen importlib._bootstrap>:1360: in _find_and_load
1370s     ???
1370s <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
1370s     ???
1370s <frozen importlib._bootstrap>:935: in _load_unlocked
1370s     ???
1370s <frozen importlib._bootstrap_external>:994: in exec_module
1370s     ???
1370s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
1370s     ???
1370s __init__.py:22: in <module>
1370s     from crmsh import cibconfig
1370s /usr/lib/python3/dist-packages/crmsh/cibconfig.py:15: in <module>
1370s     from . import tmpfiles
1370s /usr/lib/python3/dist-packages/crmsh/tmpfiles.py:13: in <module>
1370s     from . import utils
1370s /usr/lib/python3/dist-packages/crmsh/utils.py:37: in <module>
1370s     from distutils.version import LooseVersion
1370s E   ModuleNotFoundError: No module named 'distutils'
1370s ________________________ ERROR collecting test_bugs.py 
_________________________
1370s ImportError while importing test module 
'/usr/share/crmsh/tests/unittests/test_bugs.py'.
1370s Hint: make sure your test modules/packages have valid Python names.



More information about the Debian-ha-maintainers mailing list