From f886bfe3a86c1557648876794ec228026413f99c Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 31 Mar 2024 20:21:44 -0400 Subject: [PATCH] chore: Updating Python Requirements --- requirements/base.txt | 62 ++++++------- requirements/common_constraints.txt | 13 ++- requirements/pip-tools.txt | 20 ++-- requirements/pip.txt | 6 +- test-requirements.txt | 136 ++++++++++++++-------------- 5 files changed, 122 insertions(+), 115 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 9b41942..dd51241 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,21 +4,25 @@ # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via django -certifi==2023.7.22 +backports-zoneinfo==0.2.1 + # via + # django + # djangorestframework +certifi==2024.2.2 # via requests -cffi==1.15.1 +cffi==1.16.0 # via # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.2 # via requests -click==8.1.6 +click==8.1.7 # via edx-django-utils -cryptography==41.0.2 +cryptography==42.0.5 # via pyjwt -django==3.2.20 +django==4.2.11 # via # -c requirements/common_constraints.txt # -r requirements/base.in @@ -31,42 +35,42 @@ django==3.2.20 # edx-drf-extensions django-crum==0.7.9 # via edx-django-utils -django-model-utils==4.3.1 +django-model-utils==4.4.0 # via -r requirements/base.in django-simple-history==3.1.1 # via # -c requirements/constraints.txt # -r requirements/base.in -django-waffle==4.0.0 +django-waffle==4.1.0 # via # edx-django-utils # edx-drf-extensions -djangorestframework==3.14.0 +djangorestframework==3.15.1 # via # -r requirements/base.in # drf-jwt # edx-drf-extensions drf-jwt==1.19.2 # via edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.12.0 # via edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==10.3.0 # via -r requirements/base.in -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.5.1 # via # -r requirements/base.in # edx-drf-extensions -idna==3.4 +idna==3.6 # via requests -newrelic==8.9.0 +newrelic==9.8.0 # via edx-django-utils -pbr==5.11.1 +pbr==6.0.0 # via stevedore -pillow==10.0.0 +pillow==10.2.0 # via -r requirements/base.in -psutil==5.9.5 +psutil==5.9.8 # via edx-django-utils -pycparser==2.21 +pycparser==2.22 # via cffi pyjwt[crypto]==2.8.0 # via @@ -76,27 +80,19 @@ pymongo==3.13.0 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils -python-dateutil==2.8.2 - # via edx-drf-extensions -pytz==2023.3 - # via - # django - # djangorestframework requests==2.31.0 # via edx-drf-extensions semantic-version==2.10.0 # via edx-drf-extensions -six==1.16.0 - # via - # edx-drf-extensions - # python-dateutil sqlparse==0.4.4 # via django -stevedore==5.1.0 +stevedore==5.2.0 # via # edx-django-utils # edx-opaque-keys -typing-extensions==4.7.1 - # via asgiref -urllib3==2.0.4 +typing-extensions==4.10.0 + # via + # asgiref + # edx-opaque-keys +urllib3==2.2.1 # via requests diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 163513c..fc5c765 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -13,7 +13,7 @@ # using LTS django version -Django<4.0 +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 @@ -22,6 +22,11 @@ elasticsearch<7.14.0 # django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected -# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos. -# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810 -tox<4.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 diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 5748bf6..6401f54 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -4,23 +4,31 @@ # # make upgrade # -build==0.10.0 +build==1.2.1 # via pip-tools -click==8.1.6 +click==8.1.7 # via pip-tools -packaging==23.1 +importlib-metadata==6.11.0 + # via + # -c requirements/common_constraints.txt + # build +packaging==24.0 # via build -pip-tools==7.1.0 +pip-tools==7.4.1 # via -r requirements/pip-tools.in pyproject-hooks==1.0.0 - # via build + # via + # build + # pip-tools tomli==2.0.1 # via # build # pip-tools # pyproject-hooks -wheel==0.41.0 +wheel==0.43.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 fb1908e..cf44902 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -4,11 +4,11 @@ # # make upgrade # -wheel==0.41.0 +wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==23.2.1 +pip==24.0 # via -r requirements/pip.in -setuptools==68.0.0 +setuptools==69.2.0 # via -r requirements/pip.in diff --git a/test-requirements.txt b/test-requirements.txt index d2aa698..7e37446 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,28 +4,37 @@ # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via # -r requirements/base.txt # django -astroid==2.15.6 +astroid==3.1.0 # via # pylint # pylint-celery -certifi==2023.7.22 +backports-zoneinfo==0.2.1 + # via + # -r requirements/base.txt + # django + # djangorestframework +cachetools==5.3.3 + # via tox +certifi==2024.2.2 # via # -r requirements/base.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/base.txt # cryptography # pynacl -charset-normalizer==3.2.0 +chardet==5.2.0 + # via tox +charset-normalizer==3.3.2 # via # -r requirements/base.txt # requests -click==8.1.6 +click==8.1.7 # via # -r requirements/base.txt # click-log @@ -34,21 +43,23 @@ click==8.1.6 # edx-lint click-log==0.4.0 # via edx-lint -code-annotations==1.5.0 +code-annotations==1.7.0 # via edx-lint -coverage[toml]==7.2.7 +colorama==0.4.6 + # via tox +coverage[toml]==7.4.4 # via # -r requirements/test.in # pytest-cov -cryptography==41.0.2 +cryptography==42.0.5 # via # -r requirements/base.txt # pyjwt -ddt==1.6.0 +ddt==1.7.2 # via -r requirements/test.in -dill==0.3.7 +dill==0.3.8 # via pylint -distlib==0.3.7 +distlib==0.3.8 # via virtualenv # via # -c requirements/common_constraints.txt @@ -64,18 +75,18 @@ django-crum==0.7.9 # via # -r requirements/base.txt # edx-django-utils -django-model-utils==4.3.1 +django-model-utils==4.4.0 # via -r requirements/base.txt django-simple-history==3.1.1 # via # -c requirements/constraints.txt # -r requirements/base.txt -django-waffle==4.0.0 +django-waffle==4.1.0 # via # -r requirements/base.txt # edx-django-utils # edx-drf-extensions -djangorestframework==3.14.0 +djangorestframework==3.15.1 # via # -r requirements/base.txt # drf-jwt @@ -84,77 +95,75 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -edx-django-utils==5.6.0 +edx-django-utils==5.12.0 # via # -r requirements/base.txt # edx-drf-extensions -edx-drf-extensions==8.8.0 +edx-drf-extensions==10.3.0 # via -r requirements/base.txt -edx-lint==5.3.4 +edx-lint==5.3.6 # via -r requirements/test.in -edx-opaque-keys==2.3.0 +edx-opaque-keys==2.5.1 # via # -r requirements/base.txt # edx-drf-extensions -exceptiongroup==1.1.2 +exceptiongroup==1.2.0 # via pytest factory-boy==3.3.0 # via -r requirements/test.in -faker==19.2.0 +faker==24.4.0 # via factory-boy -filelock==3.12.2 +filelock==3.13.3 # via # tox # virtualenv httpretty==0.9.7 # via -r requirements/test.in -idna==3.4 +idna==3.6 # via # -r requirements/base.txt # requests iniconfig==2.0.0 # via pytest -isort==5.12.0 +isort==5.13.2 # via pylint -jinja2==3.1.2 +jinja2==3.1.3 # via code-annotations -lazy-object-proxy==1.9.0 - # via astroid -markupsafe==2.1.3 +markupsafe==2.1.5 # via jinja2 mccabe==0.7.0 # via pylint -newrelic==8.9.0 +newrelic==9.8.0 # via # -r requirements/base.txt # edx-django-utils -packaging==23.1 +packaging==24.0 # via + # pyproject-api # pytest # tox -pbr==5.11.1 +pbr==6.0.0 # via # -r requirements/base.txt # stevedore -pillow==10.0.0 +pillow==10.2.0 # via -r requirements/base.txt -platformdirs==3.10.0 +platformdirs==4.2.0 # via # pylint + # tox # virtualenv -pluggy==1.2.0 +pluggy==1.4.0 # via # pytest # tox -psutil==5.9.5 +psutil==5.9.8 # via # -r requirements/base.txt # edx-django-utils -py==1.11.0 - # via tox -pycodestyle==2.11.0 +pycodestyle==2.11.1 # via -r requirements/test.in -pycparser==2.21 +pycparser==2.22 # via # -r requirements/base.txt # cffi @@ -163,7 +172,7 @@ pyjwt[crypto]==2.8.0 # -r requirements/base.txt # drf-jwt # edx-drf-extensions -pylint==2.17.5 +pylint==3.1.0 # via # edx-lint # pylint-celery @@ -171,7 +180,7 @@ pylint==2.17.5 # pylint-plugin-utils pylint-celery==0.3 # via edx-lint -pylint-django==2.5.3 +pylint-django==2.5.5 # via edx-lint pylint-plugin-utils==0.8.2 # via @@ -185,26 +194,20 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==7.4.0 +pyproject-api==1.6.1 + # via tox +pytest==8.1.1 # via # pytest-cov # pytest-django -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via -r requirements/test.in -pytest-django==4.5.2 +pytest-django==4.8.0 # via -r requirements/test.in -python-dateutil==2.8.2 - # via - # -r requirements/base.txt - # edx-drf-extensions - # faker -python-slugify==8.0.1 +python-dateutil==2.9.0.post0 + # via faker +python-slugify==8.0.4 # via code-annotations -pytz==2023.3 - # via - # -r requirements/base.txt - # django - # djangorestframework pyyaml==6.0.1 # via code-annotations requests==2.31.0 @@ -217,17 +220,14 @@ semantic-version==2.10.0 # edx-drf-extensions six==1.16.0 # via - # -r requirements/base.txt - # edx-drf-extensions # edx-lint # httpretty # python-dateutil - # tox sqlparse==0.4.4 # via # -r requirements/base.txt # django -stevedore==5.1.0 +stevedore==5.2.0 # via # -r requirements/base.txt # code-annotations @@ -239,26 +239,24 @@ tomli==2.0.1 # via # coverage # pylint + # pyproject-api # pytest # tox -tomlkit==0.12.1 +tomlkit==0.12.4 # via pylint -tox==3.28.0 - # via - # -c requirements/common_constraints.txt - # -r requirements/test.in -typing-extensions==4.7.1 +tox==4.14.2 + # via -r requirements/test.in +typing-extensions==4.10.0 # via # -r requirements/base.txt # asgiref # astroid + # edx-opaque-keys # faker # pylint -urllib3==2.0.4 +urllib3==2.2.1 # via # -r requirements/base.txt # requests -virtualenv==20.24.2 +virtualenv==20.25.1 # via tox -wrapt==1.15.0 - # via astroid