From 21480aa16a6e6e9815ed0668e2e0745ad739e890 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Tue, 13 Aug 2024 01:02:49 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 22 +++---- requirements/ci.txt | 8 +-- requirements/common_constraints.txt | 14 ++--- requirements/dev.txt | 98 ++++++++++------------------- requirements/pip-tools.txt | 18 ++---- requirements/pip.txt | 8 +-- requirements/test.txt | 72 ++++++++------------- 7 files changed, 82 insertions(+), 158 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 6ba97f1..c9a4fc0 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,24 +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 # asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django -certifi==2024.6.2 +certifi==2024.7.4 # via requests -cffi==1.16.0 +cffi==1.17.0 # via pynacl charset-normalizer==3.3.2 # via requests click==8.1.7 # via edx-django-utils -django==4.2.13 +django==4.2.15 # via # -c requirements/common_constraints.txt # django-crum @@ -28,11 +24,11 @@ django-crum==0.7.9 # via edx-django-utils django-waffle==4.1.0 # via edx-django-utils -edx-django-utils==5.14.2 +edx-django-utils==5.15.0 # via -r requirements/base.in idna==3.7 # via requests -newrelic==9.11.0 +newrelic==9.13.0 # via edx-django-utils pbr==6.0.0 # via stevedore @@ -40,7 +36,7 @@ psutil==6.0.0 # via edx-django-utils pycparser==2.22 # via cffi -pyjwt==2.8.0 +pyjwt==2.9.0 # via -r requirements/base.in pynacl==1.5.0 # via edx-django-utils @@ -50,11 +46,9 @@ requests==2.32.3 # slumber slumber==0.7.1 # via -r requirements/base.in -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via edx-django-utils -typing-extensions==4.12.2 - # via asgiref urllib3==2.2.2 # via requests diff --git a/requirements/ci.txt b/requirements/ci.txt index 8d922db..580d329 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 chardet==5.2.0 # via tox @@ -29,10 +29,6 @@ pluggy==1.5.0 # via tox pyproject-api==1.6.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox tox==4.15.1 # via -r requirements/ci.in virtualenv==20.26.3 diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 22beac8..5ba9104 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -22,15 +22,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 +# 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 f425b2c..11969c7 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 @@ -8,7 +8,7 @@ asgiref==3.8.1 # via # -r requirements/test.txt # django -astroid==3.2.2 +astroid==3.2.4 # via # -r requirements/test.txt # pylint @@ -17,11 +17,6 @@ backports-tarfile==1.2.0 # via # -r requirements/test.txt # jaraco-context -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 @@ -30,11 +25,11 @@ cachetools==5.3.3 # via # -r requirements/ci.txt # tox -certifi==2024.6.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 @@ -68,11 +63,11 @@ colorama==0.4.6 # via # -r requirements/ci.txt # tox -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/test.txt # secretstorage @@ -86,7 +81,7 @@ distlib==0.3.8 # via # -r requirements/ci.txt # virtualenv -django==4.2.13 +django==4.2.15 # via # -c requirements/common_constraints.txt # -r requirements/test.txt @@ -101,19 +96,15 @@ django-waffle==4.1.0 # via # -r requirements/test.txt # edx-django-utils -docutils==0.20.1 +docutils==0.21.2 # via # -r requirements/test.txt # readme-renderer -edx-django-utils==5.14.2 +edx-django-utils==5.15.0 # via -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.txt -exceptiongroup==1.2.1 - # via - # -r requirements/test.txt - # pytest -filelock==3.14.0 +filelock==3.15.4 # via # -r requirements/ci.txt # tox @@ -124,17 +115,11 @@ idna==3.7 # via # -r requirements/test.txt # requests -importlib-metadata==7.2.1 +importlib-metadata==8.2.0 # via - # -r requirements/pip-tools.txt # -r requirements/test.txt - # build # keyring # twine -importlib-resources==6.4.0 - # via - # -r requirements/test.txt - # keyring iniconfig==2.0.0 # via # -r requirements/test.txt @@ -151,7 +136,7 @@ jaraco-context==5.3.0 # via # -r requirements/test.txt # keyring -jaraco-functools==4.0.1 +jaraco-functools==4.0.2 # via # -r requirements/test.txt # keyring @@ -164,7 +149,7 @@ jinja2==3.1.4 # via # -r requirements/test.txt # code-annotations -keyring==25.2.1 +keyring==25.3.0 # via # -r requirements/test.txt # twine @@ -184,16 +169,16 @@ mdurl==0.1.2 # via # -r requirements/test.txt # markdown-it-py -more-itertools==10.3.0 +more-itertools==10.4.0 # via # -r requirements/test.txt # jaraco-classes # jaraco-functools -newrelic==9.11.0 +newrelic==9.13.0 # via # -r requirements/test.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via # -r requirements/test.txt # readme-renderer @@ -213,7 +198,7 @@ pbr==6.0.0 # stevedore pip-tools==7.4.1 # via -r requirements/pip-tools.txt -pkginfo==1.11.1 +pkginfo==1.10.0 # via # -r requirements/test.txt # twine @@ -234,7 +219,7 @@ psutil==6.0.0 # via # -r requirements/test.txt # edx-django-utils -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/test.txt pycparser==2.22 # via @@ -245,9 +230,9 @@ pygments==2.18.0 # -r requirements/test.txt # readme-renderer # rich -pyjwt==2.8.0 +pyjwt==2.9.0 # via -r requirements/test.txt -pylint==3.2.3 +pylint==3.2.6 # via # -r requirements/test.txt # edx-lint @@ -280,7 +265,7 @@ pyproject-hooks==1.1.0 # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.2.2 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -297,12 +282,12 @@ python-slugify==8.0.4 # via # -r requirements/test.txt # code-annotations -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations # responses -readme-renderer==43.0 +readme-renderer==44.0 # via # -r requirements/test.txt # twine @@ -338,7 +323,7 @@ six==1.16.0 # python-dateutil slumber==0.7.1 # via -r requirements/test.txt -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/test.txt # django @@ -352,60 +337,41 @@ text-unidecode==1.3 # -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-api - # pytest - # tox -tomlkit==0.12.5 + # via -r requirements/ci.txt +tomlkit==0.13.0 # via # -r requirements/test.txt # pylint tox==4.15.1 # via -r requirements/ci.txt -twine==5.1.0 +twine==5.1.1 # via -r requirements/test.txt -typing-extensions==4.12.2 - # via - # -r requirements/test.txt - # asgiref - # astroid - # pylint - # rich urllib3==2.2.2 # via # -r requirements/test.txt # requests # responses # twine -virtualenv==20.26.2 +virtualenv==20.26.3 # via # -r requirements/ci.txt # tox -wheel==0.43.0 +wheel==0.44.0 # via # -r requirements/pip-tools.txt # pip-tools zipp==3.17.0 # via # -c requirements/constraints.txt - # -r requirements/pip-tools.txt # -r requirements/test.txt # importlib-metadata - # importlib-resources # The following packages are considered to be unsafe in a requirements file: -pip==24.1 +pip==24.2 # via # -r requirements/pip-tools.txt # pip-tools -setuptools==70.1.1 +setuptools==72.1.0 # via # -r requirements/pip-tools.txt # pip-tools diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index ac0ec63..5d25e61 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,8 +8,6 @@ build==1.2.1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==7.2.1 - # via build packaging==23.2 # via # -c requirements/constraints.txt @@ -20,19 +18,11 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -tomli==2.0.1 - # via - # build - # pip-tools -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -zipp==3.17.0 - # via - # -c requirements/constraints.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: -pip==24.1 +pip==24.2 # via pip-tools -setuptools==70.1.1 +setuptools==72.1.0 # via pip-tools diff --git a/requirements/pip.txt b/requirements/pip.txt index c7fd078..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.1 +pip==24.2 # via -r requirements/pip.in -setuptools==70.1.1 +setuptools==72.1.0 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 8d04bf0..bad0783 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,22 +8,17 @@ asgiref==3.8.1 # via # -r requirements/base.txt # 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 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # django -certifi==2024.6.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 @@ -43,9 +38,9 @@ click-log==0.4.0 # via edx-lint code-annotations==1.8.0 # via edx-lint -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via secretstorage ddt==1.7.2 # via -r requirements/test.in @@ -65,26 +60,22 @@ django-waffle==4.1.0 # via # -r requirements/base.txt # edx-django-utils -docutils==0.20.1 +docutils==0.21.2 # via readme-renderer -edx-django-utils==5.14.2 +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 -exceptiongroup==1.2.1 - # via pytest freezegun==1.5.1 # via -r requirements/test.in idna==3.7 # via # -r requirements/base.txt # requests -importlib-metadata==7.2.1 +importlib-metadata==8.2.0 # via # keyring # twine -importlib-resources==6.4.0 - # via keyring iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -93,7 +84,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 @@ -101,7 +92,7 @@ jeepney==0.8.0 # secretstorage jinja2==3.1.4 # via code-annotations -keyring==25.2.1 +keyring==25.3.0 # via twine markdown-it-py==3.0.0 # via rich @@ -111,15 +102,15 @@ mccabe==0.7.0 # via pylint mdurl==0.1.2 # via markdown-it-py -more-itertools==10.3.0 +more-itertools==10.4.0 # via # jaraco-classes # jaraco-functools -newrelic==9.11.0 +newrelic==9.13.0 # via # -r requirements/base.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via readme-renderer packaging==23.2 # via @@ -129,7 +120,7 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -pkginfo==1.11.1 +pkginfo==1.10.0 # via twine platformdirs==4.2.2 # via pylint @@ -139,7 +130,7 @@ psutil==6.0.0 # via # -r requirements/base.txt # edx-django-utils -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/test.in pycparser==2.22 # via @@ -149,9 +140,9 @@ pygments==2.18.0 # via # readme-renderer # rich -pyjwt==2.8.0 +pyjwt==2.9.0 # via -r requirements/base.txt -pylint==3.2.3 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -169,7 +160,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 @@ -181,11 +172,11 @@ python-dateutil==2.9.0.post0 # via freezegun python-slugify==8.0.4 # via code-annotations -pyyaml==6.0.1 +pyyaml==6.0.2 # via # code-annotations # responses -readme-renderer==43.0 +readme-renderer==44.0 # via twine requests==2.32.3 # via @@ -210,7 +201,7 @@ six==1.16.0 # python-dateutil slumber==0.7.1 # via -r requirements/base.txt -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -221,22 +212,10 @@ stevedore==5.2.0 # edx-django-utils text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pytest -tomlkit==0.12.5 +tomlkit==0.13.0 # via pylint -twine==5.1.0 +twine==5.1.1 # via -r requirements/test.in -typing-extensions==4.12.2 - # via - # -r requirements/base.txt - # asgiref - # astroid - # pylint - # rich urllib3==2.2.2 # via # -r requirements/base.txt @@ -247,4 +226,3 @@ zipp==3.17.0 # via # -c requirements/constraints.txt # importlib-metadata - # importlib-resources