From d665d06da351576838c431289944a51d423a6720 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 11 Aug 2024 20:23:28 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 10 ++-- requirements/ci.txt | 22 ++++---- requirements/common_constraints.txt | 15 +++--- requirements/dev.txt | 81 +++++++++++------------------ requirements/pip-tools.txt | 21 ++------ requirements/pip.txt | 8 +-- requirements/quality.txt | 26 ++++----- requirements/test.txt | 58 +++++++++------------ 8 files changed, 96 insertions(+), 145 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index c5f7b89..21eaac4 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,18 +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 # -edx-opaque-keys==2.5.1 +dnspython==2.6.1 + # via pymongo +edx-opaque-keys==2.10.0 # via -r requirements/base.in pbr==6.0.0 # via stevedore -pymongo==3.13.0 +pymongo==4.8.0 # via edx-opaque-keys six==1.16.0 # via -r requirements/base.in stevedore==5.2.0 # via edx-opaque-keys -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via edx-opaque-keys diff --git a/requirements/ci.txt b/requirements/ci.txt index 9f335db..f5468ae 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 @@ -12,27 +12,23 @@ colorama==0.4.6 # via tox distlib==0.3.8 # via virtualenv -filelock==3.13.1 +filelock==3.15.4 # via # tox # virtualenv -packaging==24.0 +packaging==24.1 # via # pyproject-api # tox -platformdirs==4.2.0 +platformdirs==4.2.2 # via # tox # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via tox -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox -tox==4.14.1 +tox==4.17.1 # via -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..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 da89842..a43c4f6 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,19 +1,19 @@ # -# 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 # -astroid==3.1.0 +astroid==3.2.4 # via # -r requirements/test.txt # pylint # pylint-celery -build==1.1.1 +build==1.2.1 # via # -r requirements/pip-tools.txt # pip-tools -cachetools==5.3.3 +cachetools==5.4.0 # via # -r requirements/ci.txt # -r requirements/test.txt @@ -35,7 +35,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 @@ -44,7 +44,7 @@ colorama==0.4.6 # -r requirements/ci.txt # -r requirements/test.txt # tox -coverage==7.4.4 +coverage==7.6.1 # via -r requirements/test.txt ddt==1.7.2 # via -r requirements/test.txt @@ -57,25 +57,20 @@ distlib==0.3.8 # -r requirements/ci.txt # -r requirements/test.txt # virtualenv -edx-lint==5.3.6 - # via -r requirements/test.txt -edx-opaque-keys==2.5.1 - # via -r requirements/test.txt -exceptiongroup==1.2.0 +dnspython==2.6.1 # via # -r requirements/test.txt - # pytest -filelock==3.13.1 + # pymongo +edx-lint==5.3.7 + # via -r requirements/test.txt +edx-opaque-keys==2.10.0 + # via -r requirements/test.txt +filelock==3.15.4 # via # -r requirements/ci.txt # -r requirements/test.txt # tox # virtualenv -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 @@ -84,7 +79,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 @@ -100,7 +95,7 @@ mccabe==0.7.0 # pylint mock==5.1.0 # via -r requirements/test.txt -packaging==24.0 +packaging==24.1 # via # -r requirements/ci.txt # -r requirements/pip-tools.txt @@ -115,22 +110,22 @@ 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 # tox # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via # -r requirements/ci.txt # -r requirements/test.txt # pytest # tox -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.txt -pylint==3.1.0 +pylint==3.2.6 # via # -r requirements/test.txt # edx-lint @@ -150,27 +145,27 @@ 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/test.txt # edx-opaque-keys -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via # -r requirements/ci.txt # -r requirements/test.txt # tox -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 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 @@ -187,45 +182,27 @@ 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 - # pip-tools - # pylint - # pyproject-api - # pyproject-hooks - # pytest - # tox -tomlkit==0.12.4 +tomlkit==0.13.0 # via # -r requirements/test.txt # pylint -tox==4.14.1 +tox==4.17.1 # via # -r requirements/ci.txt # -r requirements/test.txt -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -r requirements/test.txt - # astroid # edx-opaque-keys - # pylint -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 b1ac4e5..fedf88d 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,34 +1,23 @@ # -# 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.1.1 +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/quality.txt b/requirements/quality.txt index 5352656..a19ccd2 100644 --- a/requirements/quality.txt +++ b/requirements/quality.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 # -astroid==3.1.0 +astroid==3.2.4 # via # pylint # pylint-celery @@ -15,15 +15,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 dill==0.3.8 # via pylint -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.in isort==5.13.2 # via pylint -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations markupsafe==2.1.5 # via jinja2 @@ -31,11 +31,11 @@ mccabe==0.7.0 # via pylint pbr==6.0.0 # via stevedore -platformdirs==4.2.0 +platformdirs==4.2.2 # via pylint -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/quality.in -pylint==3.1.0 +pylint==3.2.6 # via # -r requirements/quality.in # edx-lint @@ -52,7 +52,7 @@ pylint-plugin-utils==0.8.2 # pylint-django python-slugify==8.0.4 # via code-annotations -pyyaml==6.0.1 +pyyaml==6.0.2 # via code-annotations six==1.16.0 # via edx-lint @@ -60,11 +60,5 @@ stevedore==5.2.0 # via code-annotations text-unidecode==1.3 # via python-slugify -tomli==2.0.1 +tomlkit==0.13.0 # via pylint -tomlkit==0.12.4 - # via pylint -typing-extensions==4.10.0 - # via - # astroid - # pylint diff --git a/requirements/test.txt b/requirements/test.txt index 396ff0b..c4392b2 100644 --- a/requirements/test.txt +++ b/requirements/test.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 # -astroid==3.1.0 +astroid==3.2.4 # via # pylint # pylint-celery -cachetools==5.3.3 +cachetools==5.4.0 # via tox chardet==5.2.0 # via tox @@ -19,11 +19,11 @@ 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==7.4.4 +coverage==7.6.1 # via -r requirements/test.in ddt==1.7.2 # via -r requirements/test.in @@ -31,13 +31,15 @@ dill==0.3.8 # via pylint distlib==0.3.8 # via virtualenv -edx-lint==5.3.6 +dnspython==2.6.1 + # via + # -r requirements/base.txt + # pymongo +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 -filelock==3.13.1 +filelock==3.15.4 # via # tox # virtualenv @@ -45,7 +47,7 @@ iniconfig==2.0.0 # via pytest isort==5.13.2 # via pylint -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations lazy-object-proxy==1.10.0 # via -r requirements/test.in @@ -55,7 +57,7 @@ mccabe==0.7.0 # via pylint mock==5.1.0 # via -r requirements/test.in -packaging==24.0 +packaging==24.1 # via # pyproject-api # pytest @@ -64,18 +66,18 @@ 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 -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/test.in -pylint==3.1.0 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -89,17 +91,17 @@ 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 -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox -pytest==8.1.1 +pytest==8.3.2 # via -r requirements/test.in python-slugify==8.0.4 # via code-annotations -pyyaml==6.0.1 +pyyaml==6.0.2 # via code-annotations six==1.16.0 # via @@ -112,21 +114,13 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.4 +tomlkit==0.13.0 # via pylint -tox==4.14.1 +tox==4.17.1 # via -r requirements/test.in -typing-extensions==4.10.0 +typing-extensions==4.12.2 # via # -r requirements/base.txt - # astroid # edx-opaque-keys - # pylint -virtualenv==20.25.1 +virtualenv==20.26.3 # via tox