Source: python-boltons Version: 21.0.0-1 Severity: serious Tags: sid bookworm User: [email protected] Usertags: needs-update User: [email protected] Usertags: python3.11 Control: affects -1 src:python3-defaults
Dear maintainer(s),We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of python-boltons fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail
python3-defaults from testing 3.10.6-3
python-boltons from testing 21.0.0-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of python3-defaults
to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists
what's new in Python3.11, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/1021984 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-boltons/28728882/log.gz=================================== FAILURES =================================== _____________________________ test_frozendict_api ______________________________
def test_frozendict_api():
# all the read-only methods that are fine
through_methods = ['__class__',
'__cmp__',
'__contains__',
'__delattr__',
'__dir__',
'__eq__',
'__format__',
'__ge__',
'__getattribute__',
'__getitem__',
'__gt__',
'__init__',
'__iter__',
'__le__',
'__len__',
'__lt__',
'__ne__',
'__new__',
'__or__',
'__reduce__',
'__reversed__',
'__ror__',
'__setattr__',
'__sizeof__',
'__str__',
'copy',
'get',
'has_key',
'items',
'iteritems',
'iterkeys',
'itervalues',
'keys',
'values',
'viewitems',
'viewkeys',
'viewvalues']
fd = FrozenDict()
ret = []
for attrname in dir(fd):
if attrname == '_hash': # in the dir, even before it's set
continue
attr = getattr(fd, attrname)
if not callable(attr):
continue
if getattr(FrozenDict, attrname) == getattr(dict,
attrname, None) and attrname not in through_methods:
assert attrname == False
E AssertionError: assert '__getstate__' == False tests/test_dictutils.py:515: AssertionError=========================== short test summary info ============================ FAILED tests/test_dictutils.py::test_frozendict_api - AssertionError: assert ... ======================== 1 failed, 389 passed in 2.32s =========================
autopkgtest [23:01:36]: test upstream
OpenPGP_signature
Description: OpenPGP digital signature

