Source: python-json-patch Version: 1.32-3 Severity: normal User: [email protected] Usertags: python3.13 Forwarded: https://github.com/stefankoegl/python-json-patch/pull/159
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 Log snippet: debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..." Do nothing... make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions set -e ; for pyvers in 3.13 3.12; do \ PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages python$pyvers ./tests.py ; \ done Traceback (most recent call last): File "/<<PKGBUILDDIR>>/./tests.py", line 1054, in <module> suite = get_suite() File "/<<PKGBUILDDIR>>/./tests.py", line 1039, in get_suite suite.addTest(unittest.makeSuite(ApplyPatchTestCase)) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/__init__.py", line 80, in __getattr__ raise AttributeError(f"module {__name__!r} has no attribute {name!r}") AttributeError: module 'unittest' has no attribute 'makeSuite' make[1]: *** [debian/rules:25: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-19T03:12:10Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/784663/ 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

