Source: celery
Version: 5.4.0-2.1
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.13

Hi Maintainer

The autopkgtests of this package fail with Python 3.13 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/c/celery/testing/amd64/


370s =================================== FAILURES
===================================
370s _______________________ test_WorkController.test_statedb
_______________________
370s
370s self = <t.unit.worker.test_worker.test_WorkController object at
0x7f2d990d6d80>
370s
370s def test_statedb(self):
370s from celery.worker import state
370s Persistent = state.Persistent
370s
370s state.Persistent = Mock()
370s try:
370s > worker = self.create_worker(statedb='statefilename')
370s
370s t/unit/worker/test_worker.py:1027:
370s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
370s t/unit/worker/test_worker.py:717: in create_worker
370s worker = self.app.WorkController(concurrency=1, loglevel=0, **kw)
370s /usr/lib/python3/dist-packages/celery/worker/worker.py:98: in __init__
370s self.setup_instance(**self.prepare_args(**kwargs))
370s /usr/lib/python3/dist-packages/celery/worker/worker.py:138: in
setup_instance
370s self.blueprint.apply(self, **kwargs)
370s /usr/lib/python3/dist-packages/celery/bootsteps.py:211: in apply
370s step.include(parent)
370s /usr/lib/python3/dist-packages/celery/bootsteps.py:339: in include
370s return self._should_include(parent)[0]
370s /usr/lib/python3/dist-packages/celery/bootsteps.py:335: in _should_include
370s return True, self.create(parent)
370s /usr/lib/python3/dist-packages/celery/worker/components.py:211: in create
370s w._persistence = w.state.Persistent(w.state, w.statedb, w.app.clock)
370s /usr/lib/python3/dist-packages/celery/worker/state.py:211: in __init__
370s self.merge()
370s /usr/lib/python3/dist-packages/celery/worker/state.py:219: in merge
370s self._merge_with(self.db)
370s /usr/lib/python3/dist-packages/kombu/utils/objects.py:40: in __get__
370s return super().__get__(instance, owner)
370s /usr/lib/python3.12/functools.py:995: in __get__
370s val = self.func(instance)
370s /usr/lib/python3/dist-packages/celery/worker/state.py:288: in db
370s return self.open()
370s /usr/lib/python3/dist-packages/celery/worker/state.py:214: in open
370s return self.storage.open(
370s /usr/lib/python3.12/shelve.py:243: in open
370s return DbfilenameShelf(filename, flag, protocol, writeback)
370s /usr/lib/python3.12/shelve.py:227: in __init__
370s Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)
370s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
370s
370s file = 'statefilename', flag = 'c', mode = 438
370s
370s > ???
370s E dbm.error: db type could not be determined
370s
370s /usr/lib/python3.12/dbm/__init__.py:89: error

Reply via email to