From afabd590067f05bd676b6da8ba9029df77c9dd15 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 26 Jul 2024 10:31:11 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 23 ++++--------- requirements/celery53.txt | 12 ++----- requirements/ci.txt | 10 ++---- requirements/common_constraints.txt | 8 +++++ requirements/dev.txt | 53 +++++++---------------------- requirements/doc.txt | 47 +++++++------------------ requirements/pip-tools.txt | 12 +------ requirements/quality.txt | 35 ++++++------------- requirements/test.txt | 28 ++++----------- 9 files changed, 61 insertions(+), 167 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index fb597f1..58e246f 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,12 +8,6 @@ amqp==5.2.0 # via kombu asgiref==3.8.1 # via django -backports-zoneinfo[tzdata]==0.2.1 - # via - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via celery celery==5.4.0 @@ -44,7 +38,7 @@ click-repl==0.3.0 # via celery code-annotations==1.8.0 # via edx-toggles -cryptography==42.0.8 +cryptography==43.0.0 # via pyjwt django==4.2.14 # via @@ -124,7 +118,7 @@ kombu==5.3.7 # via celery markupsafe==2.1.5 # via jinja2 -newrelic==9.11.0 +newrelic==9.12.0 # via edx-django-utils packaging==24.1 # via drf-yasg @@ -160,7 +154,7 @@ semantic-version==2.10.0 # via edx-drf-extensions six==1.16.0 # via python-dateutil -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via @@ -170,14 +164,9 @@ stevedore==5.2.0 text-unidecode==1.3 # via python-slugify typing-extensions==4.12.2 - # via - # asgiref - # edx-opaque-keys - # kombu + # via edx-opaque-keys tzdata==2024.1 - # via - # backports-zoneinfo - # celery + # via celery uritemplate==4.1.1 # via drf-yasg urllib3==2.2.2 diff --git a/requirements/celery53.txt b/requirements/celery53.txt index 2e8bc53..828424e 100644 --- a/requirements/celery53.txt +++ b/requirements/celery53.txt @@ -1,15 +1,11 @@ # -# 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 # amqp==5.2.0 # via kombu -backports-zoneinfo[tzdata]==0.2.1 - # via - # celery - # kombu billiard==4.2.0 # via celery celery==5.4.0 @@ -34,12 +30,8 @@ python-dateutil==2.9.0.post0 # via celery six==1.16.0 # via python-dateutil -typing-extensions==4.12.2 - # via kombu tzdata==2024.1 - # via - # backports-zoneinfo - # celery + # via celery vine==5.1.0 # via # amqp diff --git a/requirements/ci.txt b/requirements/ci.txt index f70f206..38c9e48 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,16 +1,16 @@ # -# 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 # -cachetools==5.3.3 +cachetools==5.4.0 # via tox chardet==5.2.0 # via tox colorama==0.4.6 # via tox -coverage==7.5.4 +coverage==7.6.0 # via -r requirements/ci.in distlib==0.3.8 # via virtualenv @@ -30,10 +30,6 @@ pluggy==1.5.0 # via tox pyproject-api==1.7.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox tox==4.16.0 # via -r requirements/ci.in virtualenv==20.26.3 diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 8b0c901..16b6bd8 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -18,6 +18,7 @@ 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 @@ -31,3 +32,10 @@ elasticsearch<7.14.0 # So we need to pin it globally, for now. # Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407 importlib-metadata<7 + +# 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/dev.txt b/requirements/dev.txt index f561b18..49bc26c 100644 --- a/requirements/dev.txt +++ b/requirements/dev.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,7 +12,7 @@ asgiref==3.8.1 # via # -r requirements/quality.txt # django -astroid==3.2.2 +astroid==3.2.4 # via # -r requirements/quality.txt # pylint @@ -21,15 +21,11 @@ backports-tarfile==1.2.0 # via # -r requirements/quality.txt # jaraco-context -backports-zoneinfo==0.2.1 - # via - # -r requirements/quality.txt - # django build==1.2.1 # via # -r requirements/pip-tools.txt # pip-tools -cachetools==5.3.3 +cachetools==5.4.0 # via # -r requirements/ci.txt # tox @@ -71,13 +67,13 @@ colorama==0.4.6 # via # -r requirements/ci.txt # tox -coverage==7.5.4 +coverage==7.6.0 # via -r requirements/ci.txt -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/quality.txt # secretstorage -diff-cover==9.1.0 +diff-cover==9.1.1 # via -r requirements/dev.in dill==0.3.8 # via @@ -92,14 +88,14 @@ django==4.2.14 # -c requirements/common_constraints.txt # -r requirements/quality.txt # edx-i18n-tools -docutils==0.20.1 +docutils==0.21.2 # via # -r requirements/quality.txt # readme-renderer # rstcheck-core edx-i18n-tools==1.6.0 # via -r requirements/dev.in -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.txt filelock==3.15.4 # via @@ -113,16 +109,9 @@ idna==3.7 importlib-metadata==6.11.0 # via # -c requirements/common_constraints.txt - # -r requirements/pip-tools.txt # -r requirements/quality.txt - # build # keyring - # rstcheck-core # twine -importlib-resources==6.4.0 - # via - # -r requirements/quality.txt - # keyring isort==5.13.2 # via # -r requirements/quality.txt @@ -239,7 +228,7 @@ pygments==2.18.0 # diff-cover # readme-renderer # rich -pylint==3.2.5 +pylint==3.2.6 # via # -r requirements/quality.txt # edx-lint @@ -277,7 +266,7 @@ pyyaml==6.0.1 # -r requirements/quality.txt # code-annotations # edx-i18n-tools -readme-renderer==43.0 +readme-renderer==44.0 # via # -r requirements/quality.txt # twine @@ -321,7 +310,7 @@ snowballstemmer==2.2.0 # via # -r requirements/quality.txt # pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/quality.txt # django @@ -333,17 +322,7 @@ text-unidecode==1.3 # via # -r requirements/quality.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/ci.txt - # -r requirements/pip-tools.txt - # -r requirements/quality.txt - # build - # pip-tools - # pylint - # pyproject-api - # tox -tomlkit==0.12.5 +tomlkit==0.13.0 # via # -r requirements/quality.txt # pylint @@ -358,14 +337,8 @@ typer==0.12.3 typing-extensions==4.12.2 # via # -r requirements/quality.txt - # annotated-types - # asgiref - # astroid # pydantic # pydantic-core - # pylint - # rich - # rstcheck-core # typer urllib3==2.2.2 # via @@ -382,10 +355,8 @@ wheel==0.43.0 # pip-tools zipp==3.19.2 # via - # -r requirements/pip-tools.txt # -r requirements/quality.txt # importlib-metadata - # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.txt b/requirements/doc.txt index 898eb91..618caa5 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,10 +1,10 @@ # -# 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 # -alabaster==0.7.13 +alabaster==0.7.16 # via sphinx amqp==5.2.0 # via kombu @@ -12,12 +12,6 @@ asgiref==3.8.1 # via django babel==2.15.0 # via sphinx -backports-zoneinfo[tzdata]==0.2.1 - # via - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via celery celery==5.4.0 @@ -48,7 +42,7 @@ click-repl==0.3.0 # via celery code-annotations==1.8.0 # via edx-toggles -cryptography==42.0.8 +cryptography==43.0.0 # via pyjwt django==4.2.14 # via @@ -130,10 +124,6 @@ idna==3.7 # via requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # sphinx inflection==0.5.1 # via drf-yasg jinja2==3.1.4 @@ -146,7 +136,7 @@ kombu==5.3.7 # via celery markupsafe==2.1.5 # via jinja2 -newrelic==9.11.0 +newrelic==9.12.0 # via edx-django-utils nh3==0.2.18 # via readme-renderer @@ -182,9 +172,7 @@ python-dateutil==2.9.0.post0 python-slugify==8.0.4 # via code-annotations pytz==2024.1 - # via - # babel - # drf-yasg + # via drf-yasg pyyaml==6.0.1 # via # code-annotations @@ -211,21 +199,21 @@ sphinx==5.3.0 # via # -r requirements/doc.in # edx-sphinx-theme -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==1.0.8 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.6 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.0.6 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx sphinxcontrib-napoleon==0.7 # via -r requirements/doc.in -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.8 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==1.1.10 # via sphinx -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via @@ -235,17 +223,10 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via doc8 typing-extensions==4.12.2 - # via - # asgiref - # edx-opaque-keys - # kombu + # via edx-opaque-keys tzdata==2024.1 - # via - # backports-zoneinfo - # celery + # via celery uritemplate==4.1.1 # via drf-yasg urllib3==2.2.2 @@ -257,5 +238,3 @@ vine==5.1.0 # kombu wcwidth==0.2.13 # via prompt-toolkit -zipp==3.19.2 - # via importlib-metadata diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 8289d21..74121f3 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.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,10 +8,6 @@ build==1.2.1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # build packaging==24.1 # via build pip-tools==7.4.1 @@ -20,16 +16,10 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -tomli==2.0.1 - # via - # build - # pip-tools wheel==0.43.0 # via # -r requirements/pip-tools.in # pip-tools -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/quality.txt b/requirements/quality.txt index bfa4b4f..9b939aa 100644 --- a/requirements/quality.txt +++ b/requirements/quality.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,14 +8,12 @@ annotated-types==0.7.0 # via pydantic asgiref==3.8.1 # via django -astroid==3.2.2 +astroid==3.2.4 # via # pylint # pylint-celery backports-tarfile==1.2.0 # via jaraco-context -backports-zoneinfo==0.2.1 - # via django certifi==2024.7.4 # via requests cffi==1.16.0 @@ -32,7 +30,7 @@ click-log==0.4.0 # via edx-lint code-annotations==1.8.0 # via edx-lint -cryptography==42.0.8 +cryptography==43.0.0 # via secretstorage dill==0.3.8 # via pylint @@ -40,11 +38,11 @@ django==4.2.14 # via # -c requirements/common_constraints.txt # -r requirements/quality.in -docutils==0.20.1 +docutils==0.21.2 # via # readme-renderer # rstcheck-core -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.in idna==3.7 # via requests @@ -52,10 +50,7 @@ importlib-metadata==6.11.0 # via # -c requirements/common_constraints.txt # keyring - # rstcheck-core # twine -importlib-resources==6.4.0 - # via keyring isort==5.13.2 # via # -r requirements/quality.in @@ -108,7 +103,7 @@ pygments==2.18.0 # via # readme-renderer # rich -pylint==3.2.5 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -126,7 +121,7 @@ python-slugify==8.0.4 # via code-annotations pyyaml==6.0.1 # via code-annotations -readme-renderer==43.0 +readme-renderer==44.0 # via twine requests==2.32.3 # via @@ -152,15 +147,13 @@ six==1.16.0 # via edx-lint snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via code-annotations text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via pylint -tomlkit==0.12.5 +tomlkit==0.13.0 # via pylint twine==5.1.1 # via -r requirements/quality.in @@ -168,20 +161,12 @@ typer==0.12.3 # via rstcheck typing-extensions==4.12.2 # via - # annotated-types - # asgiref - # astroid # pydantic # pydantic-core - # pylint - # rich - # rstcheck-core # typer urllib3==2.2.2 # via # requests # twine zipp==3.19.2 - # via - # importlib-metadata - # importlib-resources + # via importlib-metadata diff --git a/requirements/test.txt b/requirements/test.txt index f79ac71..5b391a6 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 @@ -11,13 +11,6 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu # via # -r requirements/base.txt # celery @@ -64,9 +57,9 @@ code-annotations==1.8.0 # -r requirements/base.txt # -r requirements/test.in # edx-toggles -coverage[toml]==7.5.4 +coverage[toml]==7.6.0 # via pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/base.txt # pyjwt @@ -147,8 +140,6 @@ edx-opaque-keys==2.10.0 # edx-drf-extensions edx-toggles==5.2.0 # via -r requirements/base.txt -exceptiongroup==1.2.1 - # via pytest idna==3.7 # via # -r requirements/base.txt @@ -176,7 +167,7 @@ markupsafe==2.1.5 # jinja2 mock==5.1.0 # via -r requirements/test.in -newrelic==9.11.0 +newrelic==9.12.0 # via # -r requirements/base.txt # edx-django-utils @@ -216,7 +207,7 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==8.2.2 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -253,7 +244,7 @@ six==1.16.0 # via # -r requirements/base.txt # python-dateutil -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -267,20 +258,13 @@ text-unidecode==1.3 # via # -r requirements/base.txt # python-slugify -tomli==2.0.1 - # via - # coverage - # pytest typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref # edx-opaque-keys - # kombu tzdata==2024.1 # via # -r requirements/base.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via