Source: python-pylibacl
Version: 0.7.2-1
Severity: important
Tags: forky sid
User: [email protected]
Usertags: python3.14

Hi Maintainer

The autopkgtests of this package will fail once Python 3.14 is the
default version in Debian.  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


255s =================================== FAILURES
===================================
255s __________________________ TestModification.test_str
___________________________
255s
255s self = <test_acls.TestModification object at 0x7d620e278b90>
255s
255s     def test_str(self):
255s         """Test str() of an ACL."""
255s         acl = posix1e.ACL(text=BASIC_ACL_TEXT)
255s         str_acl = str(acl)
255s >       self.checkRef(str_acl)
255s
255s test_acls.py:642:
255s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
255s
255s self = <test_acls.TestModification object at 0x7d620e278b90>
255s obj = 'user::rw-\ngroup::r--\nother::---\n'
255s
255s     def checkRef(self, obj):
255s         """Checks if a given obj has a 'sane' refcount"""
255s         if platform.python_implementation() == "PyPy":
255s             return
255s         ref_cnt = sys.getrefcount(obj)
255s         # FIXME: hardcoded value for the max ref count... but I've
255s         # seen it overflow on bad reference counting, so it's better
255s         # to be safe
255s         if ref_cnt < 2 or ref_cnt > 1024:
255s >           pytest.fail("Wrong reference count, expected 2-1024
and got %d" %
255s                         ref_cnt)
255s E           Failed: Wrong reference count, expected 2-1024 and got 1
255s
255s test_acls.py:635: Failed

Reply via email to