[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1056502: python-redmine's autopkg tests fail with Python 3.12



Package: src:python-redmine
Version: 2.3.0-3
Severity: important
Tags: sid trixie
User: debian-python@lists.debian.org
Usertags: python3.12

python-redmine's autopkg tests fail with Python 3.12:

[...]
284s ERROR: tests (unittest.loader._FailedTest.tests)
284s ----------------------------------------------------------------------
284s ImportError: Failed to import test module: tests
284s Traceback (most recent call last):
284s File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
284s     package = self._get_module_from_name(name)
284s               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
284s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
284s     __import__(name)
284s File "/tmp/autopkgtest.Rk3G4z/autopkgtest_tmp/tests/__init__.py", line 8, in <module>
284s     from redminelib import Redmine
284s File "/usr/lib/python3/dist-packages/redminelib/__init__.py", line 12, in <module>
284s     from distutils.version import LooseVersion
284s ModuleNotFoundError: No module named 'distutils'
284s
284s
284s ----------------------------------------------------------------------
284s Ran 1 test in 0.000s
284s
284s FAILED (errors=1)


Reply to: