Package: src:importmagic
Version: 0.1.7-4
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

importmagic's autopkg tests fail with Python 3.12 (distutils module is removed):

[...]
256s Testing with python3.12 in :/tmp/autopkgtest.iDb3Lk/autopkgtest_tmp
256s ============================= test session starts ============================== 256s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3.12
256s cachedir: .pytest_cache
256s rootdir: /tmp/autopkgtest.iDb3Lk/autopkgtest_tmp
256s collecting ... collected 0 items / 1 error
256s
256s ==================================== ERRORS ==================================== 256s ________________________ ERROR collecting test session _________________________ 256s /usr/lib/python3/dist-packages/_pytest/config/__init__.py:641: in _importconftest
256s     mod = import_path(conftestpath, mode=importmode, root=rootpath)
256s /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
256s     importlib.import_module(module_name)
256s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
256s     return _bootstrap._gcd_import(name[level:], package, level)
256s <frozen importlib._bootstrap>:1381: in _gcd_import
256s     ???
256s <frozen importlib._bootstrap>:1354: in _find_and_load
256s     ???
256s <frozen importlib._bootstrap>:1304: in _find_and_load_unlocked
256s     ???
256s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
256s     ???
256s <frozen importlib._bootstrap>:1381: in _gcd_import
256s     ???
256s <frozen importlib._bootstrap>:1354: in _find_and_load
256s     ???
256s <frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
256s     ???
256s <frozen importlib._bootstrap>:929: in _load_unlocked
256s     ???
256s <frozen importlib._bootstrap_external>:994: in exec_module
256s     ???
256s <frozen importlib._bootstrap>:488: in _call_with_frames_removed
256s     ???
256s /usr/lib/python3/dist-packages/importmagic/__init__.py:10: in <module>
256s     from importmagic.index import SymbolIndex
256s /usr/lib/python3/dist-packages/importmagic/index.py:11: in <module>
256s     from distutils import sysconfig
256s E   ModuleNotFoundError: No module named 'distutils'
256s =========================== short test summary info ============================
256s ERROR  - ModuleNotFoundError: No module named 'distutils'

Reply via email to