Source: python-pyramid
Version: 2.0+dfsg-2
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/Pylons/pyramid/issues/3761

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:

======================================================================
FAIL: test_property_without_name 
(tests.test_util.Test_InstancePropertyHelper.test_property_without_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyramid/build/tests/test_util.py", 
line 74, in test_property_without_name
    self.assertRaises(
    ~~~~~~~~~~~~~~~~~^
        ValueError, helper.set_property, foo, property(worker)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: ValueError not raised by set_property

======================================================================
FAIL: test_property_without_name 
(tests.test_util.Test_InstancePropertyMixin.test_property_without_name)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyramid/build/tests/test_util.py", 
line 278, in test_property_without_name
    self.assertRaises(ValueError, foo.set_property, property(worker))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: ValueError not raised by set_property

----------------------------------------------------------------------
Ran 762 tests in 0.805s

FAILED (failures=2, errors=472)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyramid/build; python3.13 -m unittest 
discover -v 


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

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