Source: python-venusian
Version: 3.1.0-1
Severity: normal
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/Pylons/venusian/issues/91

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_venusian/build; 
python3.13 -m pytest --no-cov
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.3.0, cov-5.0.0
collected 47 items

tests/test_advice.py F..                                                 [  6%]
tests/test_venusian.py ............................................      [100%]

=================================== FAILURES ===================================
__________________________ FrameInfoTest.testCallInfo __________________________

self = <tests.test_advice.FrameInfoTest testMethod=testCallInfo>

    def testCallInfo(self):
        (kind, module, f_locals, f_globals, codeinfo) = advice.getFrameInfo(
            sys._getframe()
        )
        self.assertEqual(kind, "function call")
>       self.assertTrue(f_locals is locals())  # ???
E       AssertionError: False is not true

tests/test_advice.py:96: AssertionError
=========================== short test summary info ============================
FAILED tests/test_advice.py::FrameInfoTest::testCallInfo - AssertionError: Fa...
========================= 1 failed, 46 passed in 0.12s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_venusian/build; python3.13 -m pytest 
--no-cov
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_venusian/build; 
python3.12 -m pytest --no-cov
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.3.0, cov-5.0.0
collected 47 items

tests/test_advice.py ...                                                 [  6%]
tests/test_venusian.py ............................................      [100%]

============================== 47 passed in 0.12s ==============================
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T09:26:57Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/790770/

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

Reply via email to