Skip to content

Commit d6db011

Browse files
committed
Requirements: downgrade celery
We are getting an error, so we downgrade it to the previous version used until we figure it out what is happening and how to solve it.
1 parent 3c29220 commit d6db011

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

requirements/pip.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ pyyaml==5.4.1 # pyup: ignore
3131
Pygments==2.10.0
3232

3333
# Basic tools
34-
3534
# Downgrade redis to 3.5.3 (latest 3.x release) because pip raises this error:
3635
# django-redis-cache 2.1.3 depends on redis<4.0
3736
redis==3.5.3 # pyup: ignore
3837

39-
kombu==5.2.2
40-
celery==5.2.2
38+
# Pin celery and kombu because it produces an error
39+
# File "/home/docs/lib/python3.8/site-packages/celery/app/trace.py", line 361, in build_tracer
40+
# push_request = request_stack.push
41+
# AttributeError: 'NoneType' object has no attribute 'push'
42+
# See https://github.com/celery/celery/discussions/7172
43+
kombu==5.1.0 # pyup: ignore
44+
celery==5.1.2 # pyup: ignore
4145

4246
# When upgrading to 0.43.0 we should double check the ``base.html`` change
4347
# described in the changelog. In previous versions, the allauth app included a

0 commit comments

Comments
 (0)