From be55447b50ffde1d2fc97bea6a650214322ad4d3 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Thu, 1 Aug 2024 22:28:44 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/ci.txt | 9 +--- requirements/common_constraints.txt | 8 ++++ requirements/dev.txt | 71 ++++++++--------------------- requirements/pip-tools.txt | 12 +---- requirements/pip.txt | 6 +-- requirements/quality.txt | 65 +++++++------------------- requirements/test.txt | 44 ++++-------------- 7 files changed, 60 insertions(+), 155 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index 959df04c..f9e8c464 100644 --- a/requirements/ci.txt +++ b/requirements/ci.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 # -cachetools==5.3.3 +cachetools==5.4.0 # via tox certifi==2024.7.4 # via requests @@ -42,11 +42,6 @@ pyproject-api==1.7.1 # via tox requests==2.32.3 # via coveralls -tomli==2.0.1 - # via - # coverage - # pyproject-api - # tox tox==4.16.0 # via -r requirements/ci.in urllib3==2.2.2 diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index e3bf8eae..b957ec4c 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -17,6 +17,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 @@ -30,3 +31,10 @@ django-simple-history==3.0.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 8b38741a..742d5836 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 @@ -15,18 +15,13 @@ appdirs==1.4.4 # via fs asgiref==3.8.1 # via django -astroid==3.2.3 +astroid==3.2.4 # via # pylint # pylint-celery backports-tarfile==1.2.0 # via jaraco-context -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django - # djangorestframework -cachetools==5.3.3 +cachetools==5.4.0 # via tox certifi==2024.7.4 # via @@ -69,13 +64,13 @@ coverage[toml]==7.6.0 # pytest-cov coveralls==4.0.1 # via -r requirements/ci.in -cryptography==42.0.8 +cryptography==43.0.0 # via # pyjwt # secretstorage ddt==1.7.2 # via -r requirements/test.in -diff-cover==9.1.0 +diff-cover==9.1.1 # via -r requirements/dev.in dill==0.3.8 # via pylint @@ -118,19 +113,19 @@ dnspython==2.6.1 # pymongo docopt==0.6.2 # via coveralls -docutils==0.20.1 +docutils==0.21.2 # via readme-renderer drf-jwt==1.19.2 # via edx-drf-extensions edx-django-release-util==1.4.0 # via -r requirements/base.in -edx-django-utils==5.14.2 +edx-django-utils==5.15.0 # via # edx-drf-extensions # edx-toggles edx-drf-extensions==10.3.0 # via -r requirements/base.in -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.in edx-opaque-keys==2.10.0 # via edx-drf-extensions @@ -138,11 +133,7 @@ edx-toggles==5.2.0 # via -r requirements/base.in email-validator==2.2.0 # via fastapi -exceptiongroup==1.2.1 - # via - # anyio - # pytest -fastapi==0.111.0 +fastapi==0.111.1 # via pact-python fastapi-cli==0.0.4 # via fastapi @@ -174,8 +165,6 @@ importlib-metadata==6.11.0 # -c requirements/common_constraints.txt # keyring # twine -importlib-resources==6.4.0 - # via keyring iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -186,7 +175,7 @@ jaraco-classes==3.4.0 # via keyring jaraco-context==5.3.0 # via keyring -jaraco-functools==4.0.1 +jaraco-functools==4.0.2 # via keyring jeepney==0.8.0 # via @@ -221,14 +210,12 @@ newrelic==9.12.0 # via edx-django-utils nh3==0.2.18 # via readme-renderer -orjson==3.10.6 - # via fastapi packaging==24.1 # via # pyproject-api # pytest # tox -pact-python==2.2.0 +pact-python==2.2.1 # via -r requirements/test.in pbr==6.0.0 # via stevedore @@ -246,7 +233,7 @@ pluggy==1.5.0 # diff-cover # pytest # tox -psutil==5.9.8 +psutil==6.0.0 # via # edx-django-utils # pact-python @@ -265,11 +252,11 @@ pygments==2.18.0 # diff-cover # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-drf-extensions -pylint==3.2.5 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -291,7 +278,7 @@ pyproject-api==1.7.1 # via tox pysrt==1.1.2 # via -r requirements/base.in -pytest==8.2.2 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -311,7 +298,7 @@ pyyaml==6.0.1 # edx-django-release-util # responses # uvicorn -readme-renderer==43.0 +readme-renderer==44.0 # via twine requests==2.32.3 # via @@ -349,7 +336,7 @@ sniffio==1.3.1 # httpx snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via django starlette==0.37.2 # via fastapi @@ -360,13 +347,6 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pyproject-api - # pytest - # tox tomlkit==0.13.0 # via pylint tox==4.16.0 @@ -377,28 +357,17 @@ typer==0.12.3 # via fastapi-cli typing-extensions==4.12.2 # via - # annotated-types - # anyio - # asgiref - # astroid # edx-opaque-keys # fastapi - # pact-python # pydantic # pydantic-core - # pylint - # rich - # starlette # typer - # uvicorn -ujson==5.10.0 - # via fastapi urllib3==2.2.2 # via # requests # responses # twine -uvicorn[standard]==0.30.1 +uvicorn[standard]==0.30.4 # via # fastapi # pact-python @@ -413,9 +382,7 @@ websockets==12.0 yarl==1.9.4 # via pact-python zipp==3.19.2 - # via - # importlib-metadata - # importlib-resources + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index f577da4d..b544e9f5 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,14 +16,8 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -tomli==2.0.1 - # via - # build - # pip-tools wheel==0.43.0 # via 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/pip.txt b/requirements/pip.txt index e155dab5..54b05719 100644 --- a/requirements/pip.txt +++ b/requirements/pip.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,7 +8,7 @@ wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.1.2 +pip==24.2 # via -r requirements/pip.in -setuptools==70.3.0 +setuptools==72.1.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 9d09df8e..5f6def0e 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 @@ -15,17 +15,12 @@ appdirs==1.4.4 # via fs asgiref==3.8.1 # via django -astroid==3.2.3 +astroid==3.2.4 # via # pylint # pylint-celery backports-tarfile==1.2.0 # via jaraco-context -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django - # djangorestframework certifi==2024.7.4 # via # httpcore @@ -59,7 +54,7 @@ coverage[toml]==7.6.0 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # pyjwt # secretstorage @@ -102,19 +97,19 @@ dnspython==2.6.1 # via # email-validator # pymongo -docutils==0.20.1 +docutils==0.21.2 # via readme-renderer drf-jwt==1.19.2 # via edx-drf-extensions edx-django-release-util==1.4.0 # via -r requirements/base.in -edx-django-utils==5.14.2 +edx-django-utils==5.15.0 # via # edx-drf-extensions # edx-toggles edx-drf-extensions==10.3.0 # via -r requirements/base.in -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.in edx-opaque-keys==2.10.0 # via edx-drf-extensions @@ -122,11 +117,7 @@ edx-toggles==5.2.0 # via -r requirements/base.in email-validator==2.2.0 # via fastapi -exceptiongroup==1.2.1 - # via - # anyio - # pytest -fastapi==0.111.0 +fastapi==0.111.1 # via pact-python fastapi-cli==0.0.4 # via fastapi @@ -154,8 +145,6 @@ importlib-metadata==6.11.0 # -c requirements/common_constraints.txt # keyring # twine -importlib-resources==6.4.0 - # via keyring iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -166,7 +155,7 @@ jaraco-classes==3.4.0 # via keyring jaraco-context==5.3.0 # via keyring -jaraco-functools==4.0.1 +jaraco-functools==4.0.2 # via keyring jeepney==0.8.0 # via @@ -200,11 +189,9 @@ newrelic==9.12.0 # via edx-django-utils nh3==0.2.18 # via readme-renderer -orjson==3.10.6 - # via fastapi packaging==24.1 # via pytest -pact-python==2.2.0 +pact-python==2.2.1 # via -r requirements/test.in pbr==6.0.0 # via stevedore @@ -216,7 +203,7 @@ platformdirs==4.2.2 # via pylint pluggy==1.5.0 # via pytest -psutil==5.9.8 +psutil==6.0.0 # via # edx-django-utils # pact-python @@ -234,11 +221,11 @@ pygments==2.18.0 # via # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-drf-extensions -pylint==3.2.5 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -258,7 +245,7 @@ pynacl==1.5.0 # via edx-django-utils pysrt==1.1.2 # via -r requirements/base.in -pytest==8.2.2 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -278,7 +265,7 @@ pyyaml==6.0.1 # edx-django-release-util # responses # uvicorn -readme-renderer==43.0 +readme-renderer==44.0 # via twine requests==2.32.3 # via @@ -315,7 +302,7 @@ sniffio==1.3.1 # httpx snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via django starlette==0.37.2 # via fastapi @@ -326,11 +313,6 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pytest tomlkit==0.13.0 # via pylint twine==5.1.1 @@ -339,28 +321,17 @@ typer==0.12.3 # via fastapi-cli typing-extensions==4.12.2 # via - # annotated-types - # anyio - # asgiref - # astroid # edx-opaque-keys # fastapi - # pact-python # pydantic # pydantic-core - # pylint - # rich - # starlette # typer - # uvicorn -ujson==5.10.0 - # via fastapi urllib3==2.2.2 # via # requests # responses # twine -uvicorn[standard]==0.30.1 +uvicorn[standard]==0.30.4 # via # fastapi # pact-python @@ -373,9 +344,7 @@ websockets==12.0 yarl==1.9.4 # via pact-python zipp==3.19.2 - # via - # importlib-metadata - # importlib-resources + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/test.txt b/requirements/test.txt index c8cfcffb..82ed9e98 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 @@ -15,11 +15,6 @@ appdirs==1.4.4 # via fs asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django - # djangorestframework certifi==2024.7.4 # via # httpcore @@ -47,7 +42,7 @@ coverage[toml]==7.6.0 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via pyjwt ddt==1.7.2 # via -r requirements/test.in @@ -89,7 +84,7 @@ drf-jwt==1.19.2 # via edx-drf-extensions edx-django-release-util==1.4.0 # via -r requirements/base.in -edx-django-utils==5.14.2 +edx-django-utils==5.15.0 # via # edx-drf-extensions # edx-toggles @@ -101,11 +96,7 @@ edx-toggles==5.2.0 # via -r requirements/base.in email-validator==2.2.0 # via fastapi -exceptiongroup==1.2.1 - # via - # anyio - # pytest -fastapi==0.111.0 +fastapi==0.111.1 # via pact-python fastapi-cli==0.0.4 # via fastapi @@ -148,11 +139,9 @@ multidict==6.0.5 # via yarl newrelic==9.12.0 # via edx-django-utils -orjson==3.10.6 - # via fastapi packaging==24.1 # via pytest -pact-python==2.2.0 +pact-python==2.2.1 # via -r requirements/test.in pbr==6.0.0 # via stevedore @@ -160,7 +149,7 @@ pillow==10.4.0 # via -r requirements/base.in pluggy==1.5.0 # via pytest -psutil==5.9.8 +psutil==6.0.0 # via # edx-django-utils # pact-python @@ -172,7 +161,7 @@ pydantic-core==2.20.1 # via pydantic pygments==2.18.0 # via rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-drf-extensions @@ -182,7 +171,7 @@ pynacl==1.5.0 # via edx-django-utils pysrt==1.1.2 # via -r requirements/base.in -pytest==8.2.2 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -224,7 +213,7 @@ sniffio==1.3.1 # via # anyio # httpx -sqlparse==0.5.0 +sqlparse==0.5.1 # via django starlette==0.37.2 # via fastapi @@ -235,33 +224,20 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pytest typer==0.12.3 # via fastapi-cli typing-extensions==4.12.2 # via - # annotated-types - # anyio - # asgiref # edx-opaque-keys # fastapi - # pact-python # pydantic # pydantic-core - # rich - # starlette # typer - # uvicorn -ujson==5.10.0 - # via fastapi urllib3==2.2.2 # via # requests # responses -uvicorn[standard]==0.30.1 +uvicorn[standard]==0.30.4 # via # fastapi # pact-python