From eb0aa5aa274c4480ff962b54c04968d3a385d2bc Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Wed, 7 Aug 2024 22:20:09 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 30 ++++----- requirements/ci.txt | 14 ++--- requirements/common_constraints.txt | 8 +++ requirements/dev.txt | 94 +++++++++-------------------- requirements/pip-tools.txt | 19 ++---- requirements/pip.txt | 8 +-- requirements/test.txt | 71 ++++++++-------------- 7 files changed, 89 insertions(+), 155 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index e62b946..d95dc3e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,22 +1,18 @@ # -# 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 # asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django -certifi==2024.2.2 +certifi==2024.7.4 # via requests -cffi==1.16.0 +cffi==1.17.0 # via cryptography charset-normalizer==3.3.2 # via requests -cryptography==42.0.5 +cryptography==43.0.0 # via # pyjwt # social-auth-core @@ -24,12 +20,12 @@ defusedxml==0.8.0rc2 # via # python3-openid # social-auth-core -django==4.2.11 +django==4.2.15 # via # -c requirements/common_constraints.txt # -r requirements/base.in # social-auth-app-django -idna==3.6 +idna==3.7 # via requests oauthlib==3.2.2 # via @@ -37,13 +33,13 @@ oauthlib==3.2.2 # social-auth-core pycparser==2.22 # via cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.in # social-auth-core python3-openid==3.2.0 # via social-auth-core -requests==2.31.0 +requests==2.32.3 # via # requests-oauthlib # social-auth-core @@ -51,15 +47,13 @@ requests-oauthlib==2.0.0 # via social-auth-core six==1.16.0 # via -r requirements/base.in -social-auth-app-django==5.4.0 +social-auth-app-django==5.4.2 # via -r requirements/base.in -social-auth-core==4.5.3 +social-auth-core==4.5.4 # via # -r requirements/base.in # social-auth-app-django -sqlparse==0.4.4 +sqlparse==0.5.1 # via django -typing-extensions==4.10.0 - # via asgiref -urllib3==2.2.1 +urllib3==2.2.2 # via requests diff --git a/requirements/ci.txt b/requirements/ci.txt index 5e50065..d86ed4a 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,30 +1,28 @@ # -# 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 # via virtualenv -filelock==3.13.3 +filelock==3.15.4 # via # tox # virtualenv -packaging==24.0 +packaging==24.1 # via tox -platformdirs==4.2.0 +platformdirs==4.2.2 # via virtualenv -pluggy==1.4.0 +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/constraints.txt # -r requirements/ci.in -virtualenv==20.25.1 +virtualenv==20.26.3 # via tox diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index e3bf8ea..b957ec4 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 c754e4b..e9c2ab5 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,25 +12,20 @@ asgiref==3.8.1 # via # -r requirements/test.txt # django -astroid==3.1.0 +astroid==3.2.4 # via # -r requirements/test.txt # pylint # pylint-celery -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/test.txt - # django build==1.2.1 # via # -r requirements/pip-tools.txt # pip-tools -certifi==2024.2.2 +certifi==2024.7.4 # via # -r requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.0 # via # -r requirements/test.txt # cryptography @@ -50,15 +45,15 @@ click-log==0.4.0 # via # -r requirements/test.txt # edx-lint -code-annotations==1.7.0 +code-annotations==1.8.0 # via # -r requirements/test.txt # edx-lint -coverage[toml]==7.4.4 +coverage[toml]==7.6.1 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.5 +cryptography==43.0.0 # via # -r requirements/test.txt # pyjwt @@ -77,7 +72,7 @@ distlib==0.3.8 # -r requirements/ci.txt # -r requirements/test.txt # virtualenv -django==4.2.11 +django==4.2.15 # via # -c requirements/common_constraints.txt # -r requirements/test.txt @@ -85,13 +80,9 @@ django==4.2.11 # social-auth-app-django edx-django-release-util==1.4.0 # via -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.txt -exceptiongroup==1.2.0 - # via - # -r requirements/test.txt - # pytest -filelock==3.13.3 +filelock==3.15.4 # via # -r requirements/ci.txt # -r requirements/test.txt @@ -99,15 +90,10 @@ filelock==3.13.3 # virtualenv httpretty==1.1.4 # via -r requirements/test.txt -idna==3.6 +idna==3.7 # via # -r requirements/test.txt # requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # -r requirements/pip-tools.txt - # build iniconfig==2.0.0 # via # -r requirements/test.txt @@ -116,7 +102,7 @@ isort==5.13.2 # via # -r requirements/test.txt # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/test.txt # code-annotations @@ -137,7 +123,7 @@ oauthlib==3.2.2 # -r requirements/test.txt # requests-oauthlib # social-auth-core -packaging==24.0 +packaging==24.1 # via # -r requirements/ci.txt # -r requirements/pip-tools.txt @@ -151,13 +137,13 @@ pbr==6.0.0 # stevedore pip-tools==7.4.1 # via -r requirements/pip-tools.txt -platformdirs==4.2.0 +platformdirs==4.2.2 # via # -r requirements/ci.txt # -r requirements/test.txt # pylint # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via # -r requirements/ci.txt # -r requirements/test.txt @@ -168,7 +154,7 @@ py==1.11.0 # -r requirements/ci.txt # -r requirements/test.txt # tox -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.txt pycparser==2.22 # via @@ -176,11 +162,11 @@ pycparser==2.22 # cffi pycryptodomex==3.20.0 # via -r requirements/test.txt -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/test.txt # social-auth-core -pylint==3.1.0 +pylint==3.2.6 # via # -r requirements/test.txt # edx-lint @@ -200,12 +186,12 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pyproject-hooks==1.0.0 +pyproject-hooks==1.1.0 # via # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.1.1 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -222,12 +208,12 @@ python3-openid==3.2.0 # via # -r requirements/test.txt # social-auth-core -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations # edx-django-release-util -requests==2.31.0 +requests==2.32.3 # via # -r requirements/test.txt # requests-oauthlib @@ -244,13 +230,13 @@ six==1.16.0 # edx-lint # tox # unittest2 -social-auth-app-django==5.4.0 +social-auth-app-django==5.4.2 # via -r requirements/test.txt -social-auth-core==4.5.3 +social-auth-core==4.5.4 # via # -r requirements/test.txt # social-auth-app-django -sqlparse==0.4.4 +sqlparse==0.5.1 # via # -r requirements/test.txt # django @@ -262,19 +248,7 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/ci.txt - # -r requirements/pip-tools.txt - # -r requirements/test.txt - # build - # coverage - # pip-tools - # pylint - # pyproject-hooks - # pytest - # tox -tomlkit==0.12.4 +tomlkit==0.13.0 # via # -r requirements/test.txt # pylint @@ -287,31 +261,21 @@ traceback2==1.4.0 # via # -r requirements/test.txt # unittest2 -typing-extensions==4.10.0 - # via - # -r requirements/test.txt - # asgiref - # astroid - # pylint unittest2==1.1.0 # via -r requirements/test.txt -urllib3==2.2.1 +urllib3==2.2.2 # via # -r requirements/test.txt # requests -virtualenv==20.25.1 +virtualenv==20.26.3 # via # -r requirements/ci.txt # -r requirements/test.txt # tox -wheel==0.43.0 +wheel==0.44.0 # via # -r requirements/pip-tools.txt # pip-tools -zipp==3.18.1 - # via - # -r requirements/pip-tools.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 6401f54..fedf88d 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,27 +8,16 @@ 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.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.1.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/pip.txt b/requirements/pip.txt index cf44902..7a6ada8 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.2.0 +setuptools==72.1.0 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 2eee0ad..b2abd36 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 @@ -10,20 +10,15 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -astroid==3.1.0 +astroid==3.2.4 # via # pylint # pylint-celery -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # django -certifi==2024.2.2 +certifi==2024.7.4 # via # -r requirements/base.txt # requests -cffi==1.16.0 +cffi==1.17.0 # via # -r requirements/base.txt # cryptography @@ -38,13 +33,13 @@ click==8.1.7 # edx-lint click-log==0.4.0 # via edx-lint -code-annotations==1.7.0 +code-annotations==1.8.0 # via edx-lint -coverage[toml]==7.4.4 +coverage[toml]==7.6.1 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.5 +cryptography==43.0.0 # via # -r requirements/base.txt # pyjwt @@ -65,17 +60,15 @@ distlib==0.3.8 # social-auth-app-django edx-django-release-util==1.4.0 # via -r requirements/test.in -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.in -exceptiongroup==1.2.0 - # via pytest -filelock==3.13.3 +filelock==3.15.4 # via # tox # virtualenv httpretty==1.1.4 # via -r requirements/test.in -idna==3.6 +idna==3.7 # via # -r requirements/base.txt # requests @@ -83,7 +76,7 @@ iniconfig==2.0.0 # via pytest isort==5.13.2 # via pylint -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations linecache2==1.0.0 # via traceback2 @@ -96,23 +89,23 @@ oauthlib==3.2.2 # -r requirements/base.txt # requests-oauthlib # social-auth-core -packaging==24.0 +packaging==24.1 # via # pytest # tox pbr==6.0.0 # via stevedore -platformdirs==4.2.0 +platformdirs==4.2.2 # via # pylint # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via # pytest # tox py==1.11.0 # via tox -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.in pycparser==2.22 # via @@ -120,11 +113,11 @@ pycparser==2.22 # cffi pycryptodomex==3.20.0 # via -r requirements/test.in -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.txt # social-auth-core -pylint==3.1.0 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -138,7 +131,7 @@ pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pytest==8.1.1 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -152,11 +145,11 @@ python3-openid==3.2.0 # via # -r requirements/base.txt # social-auth-core -pyyaml==6.0.1 +pyyaml==6.0.2 # via # code-annotations # edx-django-release-util -requests==2.31.0 +requests==2.32.3 # via # -r requirements/base.txt # requests-oauthlib @@ -172,13 +165,13 @@ six==1.16.0 # edx-lint # tox # unittest2 -social-auth-app-django==5.4.0 +social-auth-app-django==5.4.2 # via -r requirements/base.txt -social-auth-core==4.5.3 +social-auth-core==4.5.4 # via # -r requirements/base.txt # social-auth-app-django -sqlparse==0.4.4 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -186,13 +179,7 @@ stevedore==5.2.0 # via code-annotations text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pytest - # tox -tomlkit==0.12.4 +tomlkit==0.13.0 # via pylint tox==3.28.0 # via @@ -200,17 +187,11 @@ tox==3.28.0 # -r requirements/test.in traceback2==1.4.0 # via unittest2 -typing-extensions==4.10.0 - # via - # -r requirements/base.txt - # asgiref - # astroid - # pylint unittest2==1.1.0 # via -r requirements/test.in -urllib3==2.2.1 +urllib3==2.2.2 # via # -r requirements/base.txt # requests -virtualenv==20.25.1 +virtualenv==20.26.3 # via tox