Package: src:python-mpegdash
Version: 0.3.1-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

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


[...]
363s ======================================================================
363s ERROR: test_mpdtoxml (unittest.loader._FailedTest.test_mpdtoxml)
363s ----------------------------------------------------------------------
363s ImportError: Failed to import test module: test_mpdtoxml
363s Traceback (most recent call last):
363s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
363s     module = self._get_module_from_name(name)
363s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
363s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
363s     __import__(name)
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/tests/test_mpdtoxml.py", line 7, in <module>
363s     from mpegdash.parser import MPEGDASHParser
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/parser.py", line 9, in <module>
363s     from mpegdash.nodes import MPEGDASH
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/nodes.py", line 1, in <module>
363s     from mpegdash.utils import (
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/utils.py", line 1, in <module>
363s     from past.builtins import unicode   # python3 compat
363s     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
363s File "/usr/lib/python3/dist-packages/past/builtins/__init__.py", line 54, in <module> 363s from past.builtins.misc import (apply, chr, cmp, execfile, intern, oct, 363s File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 45, in <module>
363s     from imp import reload
363s ModuleNotFoundError: No module named 'imp'
363s
363s
363s ======================================================================
363s ERROR: test_xmltompd (unittest.loader._FailedTest.test_xmltompd)
363s ----------------------------------------------------------------------
363s ImportError: Failed to import test module: test_xmltompd
363s Traceback (most recent call last):
363s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
363s     module = self._get_module_from_name(name)
363s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
363s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
363s     __import__(name)
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/tests/test_xmltompd.py", line 6, in <module>
363s     from mpegdash.parser import MPEGDASHParser
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/parser.py", line 9, in <module>
363s     from mpegdash.nodes import MPEGDASH
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/nodes.py", line 1, in <module>
363s     from mpegdash.utils import (
363s File "/tmp/autopkgtest.G4Kp3C/build.dXh/src/mpegdash/utils.py", line 1, in <module>
363s     from past.builtins import unicode   # python3 compat
363s     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
363s File "/usr/lib/python3/dist-packages/past/builtins/__init__.py", line 54, in <module> 363s from past.builtins.misc import (apply, chr, cmp, execfile, intern, oct, 363s File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 45, in <module>
363s     from imp import reload
363s ModuleNotFoundError: No module named 'imp'
363s
363s
363s ----------------------------------------------------------------------
363s Ran 2 tests in 0.001s
363s
363s FAILED (errors=2)
363s Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>

Reply via email to