[Debian-astro-maintainers] Bug#1061822: python-asdf fails its autopkg tests with Python 3.12
Matthias Klose
doko at debian.org
Mon Jan 29 20:20:52 GMT 2024
Package: src:python-asdf
Version: 3.0.1-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:
[...]
775s autopkgtest [13:55:17]: test command1: cd $AUTOPKGTEST_TMP &&
pytest-3 --pyargs asdf
775s autopkgtest [13:55:17]: test command1: [-----------------------
777s Traceback (most recent call last):
777s File "/usr/bin/pytest-3", line 8, in <module>
777s sys.exit(console_main())
777s ^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 192, in console_main
777s code = main()
777s ^^^^^^
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 150, in main
777s config = _prepareconfig(args, plugins)
777s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 331, in _prepareconfig
777s config = pluginmanager.hook.pytest_cmdline_parse(
777s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493,
in __call__
777s return self._hookexec(self.name, self._hookimpls, kwargs,
firstresult)
777s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
115, in _hookexec
777s return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
777s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line
130, in _multicall
777s teardown[0].send(outcome)
777s File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line
104, in pytest_cmdline_parse
777s config: Config = outcome.get_result()
777s ^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line
114, in get_result
777s raise exc.with_traceback(exc.__traceback__)
777s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line
77, in _multicall
777s res = hook_impl.function(*args)
777s ^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 1075, in pytest_cmdline_parse
777s self.parse(args)
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 1425, in parse
777s self._preparse(args, addopts=addopts)
777s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py",
line 1305, in _preparse
777s self.pluginmanager.load_setuptools_entrypoints("pytest11")
777s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line
398, in load_setuptools_entrypoints
777s plugin = ep.load()
777s ^^^^^^^^^
777s File "/usr/lib/python3.12/importlib/metadata/__init__.py", line
205, in load
777s module = import_module(match.group('module'))
777s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "/usr/lib/python3.12/importlib/__init__.py", line 90, in
import_module
777s return _bootstrap._gcd_import(name[level:], package, level)
777s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
777s File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
777s File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
777s File "<frozen importlib._bootstrap>", line 1331, in
_find_and_load_unlocked
777s File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
777s File "<frozen importlib._bootstrap_external>", line 994, in
exec_module
777s File "<frozen importlib._bootstrap>", line 488, in
_call_with_frames_removed
777s File "/usr/lib/python3/dist-packages/pytest_openfiles/plugin.py",
line 10, in <module>
777s from distutils.version import LooseVersion
777s ModuleNotFoundError: No module named 'distutils'
More information about the Debian-astro-maintainers
mailing list