Repository navigation
Bump Celery to 4.2.0 - #5222
Bump Celery to 4.2.0#5222
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5222 +/- ##
=======================================
Coverage 63.45% 63.45%
=======================================
Files 261 261
Lines 19842 19842
Branches 1998 1998
=======================================
Hits 12591 12591
Misses 7242 7242
Partials 9 9Continue to review full report at Codecov.
|
| humanize==0.5.1 | ||
| idna==2.6 | ||
| kombu==4.1.0 | ||
| kombu<4.2 |
There was a problem hiding this comment.
Packages in requirements.txt should be pinned to a specific version to help* ensure repeatability. Would you mind specifying a specific version.
- Note we actually don't include all indirect requirements from the output of
pip freezeas we need this to be both Python 2 and 3 compliant and thus pin the direct package dependencies defined insetup.py.
cc: @timifasubaa
There was a problem hiding this comment.
I removed the line regarding Kombu in requirements.txt, as I checked that it is only indirectly used via Celery. In this case one can think of Celery 4.1.1 as being broken. As Kombu isn't directly specified in setup.py, leaving it out of requirements.txt feels like the better option as per the initial comment?
|
@villebro so for iterating on the comment. When I tested this locally (to see if we still needed to pin It seems like the version of |
|
Oops, good call @john-bodley. I repinned |
|
Let's see what happens.. |
|
Looking at CI logs bumping to 4.2.0 seems to have resolved the issue! |
|
Thanks @villebro. |
|
For reference here’s the item in Celery 4.2.0 changelog which remedies the issue. |
* Downgrade celery and kombu * Remove kombu from requirements.txt * Pin kombu at 4.1.0 * Bump celery to 4.2.0
* Downgrade celery and kombu * Remove kombu from requirements.txt * Pin kombu at 4.1.0 * Bump celery to 4.2.0 (cherry picked from commit ccf2110)
* Downgrade celery and kombu * Remove kombu from requirements.txt * Pin kombu at 4.1.0 * Bump celery to 4.2.0
* Downgrade celery and kombu * Remove kombu from requirements.txt * Pin kombu at 4.1.0 * Bump celery to 4.2.0
More background can be found in celery/kombu#870,
Celeryneeds to be fixed at4.1.0untilKombu 4.2.2arrives. Fixes #5221.