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

Commit

Permalink
feat!: upgrade requirements using make upgrade
Browse files Browse the repository at this point in the history
celery version needs to be upgrade as facing below error, done it through constraints.txt
2024-04-15 12:36:32 Traceback (most recent call last):
2024-04-15 12:36:32   File "/openedx/venv/bin/celery", line 5, in <module>
2024-04-15 12:36:32     from celery.__main__ import main
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/celery/__init__.py", line 19, in <module>
2024-04-15 12:36:32     from . import local  # noqa
2024-04-15 12:36:32     ^^^^^^^^^^^^^^^^^^^
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/celery/local.py", line 17, in <module>
2024-04-15 12:36:32     from .five import PY3, bytes_if_py2, items, string, string_t
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/celery/five.py", line 7, in <module>
2024-04-15 12:36:32     import vine.five
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/vine/__init__.py", line 8, in <module>
2024-04-15 12:36:32     from .abstract import Thenable
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/vine/abstract.py", line 6, in <module>
2024-04-15 12:36:32     from .five import with_metaclass, Callable
2024-04-15 12:36:32   File "/openedx/venv/lib/python3.12/site-packages/vine/five.py", line 364, in <module>
2024-04-15 12:36:32     from inspect import formatargspec, getargspec as _getargspec  # noqa
2024-04-15 12:36:32     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-04-15 12:36:32 ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/pyenv/versions/3.12.2/lib/python3.12/inspect.py). Did you mean: 'formatargvalues'?
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Apr 15, 2024
1 parent 6785c04 commit 5c62e4b
Show file tree
Hide file tree
Showing 8 changed files with 226 additions and 165 deletions.
89 changes: 54 additions & 35 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,82 +1,101 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
amqp==2.6.1
amqp==5.2.0
# via kombu
asgiref==3.6.0
asgiref==3.8.1
# via django
async-timeout==4.0.2
# via redis
billiard==3.6.4.0
billiard==4.2.0
# via celery
celery==4.4.7
celery==5.3.6
# via
# -c requirements/constraints.txt
# -r requirements/base.in
certifi==2022.12.7
certifi==2024.2.2
# via requests
cffi==1.15.1
cffi==1.16.0
# via pynacl
charset-normalizer==3.1.0
charset-normalizer==3.3.2
# via requests
click==8.1.3
# via edx-django-utils
django==3.2.18
click==8.1.7
# via
# celery
# click-didyoumean
# click-plugins
# click-repl
# edx-django-utils
click-didyoumean==0.3.1
# via celery
click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
django==3.2.25
# via
# -c requirements/common_constraints.txt
# -c requirements/constraints.txt
# django-crum
# django-waffle
# edx-django-utils
django-crum==0.7.9
# via edx-django-utils
django-waffle==3.0.0
django-waffle==4.1.0
# via edx-django-utils
edx-braze-client==0.1.6
edx-braze-client==0.2.3
# via -r requirements/base.in
edx-django-utils==5.4.0
edx-django-utils==5.12.0
# via edx-rest-api-client
edx-rest-api-client==5.5.0
edx-rest-api-client==5.7.0
# via -r requirements/base.in
idna==3.4
idna==3.7
# via requests
kombu==4.6.11
kombu==5.3.7
# via celery
newrelic==8.8.0
newrelic==9.8.0
# via edx-django-utils
pbr==5.11.1
pbr==6.0.0
# via stevedore
psutil==5.9.5
prompt-toolkit==3.0.43
# via click-repl
psutil==5.9.8
# via edx-django-utils
pycparser==2.21
pycparser==2.22
# via cffi
pyjwt==2.6.0
pyjwt==2.8.0
# via edx-rest-api-client
pynacl==1.5.0
# via edx-django-utils
pytz==2023.3
# via
# celery
# django
redis==4.5.4
python-dateutil==2.9.0.post0
# via celery
pytz==2024.1
# via django
redis==5.0.3
# via -r requirements/base.in
requests==2.28.2
requests==2.31.0
# via
# edx-rest-api-client
# slumber
six==1.16.0
# via -r requirements/base.in
# via
# -r requirements/base.in
# python-dateutil
slumber==0.7.1
# via edx-rest-api-client
sqlparse==0.4.4
sqlparse==0.5.0
# via django
stevedore==5.0.0
stevedore==5.2.0
# via edx-django-utils
urllib3==1.26.15
tzdata==2024.1
# via celery
urllib3==2.2.1
# via requests
vine==1.3.0
vine==5.1.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.13
# via prompt-toolkit
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Django<3.3
-c common_constraints.txt

# breaking changes in CLI and dropped support for python3.5 in celery 5.0
celery<5.0
celery<6.0.0
4 changes: 2 additions & 2 deletions requirements/optional.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
newrelic==8.8.0
newrelic==9.8.0
# via -r requirements/optional.in
8 changes: 4 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
wheel==0.40.0
wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==23.1.2
pip==24.0
# via -r requirements/pip.in
setuptools==67.7.2
setuptools==69.5.1
# via -r requirements/pip.in
18 changes: 9 additions & 9 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
build==0.10.0
build==1.2.1
# via pip-tools
click==8.1.3
click==8.1.7
# via pip-tools
packaging==23.1
packaging==24.0
# via build
pip-tools==6.13.0
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
# via build
wheel==0.40.0
# via
# build
# pip-tools
wheel==0.43.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
Loading

0 comments on commit 5c62e4b

Please sign in to comment.