Package: src:python-importlib-metadata
Version: 4.12.0-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

python-importlib-metadata's autopkg tests fail with Python 3.12:

[...]
450s ======================================================================
450s ERROR: tests.test_main (unittest.loader._FailedTest.tests.test_main)
450s ----------------------------------------------------------------------
450s ImportError: Failed to import test module: tests.test_main
450s Traceback (most recent call last):
450s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
450s     module = self._get_module_from_name(name)
450s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
450s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
450s     __import__(name)
450s File "/tmp/autopkgtest.5EvlHX/autopkgtest_tmp/tests/test_main.py", line 8, in <module>
450s     import pyfakefs.fake_filesystem_unittest as ffs
450s File "/usr/lib/python3/dist-packages/pyfakefs/fake_filesystem_unittest.py", line 72, in <module>
450s     from pyfakefs import fake_pathlib
450s File "/usr/lib/python3/dist-packages/pyfakefs/fake_pathlib.py", line 164, in <module>
450s     flavour = pathlib._Flavour  # type: ignore [attr-defined]
450s               ^^^^^^^^^^^^^^^^
450s AttributeError: module 'pathlib' has no attribute '_Flavour'
450s
450s
450s ----------------------------------------------------------------------
450s Ran 57 tests in 0.118s
450s
450s FAILED (errors=1)

Reply via email to