Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: update celery package constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Mar 4, 2024
1 parent 5e18e55 commit 56d8b6c
Show file tree
Hide file tree
Showing 8 changed files with 258 additions and 54 deletions.
43 changes: 33 additions & 10 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
amqp==2.6.1
amqp==5.2.0
# via kombu
analytics-python==1.4.post1
# via -r requirements/base.in
Expand All @@ -17,13 +17,15 @@ async-timeout==4.0.3
# via redis
backoff==1.10.0
# via analytics-python
backports-zoneinfo==0.2.1 ; python_version < "3.9"
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# celery
# django
billiard==3.6.4.0
# kombu
billiard==4.2.0
# via celery
celery==4.4.7
celery==5.3.6
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand All @@ -37,7 +39,18 @@ cffi==1.16.0
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via edx-django-utils
# via
# celery
# click-didyoumean
# click-plugins
# click-repl
# edx-django-utils
click-didyoumean==0.3.0
# via celery
click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
cryptography==42.0.5
# via
# pyjwt
Expand All @@ -49,7 +62,6 @@ defusedxml==0.8.0rc2
django==4.2.11
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/base.in
# django-cors-headers
# django-crum
Expand Down Expand Up @@ -132,7 +144,7 @@ idna==3.6
# via requests
inflection==0.5.1
# via drf-yasg
kombu==4.6.11
kombu==5.3.5
# via celery
monotonic==1.6
# via analytics-python
Expand All @@ -148,6 +160,8 @@ packaging==23.2
# via drf-yasg
pbr==6.0.0
# via stevedore
prompt-toolkit==3.0.43
# via click-repl
psutil==5.9.8
# via edx-django-utils
pycparser==2.21
Expand All @@ -164,7 +178,9 @@ pymongo==3.13.0
pynacl==1.5.0
# via edx-django-utils
python-dateutil==2.9.0.post0
# via analytics-python
# via
# analytics-python
# celery
python-slugify==4.0.1
# via
# -c requirements/constraints.txt
Expand All @@ -174,7 +190,6 @@ python3-openid==3.2.0
pytz==2024.1
# via
# -r requirements/base.in
# celery
# djangorestframework
# drf-yasg
pyyaml==6.0.1
Expand Down Expand Up @@ -223,13 +238,21 @@ typing-extensions==4.10.0
# via
# asgiref
# edx-opaque-keys
# kombu
tzdata==2024.1
# via
# backports-zoneinfo
# celery
uritemplate==4.1.1
# via drf-yasg
urllib3==1.26.18
# via
# -c requirements/constraints.txt
# requests
vine==1.3.0
vine==5.1.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.13
# via prompt-toolkit
5 changes: 5 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# This is a temporary solution to override the real common_constraints.txt
# In edx-lint, until the pyjwt constraint in edx-lint has been removed.
# See BOM-2721 for more details.
# Below is the copied and edited version of common_constraints

# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
Expand Down
7 changes: 2 additions & 5 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
# Common constraints for edx repos
-c common_constraints.txt

# This constraint can be removed once global constraint is updated.
Django<4.3

# Version 3.2.0 contains bad arabic translations that will cause validation tests to fail
django-extensions<3.2.0

# django-storages version 1.10.1 is major upgrade.
django-storages==1.10.1

# From base.in
celery<5.0 # version 5.0 drops support for python 3.5
# version being used in edx-platform right now
celery>=5.2.2,<6.0.0


code-annotations>=0.3.1 # Pinned to avoid pyyaml security alerts. (https://github.com/openedx/registrar/pull/42)
Expand Down
48 changes: 40 additions & 8 deletions requirements/devstack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ alabaster==0.7.13
# via
# -r requirements/local.txt
# sphinx
amqp==2.6.1
amqp==5.2.0
# via
# -r requirements/local.txt
# kombu
Expand Down Expand Up @@ -42,15 +42,17 @@ backoff==1.10.0
# via
# -r requirements/local.txt
# analytics-python
backports-zoneinfo==0.2.1 ; python_version < "3.9"
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -r requirements/local.txt
# celery
# django
# kombu
beautifulsoup4==4.12.3
# via
# -r requirements/local.txt
# pydata-sphinx-theme
billiard==3.6.4.0
billiard==4.2.0
# via
# -r requirements/local.txt
# celery
Expand All @@ -69,7 +71,7 @@ cachetools==5.3.3
# via
# -r requirements/local.txt
# tox
celery==4.4.7
celery==5.3.6
# via
# -c requirements/constraints.txt
# -r requirements/local.txt
Expand All @@ -94,14 +96,30 @@ charset-normalizer==3.3.2
click==8.1.7
# via
# -r requirements/local.txt
# celery
# click-didyoumean
# click-log
# click-plugins
# click-repl
# code-annotations
# edx-django-utils
# edx-lint
click-didyoumean==0.3.0
# via
# -r requirements/local.txt
# celery
click-log==0.4.0
# via
# -r requirements/local.txt
# edx-lint
click-plugins==1.1.1
# via
# -r requirements/local.txt
# celery
click-repl==0.3.0
# via
# -r requirements/local.txt
# celery
code-annotations==1.6.0
# via
# -c requirements/constraints.txt
Expand Down Expand Up @@ -143,7 +161,6 @@ distlib==0.3.8
django==4.2.11
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/local.txt
# django-cors-headers
# django-crum
Expand Down Expand Up @@ -297,7 +314,7 @@ jmespath==1.0.1
# -r requirements/local.txt
# boto3
# botocore
kombu==4.6.11
kombu==5.3.5
# via
# -r requirements/local.txt
# celery
Expand Down Expand Up @@ -372,6 +389,10 @@ polib==1.2.0
# via
# -r requirements/local.txt
# edx-i18n-tools
prompt-toolkit==3.0.43
# via
# -r requirements/local.txt
# click-repl
psutil==5.9.8
# via
# -r requirements/local.txt
Expand Down Expand Up @@ -448,6 +469,7 @@ python-dateutil==2.9.0.post0
# -r requirements/local.txt
# analytics-python
# botocore
# celery
# faker
# freezegun
# moto
Expand All @@ -467,7 +489,6 @@ pytz==2024.1
# via
# -r requirements/local.txt
# babel
# celery
# djangorestframework
# drf-yasg
pywatchman==2.0.0
Expand Down Expand Up @@ -629,8 +650,14 @@ typing-extensions==4.10.0
# astroid
# edx-opaque-keys
# faker
# kombu
# pydata-sphinx-theme
# pylint
tzdata==2024.1
# via
# -r requirements/local.txt
# backports-zoneinfo
# celery
uritemplate==4.1.1
# via
# -r requirements/local.txt
Expand All @@ -642,15 +669,20 @@ urllib3==1.26.18
# botocore
# requests
# responses
vine==1.3.0
vine==5.1.0
# via
# -r requirements/local.txt
# amqp
# celery
# kombu
virtualenv==20.25.1
# via
# -r requirements/local.txt
# tox
wcwidth==0.2.13
# via
# -r requirements/local.txt
# prompt-toolkit
werkzeug==3.0.1
# via
# -r requirements/local.txt
Expand Down
Loading

0 comments on commit 56d8b6c

Please sign in to comment.