FS#75799 - [python-celery] python-billiard is too recent

Attached to Project: Community Packages
Opened by Marcus Hoffmann (BubuIIC) - Sunday, 04 September 2022, 11:55 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 08:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Santiago Torres (sangy)
Filipe Laíns (FFY00)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: python-celery 5.2.7 can't run with the recently updated python-billiard 4.0+
The upstream fix for this is here: https://github.com/celery/celery/pull/7446

Sep 04 13:09:55 bubu sh[950006]: Traceback (most recent call last):
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
Sep 04 13:09:55 bubu sh[950006]: return _run_code(code, main_globals, None,
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
Sep 04 13:09:55 bubu sh[950006]: exec(code, run_globals)
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/__main__.py", line 19, in <module>
Sep 04 13:09:55 bubu sh[950006]: main()
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/__main__.py", line 13, in main
Sep 04 13:09:55 bubu sh[950006]: maybe_patch_concurrency()
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/__init__.py", line 146, in maybe_patch_concurrency
Sep 04 13:09:55 bubu sh[950006]: concurrency.get_implementation(pool)
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/concurrency/__init__.py", line 28, in get_implementation
Sep 04 13:09:55 bubu sh[950006]: return symbol_by_name(cls, ALIASES)
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/kombu/utils/imports.py", line 56, in symbol_by_name
Sep 04 13:09:55 bubu sh[950006]: module = imp(module_name, package=package, **kwargs)
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
Sep 04 13:09:55 bubu sh[950006]: return _bootstrap._gcd_import(name[level:], package, level)
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap_external>", line 883, in exec_module
Sep 04 13:09:55 bubu sh[950006]: File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/concurrency/prefork.py", line 19, in <module>
Sep 04 13:09:55 bubu sh[950006]: from .asynpool import AsynPool
Sep 04 13:09:55 bubu sh[950006]: File "/usr/lib/python3.10/site-packages/celery/concurrency/asynpool.py", line 29, in <module>
Sep 04 13:09:55 bubu sh[950006]: from billiard.compat import buf_t, isblocking, setblocking
Sep 04 13:09:55 bubu sh[950006]: ImportError: cannot import name 'buf_t' from 'billiard.compat' (/usr/lib/python3.10/site-packages/billiard/compat.py)



Additional info:
* package version(s): 5.2.7
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 02 September 2023, 08:33 GMT
Reason for closing:  Fixed
Comment by Simon Ser (emersion) - Monday, 20 February 2023, 10:38 GMT Comment by Mark Stenglein (ocelotsloth) - Friday, 16 June 2023, 01:25 GMT
https://github.com/celery/celery/releases/tag/v5.3.0

v5.3.0 released last week with the upstream fix included.

https://archlinux.org/packages/extra/any/python-celery/ is already flagged out of date.

Loading...