Package: src:pytest-openfiles
Version: 0.5.0-3
Severity: important
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12

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

[...]
683s autopkgtest [13:53:03]: test command1: pytest-3
683s autopkgtest [13:53:03]: test command1: [-----------------------
685s Traceback (most recent call last):
685s   File "/usr/bin/pytest-3", line 8, in <module>
685s     sys.exit(console_main())
685s              ^^^^^^^^^^^^^^
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 192, in console_main
685s     code = main()
685s            ^^^^^^
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 150, in main
685s     config = _prepareconfig(args, plugins)
685s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 331, in _prepareconfig
685s     config = pluginmanager.hook.pytest_cmdline_parse(
685s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
685s File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, in __call__ 685s return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) 685s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 685s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 115, in _hookexec 685s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 685s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 685s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 130, in _multicall
685s     teardown[0].send(outcome)
685s File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 104, in pytest_cmdline_parse
685s     config: Config = outcome.get_result()
685s                      ^^^^^^^^^^^^^^^^^^^^
685s File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 114, in get_result
685s     raise exc.with_traceback(exc.__traceback__)
685s File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 77, in _multicall
685s     res = hook_impl.function(*args)
685s           ^^^^^^^^^^^^^^^^^^^^^^^^^
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1075, in pytest_cmdline_parse
685s     self.parse(args)
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1425, in parse
685s     self._preparse(args, addopts=addopts)
685s File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1305, in _preparse
685s     self.pluginmanager.load_setuptools_entrypoints("pytest11")
685s File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 398, in load_setuptools_entrypoints
685s     plugin = ep.load()
685s              ^^^^^^^^^
685s File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
685s     module = import_module(match.group('module'))
685s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
685s File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
685s     return _bootstrap._gcd_import(name[level:], package, level)
685s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
685s   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
685s   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
685s File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
685s   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
685s File "<frozen importlib._bootstrap_external>", line 994, in exec_module 685s File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed 685s File "/usr/lib/python3/dist-packages/pytest_openfiles/plugin.py", line 10, in <module>
685s     from distutils.version import LooseVersion
685s ModuleNotFoundError: No module named 'distutils'

  • Bug#1061818: pytest-openfiles fails its autopkg tests with ... Matthias Klose

Reply via email to