FS#70972 - [python-celery] doesn't work with click 8.0
Attached to Project:
Community Packages
Opened by Marcus Hoffmann (BubuIIC) - Friday, 21 May 2021, 22:52 GMT
Last edited by Antonio Rojas (arojas) - Friday, 24 December 2021, 20:41 GMT
Opened by Marcus Hoffmann (BubuIIC) - Friday, 21 May 2021, 22:52 GMT
Last edited by Antonio Rojas (arojas) - Friday, 24 December 2021, 20:41 GMT
|
Details
Description:
See https://github.com/celery/celery/issues/6768 (Now, I didn't actually try updating but I read the flask update notes[1] which mentioned holding back on a hard dependency on click 8 because celery isn't yet compatible, and sure enough someone ran into that problem already) Additional info: * package version(s) 5.0.5-2 [1] https://flask.palletsprojects.com/en/2.0.x/changes/#version-2-0-0 |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 24 December 2021, 20:41 GMT
Reason for closing: Fixed
Additional comments about closing: python-celery 5.2.1-1
Friday, 24 December 2021, 20:41 GMT
Reason for closing: Fixed
Additional comments about closing: python-celery 5.2.1-1
Edit: Sorry it is not actually backported, I patched and build my own celery version and forgot about it.
https://github.com/celery/celery/pull/6861
(you also need to update `python-kombu` to v5.2.2).
But I get an error in the test with MongoDB backend that is still unsolved: https://github.com/celery/celery/pull/7041
It seems a problem with the test environment and I could build by disabling the faulty test, by adding this at the end of the `pytest` line:
`--deselect t/unit/backends/test_mongodb.py`