Package: src:python-wheezy.template
Version: 0.1.167-3
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-wheezy.template ftbfs with Python 3.12:
[...]
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:310: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wheezy.template/build;
python3.12 -m unittest discover -v
wheezy.template (unittest.loader._FailedTest.wheezy.template) ... ERROR
======================================================================
ERROR: wheezy.template (unittest.loader._FailedTest.wheezy.template)
----------------------------------------------------------------------
ImportError: Failed to import test module: wheezy.template
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 427, in
_find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 337, in
_get_module_from_name
__import__(name)
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wheezy.template/build/wheezy/template/__init__.py",
line 7, in <module>
from wheezy.template.engine import Engine
File "src/wheezy/template/engine.py", line 8, in init
wheezy.template.engine
File "src/wheezy/template/compiler.py", line 5, in init
wheezy.template.compiler
ModuleNotFoundError: No module named 'imp'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1:
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wheezy.template/build;
python3.12 -m unittest discover -v
I: pybuild base:310: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wheezy.template/build;
python3.11 -m unittest discover -v