• Bug#1056232: celery's autopkg tests fail with Python 3.12

    From Colin Watson@21:1/5 to Matthias Klose on Fri Feb 23 19:00:01 2024
    Control: reassign -1 python3-kombu
    Control: forwarded -1 https://github.com/celery/kombu/issues/1804
    Control: affects -1 src:celery
    Control: fixed -1 kombu/5.3.4-1
    Control: close -1

    On Sun, Nov 19, 2023 at 12:08:09PM +0100, Matthias Klose wrote:
    celery's autopkg tests fail with Python 3.12. All failing like:
    [...]
    544s self = <kombu.utils.objects.cached_property object at 0xffff7f437ec0> 544s instance = <Celery celery.tests at 0xffff73c85e20>
    544s value = <t.unit.events.test_snapshot.test_evcam.MockEvents object at 0xffff73c86780>
    544s
    544s def __set__(self, instance, value):
    544s if instance is None:
    544s return self
    544s
    544s > with self.lock:
    544s E AttributeError: 'cached_property' object has no attribute
    'lock'
    544s
    544s /usr/lib/python3/dist-packages/kombu/utils/objects.py:37:
    AttributeError

    This was https://github.com/celery/kombu/issues/1804, fixed in kombu
    5.3.3, which has been in Debian for a few months now. (#1058317 is
    still a problem, but is a separate bug.)

    Thanks,

    --
    Colin Watson (he/him) [cjwatson@debian.org]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)