Source: toolz Version: 0.12.1-1 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13 Forwarded: https://github.com/pytoolz/toolz/issues/581
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: dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build; python3.13 -m pytest -k'not test_curried_exception' ============================= test session starts ============================== platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 180 items / 1 deselected / 179 selected toolz/tests/test_compatibility.py . [ 0%] toolz/tests/test_curried.py .......... [ 6%] toolz/tests/test_curried_doctests.py . [ 6%] toolz/tests/test_dicttoolz.py .......................................... [ 30%] ..... [ 32%] toolz/tests/test_functoolz.py .....................................F [ 54%] toolz/tests/test_inspect_args.py ................. [ 63%] toolz/tests/test_itertoolz.py .......................................... [ 87%] ........ [ 91%] toolz/tests/test_recipes.py .. [ 92%] toolz/tests/test_serialization.py ........ [ 97%] toolz/tests/test_signatures.py ... [ 98%] toolz/tests/test_tlz.py . [ 99%] toolz/tests/test_utils.py . [100%] =================================== FAILURES =================================== _________________________________ test_excepts _________________________________ def test_excepts(): # These are descriptors, make sure this works correctly. assert excepts.__name__ == 'excepts' > assert ( 'A wrapper around a function to catch exceptions and\n' ' dispatch to a handler.\n' ) in excepts.__doc__ E AssertionError: assert 'A wrapper around a function to catch exceptions and\n dispatch to a handler.\n' in 'A wrapper around a function to catch exceptions and\ndispatch to a handler.\n\nThis is like a functional try/except b...r, KeyError), lambda a: a[0])\n>>> excepting([])\n>>> excepting([1])\n1\n>>> excepting({})\n>>> excepting({0: 1})\n1\n' E + where 'A wrapper around a function to catch exceptions and\ndispatch to a handler.\n\nThis is like a functional try/except b...r, KeyError), lambda a: a[0])\n>>> excepting([])\n>>> excepting([1])\n1\n>>> excepting({})\n>>> excepting({0: 1})\n1\n' = excepts.__doc__ toolz/tests/test_functoolz.py:741: AssertionError =========================== short test summary info ============================ FAILED toolz/tests/test_functoolz.py::test_excepts - AssertionError: assert '... ================= 1 failed, 178 passed, 1 deselected in 0.89s ================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_toolz/build; python3.13 -m pytest -k'not test_curried_exception' I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_toolz/build; python3.12 -m pytest -k'not test_curried_exception' ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 180 items / 1 deselected / 179 selected toolz/tests/test_compatibility.py . [ 0%] toolz/tests/test_curried.py .......... [ 6%] toolz/tests/test_curried_doctests.py . [ 6%] toolz/tests/test_dicttoolz.py .......................................... [ 30%] ..... [ 32%] toolz/tests/test_functoolz.py ...................................... [ 54%] toolz/tests/test_inspect_args.py ................. [ 63%] toolz/tests/test_itertoolz.py .......................................... [ 87%] ........ [ 91%] toolz/tests/test_recipes.py .. [ 92%] toolz/tests/test_serialization.py ........ [ 97%] toolz/tests/test_signatures.py ... [ 98%] toolz/tests/test_tlz.py . [ 99%] toolz/tests/test_utils.py . [100%] ====================== 179 passed, 1 deselected in 0.85s ======================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-19T14:30:42Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/794919/ 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