From 97db20780002b08456c483b5445cee95687b57af Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Wed, 9 Oct 2024 21:51:02 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 63 +++++++--------- requirements/common_constraints.txt | 17 +++-- requirements/optional.txt | 4 +- requirements/pip.txt | 8 +-- requirements/pip_tools.txt | 19 ++--- requirements/production.txt | 68 +++++++----------- requirements/test.txt | 107 ++++++++++------------------ requirements/tox.txt | 25 +++---- 8 files changed, 119 insertions(+), 192 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index d25ec9c8..b3760f58 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -8,22 +8,15 @@ amqp==5.2.0 # via kombu asgiref==3.8.1 # via django -async-timeout==4.0.3 - # via redis -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # celery - # kombu -billiard==4.2.0 +billiard==4.2.1 # via celery celery==5.4.0 # via -r requirements/base.in -certifi==2024.2.2 +certifi==2024.8.30 # via requests -cffi==1.16.0 +cffi==1.17.1 # via pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via requests click==8.1.7 # via @@ -49,59 +42,51 @@ django-crum==0.7.9 # via edx-django-utils django-waffle==4.1.0 # via edx-django-utils -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.in -edx-django-utils==5.12.0 +edx-django-utils==6.0.0 # via edx-rest-api-client -edx-rest-api-client==5.7.0 +edx-rest-api-client==6.0.0 # via -r requirements/base.in -idna==3.7 +idna==3.10 # via requests -kombu==5.3.7 +kombu==5.4.2 # via celery -newrelic==9.9.0 +newrelic==10.0.0 # via edx-django-utils -pbr==6.0.0 +pbr==6.1.0 # via stevedore -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.48 # via click-repl -psutil==5.9.8 +psutil==6.0.0 # via edx-django-utils pycparser==2.22 # via cffi -pyjwt==2.8.0 +pyjwt==2.9.0 # via edx-rest-api-client pynacl==1.5.0 # via edx-django-utils python-dateutil==2.9.0.post0 # via celery -pytz==2024.1 +pytz==2024.2 # via django -redis==5.0.3 +redis==5.1.1 # via -r requirements/base.in -requests==2.31.0 - # via - # edx-rest-api-client - # slumber +requests==2.32.3 + # via edx-rest-api-client six==1.16.0 # via # -r requirements/base.in # python-dateutil -slumber==0.7.1 - # via edx-rest-api-client -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -stevedore==5.2.0 +stevedore==5.3.0 # via edx-django-utils -typing-extensions==4.11.0 +tzdata==2024.2 # via - # asgiref - # kombu -tzdata==2024.1 - # via - # backports-zoneinfo # celery -urllib3==2.2.1 + # kombu +urllib3==2.2.3 # via requests vine==5.1.0 # via diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 7e39123f..31879f79 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -13,20 +13,19 @@ # using LTS django version -Django<4.0 +Django<5.0 # elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process. # elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html +# See https://github.com/openedx/edx-platform/issues/35126 for more info elasticsearch<7.14.0 # django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected django-simple-history==3.0.0 -# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos. -# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810 -tox<4.0.0 - -# edx-sphinx-theme is not compatible with latest Sphinx==6.0.0 version -# Pinning Sphinx version unless the compatibility issue gets resolved -# For details, see issue https://github.com/openedx/edx-sphinx-theme/issues/197 -sphinx<6.0.0 +# Cause: https://github.com/openedx/event-tracking/pull/290 +# event-tracking 2.4.1 upgrades to pymongo 4.4.0 which is not supported on edx-platform. +# We will pin event-tracking to do not break existing installations +# This can be unpinned once https://github.com/openedx/edx-platform/issues/34586 +# has been resolved and edx-platform is running with pymongo>=4.4.0 +event-tracking<2.4.1 diff --git a/requirements/optional.txt b/requirements/optional.txt index 2ec89fd2..c89aa490 100644 --- a/requirements/optional.txt +++ b/requirements/optional.txt @@ -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.11 # by the following command: # # make upgrade # -newrelic==9.9.0 +newrelic==10.0.0 # via -r requirements/optional.in diff --git a/requirements/pip.txt b/requirements/pip.txt index e3ffcc7b..36c777e2 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -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.11 # by the following command: # # make upgrade # -wheel==0.43.0 +wheel==0.44.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.0 +pip==24.2 # via -r requirements/pip.in -setuptools==69.5.1 +setuptools==75.1.0 # via -r requirements/pip.in diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index 6659ecd9..81e6fbcc 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -1,32 +1,23 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -build==1.2.1 +build==1.2.2.post1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==7.1.0 - # via build -packaging==24.0 +packaging==24.1 # via build pip-tools==7.4.1 # via -r requirements/pip_tools.in -pyproject-hooks==1.0.0 - # via - # build - # pip-tools -tomli==2.0.1 +pyproject-hooks==1.2.0 # via # build # pip-tools - # pyproject-hooks -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -zipp==3.18.1 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/production.txt b/requirements/production.txt index 5105632e..a35ea230 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -12,31 +12,21 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # celery - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery celery==5.4.0 # via -r requirements/base.txt -certifi==2024.2.2 +certifi==2024.8.30 # via # -r requirements/base.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/base.txt # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -76,35 +66,35 @@ django-waffle==4.1.0 # via # -r requirements/base.txt # edx-django-utils -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.txt -edx-django-utils==5.12.0 +edx-django-utils==6.0.0 # via # -r requirements/base.txt # edx-rest-api-client -edx-rest-api-client==5.7.0 +edx-rest-api-client==6.0.0 # via -r requirements/base.txt -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/base.txt # celery -newrelic==9.9.0 +newrelic==10.0.0 # via # -r requirements/base.txt # edx-django-utils -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/base.txt # stevedore -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.48 # via # -r requirements/base.txt # click-repl -psutil==5.9.8 +psutil==6.0.0 # via # -r requirements/base.txt # edx-django-utils @@ -112,7 +102,7 @@ pycparser==2.22 # via # -r requirements/base.txt # cffi -pyjwt==2.8.0 +pyjwt==2.9.0 # via # -r requirements/base.txt # edx-rest-api-client @@ -124,46 +114,36 @@ python-dateutil==2.9.0.post0 # via # -r requirements/base.txt # celery -pytz==2024.1 +pytz==2024.2 # via # -r requirements/base.txt # django -pyyaml==6.0.1 +pyyaml==6.0.2 # via -r requirements/production.in -redis==5.0.3 +redis==5.1.1 # via -r requirements/base.txt -requests==2.31.0 +requests==2.32.3 # via # -r requirements/base.txt # edx-rest-api-client - # slumber six==1.16.0 # via # -r requirements/base.txt # python-dateutil -slumber==0.7.1 - # via - # -r requirements/base.txt - # edx-rest-api-client -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/base.txt # edx-django-utils -typing-extensions==4.11.0 +tzdata==2024.2 # via # -r requirements/base.txt - # asgiref - # kombu -tzdata==2024.1 - # via - # -r requirements/base.txt - # backports-zoneinfo # celery -urllib3==2.2.1 + # kombu +urllib3==2.2.3 # via # -r requirements/base.txt # requests diff --git a/requirements/test.txt b/requirements/test.txt index 5ace49cf..05ae173d 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -12,36 +12,26 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -astroid==3.1.0 +astroid==3.3.5 # via # -r requirements/test.in # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # celery - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery celery==5.4.0 # via -r requirements/base.txt -certifi==2024.2.2 +certifi==2024.8.30 # via # -r requirements/base.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/base.txt # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -72,13 +62,13 @@ click-repl==0.3.0 # celery code-annotations==1.8.0 # via edx-lint -coverage[toml]==7.4.4 +coverage[toml]==7.6.2 # via # -r requirements/test.in # pytest-cov ddt==1.7.2 # via -r requirements/test.in -dill==0.3.8 +dill==0.3.9 # via pylint # via # -c requirements/common_constraints.txt @@ -95,19 +85,17 @@ django-waffle==4.1.0 # via # -r requirements/base.txt # edx-django-utils -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.txt -edx-django-utils==5.12.0 +edx-django-utils==6.0.0 # via # -r requirements/base.txt # edx-rest-api-client -edx-lint==5.3.6 +edx-lint==5.4.0 # via -r requirements/test.in -edx-rest-api-client==5.7.0 +edx-rest-api-client==6.0.0 # via -r requirements/base.txt -exceptiongroup==1.2.1 - # via pytest -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests @@ -115,51 +103,51 @@ iniconfig==2.0.0 # via pytest isort==5.13.2 # via pylint -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/base.txt # celery -markupsafe==2.1.5 +markupsafe==3.0.1 # via jinja2 mccabe==0.7.0 # via pylint mock==5.1.0 # via -r requirements/test.in -newrelic==9.9.0 +newrelic==10.0.0 # via # -r requirements/base.txt # edx-django-utils -packaging==24.0 +packaging==24.1 # via pytest -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/base.txt # stevedore -platformdirs==4.2.0 +platformdirs==4.3.6 # via pylint -pluggy==1.4.0 +pluggy==1.5.0 # via pytest -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.48 # via # -r requirements/base.txt # click-repl -psutil==5.9.8 +psutil==6.0.0 # via # -r requirements/base.txt # edx-django-utils -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.in pycparser==2.22 # via # -r requirements/base.txt # cffi -pyjwt==2.8.0 +pyjwt==2.9.0 # via # -r requirements/base.txt # edx-rest-api-client -pylint==3.1.0 +pylint==3.3.1 # via # -r requirements/test.in # edx-lint @@ -181,7 +169,7 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==8.1.1 +pytest==8.3.3 # via # -r requirements/test.in # pytest-cov @@ -193,66 +181,49 @@ python-dateutil==2.9.0.post0 # celery python-slugify==8.0.4 # via code-annotations -pytz==2024.1 +pytz==2024.2 # via # -r requirements/base.txt # django -pyyaml==6.0.1 +pyyaml==6.0.2 # via # code-annotations # responses -redis==5.0.3 +redis==5.1.1 # via -r requirements/base.txt -requests==2.31.0 +requests==2.32.3 # via # -r requirements/base.txt # edx-rest-api-client # responses - # slumber -responses==0.25.0 +responses==0.25.3 # via -r requirements/test.in six==1.16.0 # via # -r requirements/base.txt # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/base.txt - # edx-rest-api-client -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/base.txt # code-annotations # edx-django-utils -testfixtures==8.1.0 +testfixtures==8.3.0 # via -r requirements/test.in text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pytest -tomlkit==0.12.4 +tomlkit==0.13.2 # via pylint -typing-extensions==4.11.0 +tzdata==2024.2 # via # -r requirements/base.txt - # asgiref - # astroid - # kombu - # pylint -tzdata==2024.1 - # via - # -r requirements/base.txt - # backports-zoneinfo # celery -urllib3==2.2.1 + # kombu +urllib3==2.2.3 # via # -r requirements/base.txt # requests diff --git a/requirements/tox.txt b/requirements/tox.txt index c4c81245..f1f42682 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -1,33 +1,34 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -distlib==0.3.8 +distlib==0.3.9 # via virtualenv -filelock==3.13.4 +filelock==3.16.1 # via # tox # virtualenv -packaging==24.0 - # via tox -platformdirs==4.2.0 - # via virtualenv -pluggy==1.4.0 +packaging==24.1 + # via + # pyproject-api + # tox +platformdirs==4.3.6 + # via + # tox + # virtualenv +pluggy==1.5.0 # via tox py==1.11.0 # via tox six==1.16.0 # via tox -tomli==2.0.1 - # via tox tox==3.28.0 # via - # -c requirements/common_constraints.txt # -r requirements/tox.in # tox-battery tox-battery==0.6.2 # via -r requirements/tox.in -virtualenv==20.25.3 +virtualenv==20.26.6 # via tox