Package: src:python-semantic-release
Version: 7.32.2-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-semantic-release's autopkg tests fail with Python 3.12:
[...]
212s autopkgtest [19:08:58]: test run-tests: [-----------------------
212s ============================= test session starts
==============================
212s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0 --
/usr/bin/python3.12
212s cachedir: .pytest_cache
212s rootdir: /tmp/autopkgtest.fltlFo/autopkgtest_tmp
212s plugins: mock-3.11.1
212s collecting ... collected 13 items / 1 error
212s
212s ==================================== ERRORS
====================================
212s ______________________ ERROR collecting tests/test_cli.py
______________________
212s ImportError while importing test module
'/tmp/autopkgtest.fltlFo/autopkgtest_tmp/tests/test_cli.py'.
212s Hint: make sure your test modules/packages have valid Python names.
212s Traceback:
212s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
212s return _bootstrap._gcd_import(name[level:], package, level)
212s tests/test_cli.py:3: in <module>
212s from semantic_release.cli import changelog, main,
print_version, publish, version
212s /usr/lib/python3/dist-packages/semantic_release/cli.py:15: in <module>
212s from .dist import build_dists, remove_dists, should_build,
should_remove_dist
212s /usr/lib/python3/dist-packages/semantic_release/dist.py:6: in <module>
212s from invoke import run
212s /usr/lib/python3/dist-packages/invoke/__init__.py:23: in <module>
212s from .loader import FilesystemLoader # noqa
212s /usr/lib/python3/dist-packages/invoke/loader.py:3: in <module>
212s import imp
212s E ModuleNotFoundError: No module named 'imp'
212s =========================== short test summary info
============================
212s ERROR tests/test_cli.py
212s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
!!!!!!!!!!!!!!!!!!!!!!!!!!!
212s =============================== 1 error in 0.57s
===============================