From a72b6097b7a077ff9d63c7269904d88025747aaa Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 22 Sep 2024 20:02:06 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/ci.txt | 47 ++++++-------- requirements/common_constraints.txt | 15 +++-- requirements/dev.txt | 97 +++++++++++------------------ requirements/django.txt | 2 +- requirements/pip-tools.txt | 16 +---- requirements/pip.txt | 8 +-- requirements/quality.txt | 97 +++++++++++------------------ requirements/test.txt | 76 ++++++++-------------- 8 files changed, 132 insertions(+), 226 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index 6786402..5d59900 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,18 +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 -cachetools==5.3.3 +cachetools==5.5.0 # via tox -certifi==2024.6.2 +certifi==2024.8.30 # via requests chardet==5.2.0 # via tox @@ -20,39 +16,39 @@ charset-normalizer==3.3.2 # via requests colorama==0.4.6 # via tox -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via coveralls coveralls==4.0.1 # via -r requirements/ci.in distlib==0.3.8 # via virtualenv -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # edx-i18n-tools docopt==0.6.2 # via coveralls -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.3 # via -r requirements/ci.in -filelock==3.15.4 +filelock==3.16.1 # via # tox # virtualenv -idna==3.7 +idna==3.10 # via requests -lxml[html-clean,html_clean]==5.2.2 +lxml[html-clean,html_clean]==5.3.0 # via # edx-i18n-tools # lxml-html-clean -lxml-html-clean==0.1.1 +lxml-html-clean==0.2.2 # via lxml packaging==24.1 # via # pyproject-api # tox -path==16.14.0 +path==16.16.0 # via edx-i18n-tools -platformdirs==4.2.2 +platformdirs==4.3.6 # via # tox # virtualenv @@ -60,24 +56,17 @@ pluggy==1.5.0 # via tox polib==1.2.0 # via edx-i18n-tools -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via tox -pyyaml==6.0.1 +pyyaml==6.0.2 # via edx-i18n-tools requests==2.32.3 # via coveralls -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -tomli==2.0.1 - # via - # coverage - # pyproject-api - # tox -tox==4.15.1 +tox==4.20.0 # via -r requirements/ci.in -typing-extensions==4.12.2 - # via asgiref -urllib3==2.2.2 +urllib3==2.2.3 # via requests -virtualenv==20.26.3 +virtualenv==20.26.5 # via tox 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 1a05dd9..9257ed4 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 @@ -10,29 +10,25 @@ arrow==1.3.0 # via cookiecutter asgiref==3.8.1 # via django -astroid==3.2.2 +astroid==3.3.3 # via # pylint # pylint-celery backports-functools-lru-cache==2.0.0 # via caniusepython3 -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django binaryornot==0.4.4 # via cookiecutter -boto3==1.34.131 +boto3==1.35.24 # via fs-s3fs -botocore==1.34.131 +botocore==1.35.24 # via # boto3 # s3transfer -build==1.2.1 +build==1.2.2 # via pip-tools caniusepython3==7.3.0 # via -r requirements/quality.in -certifi==2024.6.2 +certifi==2024.8.30 # via requests chardet==5.2.0 # via @@ -53,29 +49,27 @@ code-annotations==1.8.0 # via edx-lint cookiecutter==2.6.0 # via xblock-sdk -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via pytest-cov ddt==1.7.2 # via -r requirements/test.in -diff-cover==9.0.0 +diff-cover==9.2.0 # via -r requirements/dev.in dill==0.3.8 # via pylint distlib==0.3.8 # via caniusepython3 -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # -r requirements/base.in # edx-i18n-tools # openedx-django-pyfs # xblock-sdk -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.3 # via -r requirements/test.in -edx-lint==5.3.6 +edx-lint==5.4.0 # via -r requirements/quality.in -exceptiongroup==1.2.1 - # via pytest fs==2.4.16 # via # fs-s3fs @@ -85,12 +79,8 @@ fs-s3fs==1.1.1 # via # openedx-django-pyfs # xblock-sdk -idna==3.7 +idna==3.10 # via requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # build iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -108,13 +98,13 @@ jmespath==1.0.1 # botocore lazy==1.6 # via xblock -lxml[html-clean]==5.2.2 +lxml[html-clean]==5.3.0 # via # edx-i18n-tools # lxml-html-clean # xblock # xblock-sdk -lxml-html-clean==0.1.1 +lxml-html-clean==0.2.2 # via lxml mako==1.3.5 # via xblock @@ -131,20 +121,20 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.in -openedx-django-pyfs==3.6.0 +openedx-django-pyfs==3.7.0 # via xblock packaging==24.1 # via # build # caniusepython3 # pytest -path==16.14.0 +path==16.16.0 # via edx-i18n-tools -pbr==6.0.0 +pbr==6.1.0 # via stevedore pip-tools==7.4.1 # via -r requirements/dev.in -platformdirs==4.2.2 +platformdirs==4.3.6 # via pylint pluggy==1.5.0 # via @@ -152,7 +142,7 @@ pluggy==1.5.0 # pytest polib==1.2.0 # via edx-i18n-tools -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/quality.in pydocstyle==6.3.0 # via -r requirements/quality.in @@ -160,7 +150,7 @@ pygments==2.18.0 # via # diff-cover # rich -pylint==3.2.3 +pylint==3.3.0 # via # edx-lint # pylint-celery @@ -182,14 +172,14 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.in # pytest-cov # pytest-django pytest-cov==5.0.0 # via -r requirements/test.in -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via @@ -200,9 +190,9 @@ python-slugify==8.0.4 # via # code-annotations # cookiecutter -pytz==2024.1 +pytz==2024.2 # via xblock -pyyaml==6.0.1 +pyyaml==6.0.2 # via # code-annotations # cookiecutter @@ -214,11 +204,11 @@ requests==2.32.3 # caniusepython3 # cookiecutter # xblock-sdk -rich==13.7.1 +rich==13.8.1 # via cookiecutter -s3transfer==0.10.1 +s3transfer==0.10.2 # via boto3 -simplejson==3.19.2 +simplejson==3.19.3 # via # xblock # xblock-sdk @@ -230,30 +220,17 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -stevedore==5.2.0 +stevedore==5.3.0 # via code-annotations text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # build - # coverage - # pip-tools - # pylint - # pytest -tomlkit==0.12.5 +tomlkit==0.13.2 # via pylint -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 # via arrow -typing-extensions==4.12.2 - # via - # asgiref - # astroid - # pylint - # rich -urllib3==1.26.19 +urllib3==2.2.3 # via # botocore # requests @@ -261,22 +238,20 @@ web-fragments==2.2.0 # via # xblock # xblock-sdk -webob==1.8.7 +webob==1.8.8 # via # xblock # xblock-sdk -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -xblock[django]==4.0.1 +xblock[django]==5.1.0 # via # -r requirements/base.in # xblock-sdk -xblock-sdk==0.11.0 +xblock-sdk==0.12.0 # via # -r requirements/dev.in # -r requirements/test.in -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/django.txt b/requirements/django.txt index 092a8ec..64aaf99 100644 --- a/requirements/django.txt +++ b/requirements/django.txt @@ -1 +1 @@ -django==4.2.13 +django==4.2.16 diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index f577da4..84acdf9 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,17 +1,13 @@ # -# 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 # -build==1.2.1 +build==1.2.2 # 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 +wheel==0.44.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 c9a36e3..36c777e 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.0 +setuptools==75.1.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 1a05dd9..9257ed4 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 @@ -10,29 +10,25 @@ arrow==1.3.0 # via cookiecutter asgiref==3.8.1 # via django -astroid==3.2.2 +astroid==3.3.3 # via # pylint # pylint-celery backports-functools-lru-cache==2.0.0 # via caniusepython3 -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django binaryornot==0.4.4 # via cookiecutter -boto3==1.34.131 +boto3==1.35.24 # via fs-s3fs -botocore==1.34.131 +botocore==1.35.24 # via # boto3 # s3transfer -build==1.2.1 +build==1.2.2 # via pip-tools caniusepython3==7.3.0 # via -r requirements/quality.in -certifi==2024.6.2 +certifi==2024.8.30 # via requests chardet==5.2.0 # via @@ -53,29 +49,27 @@ code-annotations==1.8.0 # via edx-lint cookiecutter==2.6.0 # via xblock-sdk -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via pytest-cov ddt==1.7.2 # via -r requirements/test.in -diff-cover==9.0.0 +diff-cover==9.2.0 # via -r requirements/dev.in dill==0.3.8 # via pylint distlib==0.3.8 # via caniusepython3 -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # -r requirements/base.in # edx-i18n-tools # openedx-django-pyfs # xblock-sdk -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.3 # via -r requirements/test.in -edx-lint==5.3.6 +edx-lint==5.4.0 # via -r requirements/quality.in -exceptiongroup==1.2.1 - # via pytest fs==2.4.16 # via # fs-s3fs @@ -85,12 +79,8 @@ fs-s3fs==1.1.1 # via # openedx-django-pyfs # xblock-sdk -idna==3.7 +idna==3.10 # via requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # build iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -108,13 +98,13 @@ jmespath==1.0.1 # botocore lazy==1.6 # via xblock -lxml[html-clean]==5.2.2 +lxml[html-clean]==5.3.0 # via # edx-i18n-tools # lxml-html-clean # xblock # xblock-sdk -lxml-html-clean==0.1.1 +lxml-html-clean==0.2.2 # via lxml mako==1.3.5 # via xblock @@ -131,20 +121,20 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.in -openedx-django-pyfs==3.6.0 +openedx-django-pyfs==3.7.0 # via xblock packaging==24.1 # via # build # caniusepython3 # pytest -path==16.14.0 +path==16.16.0 # via edx-i18n-tools -pbr==6.0.0 +pbr==6.1.0 # via stevedore pip-tools==7.4.1 # via -r requirements/dev.in -platformdirs==4.2.2 +platformdirs==4.3.6 # via pylint pluggy==1.5.0 # via @@ -152,7 +142,7 @@ pluggy==1.5.0 # pytest polib==1.2.0 # via edx-i18n-tools -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/quality.in pydocstyle==6.3.0 # via -r requirements/quality.in @@ -160,7 +150,7 @@ pygments==2.18.0 # via # diff-cover # rich -pylint==3.2.3 +pylint==3.3.0 # via # edx-lint # pylint-celery @@ -182,14 +172,14 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.in # pytest-cov # pytest-django pytest-cov==5.0.0 # via -r requirements/test.in -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via @@ -200,9 +190,9 @@ python-slugify==8.0.4 # via # code-annotations # cookiecutter -pytz==2024.1 +pytz==2024.2 # via xblock -pyyaml==6.0.1 +pyyaml==6.0.2 # via # code-annotations # cookiecutter @@ -214,11 +204,11 @@ requests==2.32.3 # caniusepython3 # cookiecutter # xblock-sdk -rich==13.7.1 +rich==13.8.1 # via cookiecutter -s3transfer==0.10.1 +s3transfer==0.10.2 # via boto3 -simplejson==3.19.2 +simplejson==3.19.3 # via # xblock # xblock-sdk @@ -230,30 +220,17 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -stevedore==5.2.0 +stevedore==5.3.0 # via code-annotations text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # build - # coverage - # pip-tools - # pylint - # pytest -tomlkit==0.12.5 +tomlkit==0.13.2 # via pylint -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 # via arrow -typing-extensions==4.12.2 - # via - # asgiref - # astroid - # pylint - # rich -urllib3==1.26.19 +urllib3==2.2.3 # via # botocore # requests @@ -261,22 +238,20 @@ web-fragments==2.2.0 # via # xblock # xblock-sdk -webob==1.8.7 +webob==1.8.8 # via # xblock # xblock-sdk -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -xblock[django]==4.0.1 +xblock[django]==5.1.0 # via # -r requirements/base.in # xblock-sdk -xblock-sdk==0.11.0 +xblock-sdk==0.12.0 # via # -r requirements/dev.in # -r requirements/test.in -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/test.txt b/requirements/test.txt index 6a76cc8..ca6be46 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,21 +10,17 @@ arrow==1.3.0 # via cookiecutter asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # django binaryornot==0.4.4 # via cookiecutter -boto3==1.34.131 +boto3==1.35.24 # via fs-s3fs -botocore==1.34.131 +botocore==1.35.24 # via # boto3 # s3transfer -build==1.2.1 +build==1.2.2 # via pip-tools -certifi==2024.6.2 +certifi==2024.8.30 # via requests chardet==5.2.0 # via @@ -38,11 +34,11 @@ click==8.1.7 # pip-tools cookiecutter==2.6.0 # via xblock-sdk -coverage[toml]==7.5.4 +coverage[toml]==7.6.1 # via pytest-cov ddt==1.7.2 # via -r requirements/test.in -diff-cover==9.0.0 +diff-cover==9.2.0 # via -r requirements/dev.in # via # -c requirements/common_constraints.txt @@ -50,10 +46,8 @@ diff-cover==9.0.0 # edx-i18n-tools # openedx-django-pyfs # xblock-sdk -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.3 # via -r requirements/test.in -exceptiongroup==1.2.1 - # via pytest fs==2.4.16 # via # fs-s3fs @@ -63,12 +57,8 @@ fs-s3fs==1.1.1 # via # openedx-django-pyfs # xblock-sdk -idna==3.7 +idna==3.10 # via requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # build iniconfig==2.0.0 # via pytest jinja2==3.1.4 @@ -81,13 +71,13 @@ jmespath==1.0.1 # botocore lazy==1.6 # via xblock -lxml[html-clean]==5.2.2 +lxml[html-clean]==5.3.0 # via # edx-i18n-tools # lxml-html-clean # xblock # xblock-sdk -lxml-html-clean==0.1.1 +lxml-html-clean==0.2.2 # via lxml mako==1.3.5 # via xblock @@ -102,13 +92,13 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.in -openedx-django-pyfs==3.6.0 +openedx-django-pyfs==3.7.0 # via xblock packaging==24.1 # via # build # pytest -path==16.14.0 +path==16.16.0 # via edx-i18n-tools pip-tools==7.4.1 # via -r requirements/dev.in @@ -130,14 +120,14 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.in # pytest-cov # pytest-django pytest-cov==5.0.0 # via -r requirements/test.in -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/test.in python-dateutil==2.9.0.post0 # via @@ -146,9 +136,9 @@ python-dateutil==2.9.0.post0 # xblock python-slugify==8.0.4 # via cookiecutter -pytz==2024.1 +pytz==2024.2 # via xblock -pyyaml==6.0.1 +pyyaml==6.0.2 # via # cookiecutter # edx-i18n-tools @@ -158,11 +148,11 @@ requests==2.32.3 # -r requirements/base.in # cookiecutter # xblock-sdk -rich==13.7.1 +rich==13.8.1 # via cookiecutter -s3transfer==0.10.1 +s3transfer==0.10.2 # via boto3 -simplejson==3.19.2 +simplejson==3.19.3 # via # xblock # xblock-sdk @@ -171,23 +161,13 @@ six==1.16.0 # fs # fs-s3fs # python-dateutil -sqlparse==0.5.0 +sqlparse==0.5.1 # via django text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # build - # coverage - # pip-tools - # pytest -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 # via arrow -typing-extensions==4.12.2 - # via - # asgiref - # rich -urllib3==1.26.19 +urllib3==2.2.3 # via # botocore # requests @@ -195,22 +175,20 @@ web-fragments==2.2.0 # via # xblock # xblock-sdk -webob==1.8.7 +webob==1.8.8 # via # xblock # xblock-sdk -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -xblock[django]==4.0.1 +xblock[django]==5.1.0 # via # -r requirements/base.in # xblock-sdk -xblock-sdk==0.11.0 +xblock-sdk==0.12.0 # via # -r requirements/dev.in # -r requirements/test.in -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip