New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 9 Continue to review full report at Codecov.
|
requirements.txt
Outdated
@@ -17,7 +17,7 @@ geopy==1.11.0 | |||
gunicorn==19.8.0 | |||
humanize==0.5.1 | |||
idna==2.6 | |||
kombu==4.1.0 | |||
kombu<4.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 freeze
as 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
More background can be found in celery/kombu#870,
Celery
needs to be fixed at4.1.0
untilKombu 4.2.2
arrives. Fixes #5221.