Package: src:j2cli
Version: 0.3.12b-4
Severity: serious
Tags: sid trixie ftbfs
User: [email protected]
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 -m nose2 -v tests
test_render (nose2.loader.ModuleImportFailure.test_render) ... ERROR
======================================================================
ERROR: test_render (nose2.loader.ModuleImportFailure.test_render)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_render
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/nose2/plugins/loader/discovery.py", line
196, in _find_tests_in_file
module = util.module_from_name(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/nose2/util.py", line 73, in
module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/tests/test_render.py", line 11, in <module>
from j2cli.cli import render_command
File "/<<PKGBUILDDIR>>/j2cli/__init__.py", line 10, in <module>
from j2cli.cli import main
File "/<<PKGBUILDDIR>>/j2cli/cli.py", line 8, in <module>
import imp, inspect
ModuleNotFoundError: No module named 'imp'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)