Source: zope.interface Version: 7.0.3-1 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13
This package failed build from source when test-built against a version of python3-defaults that incudes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. I have not been able to reproduce this issue under tox on a porterbox. I haven't tried the full package build there. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: Successfully built zope.interface-7.0.3-cp312-cp312-linux_aarch64.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module dh_auto_test -a -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_zope.interface/build; python3.13 -m pytest -o consider_namespace_packages=true ============================= test session starts ============================== platform linux -- Python 3.13.0rc2, pytest-8.3.2, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 1373 items zope/interface/common/tests/test_builtins.py ........................... [ 1%] . [ 2%] zope/interface/common/tests/test_collections.py ....s................... [ 3%] .....s...........................................................sFatal Python error: Segmentation fault Current thread 0x0000ffff889d7740 (most recent call first): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_zope.interface/build/zope/interface/common/tests/__init__.py", line 140 in _adjust_object_before_verify File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_zope.interface/build/zope/interface/common/tests/__init__.py", line 119 in verify File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_zope.interface/build/zope/interface/common/tests/__init__.py", line 66 in test File "/usr/lib/python3.13/unittest/case.py", line 606 in _callTestMethod File "/usr/lib/python3.13/unittest/case.py", line 651 in run File "/usr/lib/python3.13/unittest/case.py", line 707 in __call__ File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 351 in runtest File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 174 in pytest_runtest_call File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 242 in <lambda> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341 in from_call File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241 in call_and_report File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132 in runtestprotocol File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362 in pytest_runtestloop File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337 in _main File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283 in wrap_session File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330 in pytest_cmdline_main File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__ File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175 in main File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201 in console_main File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9 in <module> File "<frozen runpy>", line 88 in _run_code File "<frozen runpy>", line 198 in _run_module_as_main Extension modules: zope.interface._zope_interface_coptimizations (total: 1) Segmentation fault E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=139: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_zope.interface/build; python3.13 -m pytest -o consider_namespace_packages=true I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_zope.interface/build; python3.12 -m pytest -o consider_namespace_packages=true ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.3.0 collected 1369 items zope/interface/common/tests/test_builtins.py ........................... [ 1%] . [ 2%] zope/interface/common/tests/test_collections.py ....s................... [ 3%] ....s..........................................................ss.....s. [ 9%] .............s.s...................................................... [ 14%] zope/interface/common/tests/test_idatetime.py . [ 14%] zope/interface/common/tests/test_import_interfaces.py . [ 14%] zope/interface/common/tests/test_io.py ................................ [ 16%] zope/interface/common/tests/test_numbers.py .................... [ 18%] zope/interface/tests/test_adapter.py ................................... [ 20%] ........................................................................ [ 25%] ................................................................... [ 30%] zope/interface/tests/test_advice.py ................. [ 32%] zope/interface/tests/test_compile_flags.py . [ 32%] zope/interface/tests/test_declarations.py .............................. [ 34%] ........................................................................ [ 39%] ........................................................................ [ 44%] ........................................................................ [ 50%] ................ [ 51%] zope/interface/tests/test_document.py ........................... [ 53%] zope/interface/tests/test_element.py . [ 53%] zope/interface/tests/test_exceptions.py ........... [ 54%] zope/interface/tests/test_interface.py ................................. [ 56%] ........................................................................ [ 61%] ........................................................................ [ 67%] ..................................... [ 69%] zope/interface/tests/test_interfaces.py ........................ [ 71%] zope/interface/tests/test_odd_declarations.py ...... [ 71%] zope/interface/tests/test_registry.py .................................. [ 74%] ........................................................................ [ 79%] ........................................................................ [ 84%] ........................................................................ [ 90%] ................................. [ 92%] zope/interface/tests/test_ro.py ............................. [ 94%] zope/interface/tests/test_sorting.py ..... [ 95%] zope/interface/tests/test_verify.py .................................... [ 97%] ............................... [100%] ======================= 1362 passed, 7 skipped in 1.61s ======================== dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:14: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-12T14:33:50Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/705518/ 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