From 55b561e409568c4286fd6743b5d7d36dd8c9e495 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 16 Aug 2024 00:05:13 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 47 +++++----- requirements/common_constraints.txt | 15 ++- requirements/dev.txt | 139 +++++++++++----------------- requirements/docs.txt | 48 ++++------ requirements/pip-tools.txt | 19 +--- requirements/pip.txt | 8 +- requirements/test.txt | 93 ++++++++----------- 7 files changed, 149 insertions(+), 220 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 91ff0b3..c18b0dd 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,19 +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 # asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django - # djangorestframework -certifi==2024.2.2 +certifi==2024.7.4 # via requests -cffi==1.16.0 +cffi==1.17.0 # via # cryptography # pynacl @@ -21,9 +16,9 @@ charset-normalizer==3.3.2 # via requests click==8.1.7 # via edx-django-utils -cryptography==42.0.5 +cryptography==43.0.0 # via pyjwt -django==4.2.11 +django==4.2.15 # via # -c requirements/common_constraints.txt # -r requirements/base.in @@ -38,47 +33,47 @@ django-waffle==4.1.0 # via # -r requirements/base.in # edx-django-utils -djangorestframework==3.15.1 +djangorestframework==3.15.2 # via # -r requirements/base.in # drf-jwt +dnspython==2.6.1 + # via pymongo drf-jwt==1.19.2 # via -r requirements/base.in -edx-django-utils==5.11.0 +edx-django-utils==5.15.0 # via -r requirements/base.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.10.0 # via -r requirements/base.in -idna==3.6 +idna==3.7 # via requests -newrelic==9.8.0 +newrelic==9.13.0 # via edx-django-utils pbr==6.0.0 # via stevedore -psutil==5.9.8 +psutil==6.0.0 # via edx-django-utils -pycparser==2.21 +pycparser==2.22 # via cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.in # drf-jwt -pymongo==3.13.0 +pymongo==4.8.0 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils -requests==2.31.0 +requests==2.32.3 # via -r requirements/base.in semantic-version==2.10.0 # via -r requirements/base.in -sqlparse==0.4.4 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via # edx-django-utils # edx-opaque-keys -typing-extensions==4.10.0 - # via - # asgiref - # edx-opaque-keys -urllib3==2.2.1 +typing-extensions==4.12.2 + # via edx-opaque-keys +urllib3==2.2.2 # via requests diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index e3bf8ea..31879f7 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -17,16 +17,15 @@ 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 -# opentelemetry requires version 6.x at the moment: -# https://github.com/open-telemetry/opentelemetry-python/issues/3570 -# Normally this could be added as a constraint in edx-django-utils, where we're -# adding the opentelemetry dependency. However, when we compile pip-tools.txt, -# that uses version 7.x, and then there's no undoing that when compiling base.txt. -# 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 ecd0f8d..8588bb1 100644 --- a/requirements/dev.txt +++ b/requirements/dev.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 # -accessible-pygments==0.0.4 +accessible-pygments==0.0.5 # via # -r requirements/docs.txt # pydata-sphinx-theme -alabaster==0.7.13 +alabaster==0.7.16 # via # -r requirements/docs.txt # sphinx @@ -17,38 +17,31 @@ asgiref==3.8.1 # -r requirements/base.txt # -r requirements/test.txt # django -astroid==3.1.0 +astroid==3.2.4 # via # -r requirements/test.txt # pylint # pylint-celery -babel==2.14.0 +babel==2.16.0 # via # -r requirements/docs.txt # pydata-sphinx-theme # sphinx -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # -r requirements/test.txt - # django - # djangorestframework beautifulsoup4==4.12.3 # via # -r requirements/docs.txt # pydata-sphinx-theme -cachetools==5.3.3 +cachetools==5.4.0 # via # -r requirements/test.txt # tox -certifi==2024.2.2 +certifi==2024.7.4 # via # -r requirements/base.txt # -r requirements/docs.txt # -r requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.0 # via # -r requirements/base.txt # -r requirements/test.txt @@ -76,7 +69,7 @@ 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 @@ -84,11 +77,11 @@ colorama==0.4.6 # via # -r requirements/test.txt # tox -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/base.txt # -r requirements/test.txt @@ -103,7 +96,7 @@ distlib==0.3.8 # via # -r requirements/test.txt # virtualenv -django==4.2.11 +django==4.2.15 # via # -c requirements/common_constraints.txt # -r requirements/base.txt @@ -123,11 +116,16 @@ django-waffle==4.1.0 # -r requirements/base.txt # -r requirements/test.txt # edx-django-utils -djangorestframework==3.15.1 +djangorestframework==3.15.2 # via # -r requirements/base.txt # -r requirements/test.txt # drf-jwt +dnspython==2.6.1 + # via + # -r requirements/base.txt + # -r requirements/test.txt + # pymongo docutils==0.19 # via # -r requirements/docs.txt @@ -137,34 +135,30 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # -r requirements/test.txt -edx-django-utils==5.11.0 +edx-django-utils==5.15.0 # via # -r requirements/base.txt # -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.txt -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.10.0 # via # -r requirements/base.txt # -r requirements/test.txt -exceptiongroup==1.2.0 - # via - # -r requirements/test.txt - # pytest factory-boy==2.12.0 # via -r requirements/test.txt -faker==24.4.0 +faker==27.0.0 # via # -r requirements/test.txt # factory-boy -filelock==3.13.3 +filelock==3.15.4 # via # -r requirements/test.txt # tox # virtualenv httpretty==1.1.4 # via -r requirements/test.txt -idna==3.6 +idna==3.7 # via # -r requirements/base.txt # -r requirements/docs.txt @@ -174,11 +168,6 @@ imagesize==1.4.1 # via # -r requirements/docs.txt # sphinx -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # -r requirements/docs.txt - # sphinx iniconfig==2.0.0 # via # -r requirements/test.txt @@ -187,7 +176,7 @@ isort==5.13.2 # via # -r requirements/test.txt # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/docs.txt # -r requirements/test.txt @@ -202,12 +191,12 @@ mccabe==0.7.0 # via # -r requirements/test.txt # pylint -newrelic==9.8.0 +newrelic==9.13.0 # via # -r requirements/base.txt # -r requirements/test.txt # edx-django-utils -packaging==24.0 +packaging==24.1 # via # -r requirements/docs.txt # -r requirements/test.txt @@ -221,45 +210,45 @@ pbr==6.0.0 # -r requirements/base.txt # -r requirements/test.txt # stevedore -platformdirs==4.2.0 +platformdirs==4.2.2 # via # -r requirements/test.txt # pylint # tox # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via # -r requirements/test.txt # pytest # tox -psutil==5.9.8 +psutil==6.0.0 # via # -r requirements/base.txt # -r requirements/test.txt # edx-django-utils -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.txt -pycparser==2.21 +pycparser==2.22 # via # -r requirements/base.txt # -r requirements/test.txt # cffi -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.4 # via # -r requirements/docs.txt # sphinx-book-theme -pygments==2.17.2 +pygments==2.18.0 # via # -r requirements/docs.txt # accessible-pygments # pydata-sphinx-theme # sphinx -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.txt # -r requirements/test.txt # drf-jwt -pylint==3.1.0 +pylint==3.2.6 # via # -r requirements/test.txt # edx-lint @@ -279,7 +268,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==3.13.0 +pymongo==4.8.0 # via # -r requirements/base.txt # -r requirements/test.txt @@ -289,11 +278,11 @@ pynacl==1.5.0 # -r requirements/base.txt # -r requirements/test.txt # edx-django-utils -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via # -r requirements/test.txt # tox -pytest==8.1.1 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -310,15 +299,11 @@ python-slugify==8.0.4 # via # -r requirements/test.txt # code-annotations -pytz==2024.1 - # via - # -r requirements/docs.txt - # babel -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations -requests==2.31.0 +requests==2.32.3 # via # -r requirements/base.txt # -r requirements/docs.txt @@ -337,7 +322,7 @@ snowballstemmer==2.2.0 # via # -r requirements/docs.txt # sphinx -soupsieve==2.5 +soupsieve==2.6 # via # -r requirements/docs.txt # beautifulsoup4 @@ -347,17 +332,17 @@ sphinx==5.3.0 # -r requirements/docs.txt # pydata-sphinx-theme # sphinx-book-theme -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.3 # via -r requirements/docs.txt -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==2.0.0 # via # -r requirements/docs.txt # sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via # -r requirements/docs.txt # sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.1.0 # via # -r requirements/docs.txt # sphinx @@ -365,15 +350,15 @@ sphinxcontrib-jsmath==1.0.1 # via # -r requirements/docs.txt # sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via # -r requirements/docs.txt # sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via # -r requirements/docs.txt # sphinx -sqlparse==0.4.4 +sqlparse==0.5.1 # via # -r requirements/base.txt # -r requirements/test.txt @@ -389,42 +374,26 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/test.txt - # coverage - # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.4 +tomlkit==0.13.2 # via # -r requirements/test.txt # pylint -tox==4.14.2 +tox==4.18.0 # via -r requirements/test.txt -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -r requirements/base.txt # -r requirements/docs.txt # -r requirements/test.txt - # asgiref - # astroid # edx-opaque-keys - # faker # pydata-sphinx-theme - # pylint -urllib3==2.2.1 +urllib3==2.2.2 # via # -r requirements/base.txt # -r requirements/docs.txt # -r requirements/test.txt # requests -virtualenv==20.25.1 +virtualenv==20.26.3 # via # -r requirements/test.txt # tox -zipp==3.18.1 - # via - # -r requirements/docs.txt - # importlib-metadata diff --git a/requirements/docs.txt b/requirements/docs.txt index 15bf0ef..d13ef8e 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,20 +1,20 @@ # -# 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 # -accessible-pygments==0.0.4 +accessible-pygments==0.0.5 # via pydata-sphinx-theme -alabaster==0.7.13 +alabaster==0.7.16 # via sphinx -babel==2.14.0 +babel==2.16.0 # via # pydata-sphinx-theme # sphinx beautifulsoup4==4.12.3 # via pydata-sphinx-theme -certifi==2024.2.2 +certifi==2024.7.4 # via # -c requirements/test.txt # requests @@ -26,17 +26,13 @@ docutils==0.19 # via # pydata-sphinx-theme # sphinx -idna==3.6 +idna==3.7 # via # -c requirements/test.txt # requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # sphinx -jinja2==3.1.3 +jinja2==3.1.4 # via # -c requirements/test.txt # sphinx @@ -44,27 +40,25 @@ markupsafe==2.1.5 # via # -c requirements/test.txt # jinja2 -packaging==24.0 +packaging==24.1 # via # -c requirements/test.txt # pydata-sphinx-theme # sphinx -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.4 # via sphinx-book-theme -pygments==2.17.2 +pygments==2.18.0 # via # accessible-pygments # pydata-sphinx-theme # sphinx -pytz==2024.1 - # via babel -requests==2.31.0 +requests==2.32.3 # via # -c requirements/test.txt # sphinx snowballstemmer==2.2.0 # via sphinx -soupsieve==2.5 +soupsieve==2.6 # via beautifulsoup4 sphinx==5.3.0 # via @@ -72,27 +66,25 @@ sphinx==5.3.0 # -r requirements/docs.in # pydata-sphinx-theme # sphinx-book-theme -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.3 # via -r requirements/docs.in -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -c requirements/test.txt # pydata-sphinx-theme -urllib3==2.2.1 +urllib3==2.2.2 # via # -c requirements/test.txt # requests -zipp==3.18.1 - # via importlib-metadata 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..5f8b9c0 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.2.0 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 37987dc..ff1164f 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 @@ -8,23 +8,17 @@ 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 - # djangorestframework -cachetools==5.3.3 +cachetools==5.4.0 # via tox -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 @@ -44,15 +38,15 @@ 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 colorama==0.4.6 # via tox -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 @@ -81,27 +75,29 @@ django-waffle==4.1.0 # via # -r requirements/base.txt # drf-jwt +dnspython==2.6.1 + # via + # -r requirements/base.txt + # pymongo drf-jwt==1.19.2 # via -r requirements/base.txt -edx-django-utils==5.11.0 +edx-django-utils==5.15.0 # via -r requirements/base.txt -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.10.0 # via -r requirements/base.txt -exceptiongroup==1.2.0 - # via pytest factory-boy==2.12.0 # via -r requirements/test.in -faker==24.4.0 +faker==27.0.0 # via factory-boy -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 @@ -111,17 +107,17 @@ isort==5.13.2 # via # -r requirements/test.in # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations markupsafe==2.1.5 # via jinja2 mccabe==0.7.0 # via pylint -newrelic==9.8.0 +newrelic==9.13.0 # via # -r requirements/base.txt # edx-django-utils -packaging==24.0 +packaging==24.1 # via # pyproject-api # pytest @@ -130,30 +126,30 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -platformdirs==4.2.0 +platformdirs==4.2.2 # via # pylint # tox # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via # pytest # tox -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.21 +pycparser==2.22 # via # -r requirements/base.txt # cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.txt # drf-jwt -pylint==3.1.0 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -167,7 +163,7 @@ pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pymongo==3.13.0 +pymongo==4.8.0 # via # -r requirements/base.txt # edx-opaque-keys @@ -175,9 +171,9 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox -pytest==8.1.1 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -189,9 +185,9 @@ python-dateutil==2.9.0.post0 # via faker python-slugify==8.0.4 # via code-annotations -pyyaml==6.0.1 +pyyaml==6.0.2 # via code-annotations -requests==2.31.0 +requests==2.32.3 # via -r requirements/base.txt semantic-version==2.10.0 # via -r requirements/base.txt @@ -199,7 +195,7 @@ six==1.16.0 # via # edx-lint # python-dateutil -sqlparse==0.4.4 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -211,28 +207,17 @@ 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.12.4 +tomlkit==0.13.2 # via pylint -tox==4.14.2 +tox==4.18.0 # via -r requirements/test.in -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # astroid # edx-opaque-keys - # faker - # pylint -urllib3==2.2.1 +urllib3==2.2.2 # via # -r requirements/base.txt # requests -virtualenv==20.25.1 +virtualenv==20.26.3 # via tox