Source: sphinx-a4doc Version: 1.6.0-2 Severity: normal User: [email protected] Usertags: python3.13
This package failed build from source when test-built against a version of python3-defaults that includes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html The typing.io module was removed in 3.13. Log snippet: dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/build; python3.13 -m unittest discover -v /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/build/sphinx_a4doc/contrib/railroad_diagrams.py:520: SyntaxWarning: invalid escape sequence '\ ' """ sphinx_a4doc.syntax (unittest.loader._FailedTest.sphinx_a4doc.syntax) ... ERROR ====================================================================== ERROR: sphinx_a4doc.syntax (unittest.loader._FailedTest.sphinx_a4doc.syntax) ---------------------------------------------------------------------- ImportError: Failed to import test module: sphinx_a4doc.syntax Traceback (most recent call last): File "/usr/lib/python3.13/unittest/loader.py", line 429, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/build/sphinx_a4doc/syntax/__init__.py", line 1, in <module> from .gen.syntax.ANTLRv4Lexer import ANTLRv4Lexer as Lexer File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/build/sphinx_a4doc/syntax/gen/syntax/ANTLRv4Lexer.py", line 3, in <module> from typing.io import TextIO ModuleNotFoundError: No module named 'typing.io'; 'typing' is not a package ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-a4doc/build; python3.13 -m unittest discover -v I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-a4doc/build; python3.12 -m unittest discover -v /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-a4doc/build/sphinx_a4doc/contrib/railroad_diagrams.py:520: SyntaxWarning: invalid escape sequence '\ ' """ ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-19T12:50:02Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/793721/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano

