From 90bc3027c318dc2ce77efc0457f5ce33d34577fd Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 15 Sep 2024 20:25:32 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 57 +++++++-------- requirements/common_constraints.txt | 15 ++-- requirements/pip-tools.txt | 21 ++---- requirements/pip.txt | 8 +-- test-requirements.txt | 103 ++++++++++++---------------- 5 files changed, 86 insertions(+), 118 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index eebc1d9..b0833d1 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.8.30 # via requests -cffi==1.16.0 +cffi==1.17.1 # 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.1 # via pyjwt -django==4.2.11 +django==4.2.16 # via # -c requirements/common_constraints.txt # -r requirements/base.in @@ -36,7 +31,7 @@ django==4.2.11 # edx-drf-extensions django-crum==0.7.9 # via edx-django-utils -django-model-utils==4.5.0 +django-model-utils==5.0.0 # via -r requirements/base.in django-simple-history==3.1.1 # via @@ -46,58 +41,58 @@ django-waffle==4.1.0 # via # edx-django-utils # edx-drf-extensions -djangorestframework==3.15.1 +djangorestframework==3.15.2 # via # -r requirements/base.in # drf-jwt # edx-drf-extensions +dnspython==2.6.1 + # via pymongo drf-jwt==1.19.2 # via edx-drf-extensions -edx-django-utils==5.12.0 +edx-django-utils==5.15.0 # via edx-drf-extensions -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.4.0 # via -r requirements/base.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.11.0 # via # -r requirements/base.in # edx-drf-extensions -idna==3.7 +idna==3.10 # via requests -newrelic==9.9.0 +newrelic==9.13.0 # via edx-django-utils -pbr==6.0.0 +pbr==6.1.0 # via stevedore -pillow==10.3.0 +pillow==10.4.0 # via -r requirements/base.in -psutil==5.9.8 +psutil==6.0.0 # via edx-django-utils pycparser==2.22 # via cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-drf-extensions -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 edx-drf-extensions semantic-version==2.10.0 # via edx-drf-extensions -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -stevedore==5.2.0 +stevedore==5.3.0 # via # edx-django-utils # edx-opaque-keys -typing-extensions==4.11.0 - # via - # asgiref - # edx-opaque-keys -urllib3==2.2.1 +typing-extensions==4.12.2 + # via edx-opaque-keys +urllib3==2.2.3 # via requests # The following packages are considered to be unsafe in a requirements file: -setuptools==69.5.1 +setuptools==75.0.0 # via -r requirements/base.in diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index fc5c765..2f78c14 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 -# 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/pip-tools.txt b/requirements/pip-tools.txt index 6401f54..84acdf9 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.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.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 e3ffcc7..ec02f2b 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.5.1 +setuptools==75.0.0 # via -r requirements/pip.in diff --git a/test-requirements.txt b/test-requirements.txt index 08ebe82..14209c9 100644 --- a/test-requirements.txt +++ b/test-requirements.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.5.0 # via tox -certifi==2024.2.2 +certifi==2024.8.30 # via # -r requirements/base.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/base.txt # cryptography @@ -48,11 +42,11 @@ 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.1 # via # -r requirements/base.txt # pyjwt @@ -76,7 +70,7 @@ django-crum==0.7.9 # via # -r requirements/base.txt # edx-django-utils -django-model-utils==4.5.0 +django-model-utils==5.0.0 # via -r requirements/base.txt django-simple-history==3.1.1 # via @@ -87,40 +81,42 @@ django-waffle==4.1.0 # -r requirements/base.txt # edx-django-utils # edx-drf-extensions -djangorestframework==3.15.1 +djangorestframework==3.15.2 # via # -r requirements/base.txt # drf-jwt # edx-drf-extensions +dnspython==2.6.1 + # via + # -r requirements/base.txt + # pymongo drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -edx-django-utils==5.12.0 +edx-django-utils==5.15.0 # via # -r requirements/base.txt # edx-drf-extensions -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.4.0 # via -r requirements/base.txt -edx-lint==5.3.6 +edx-lint==5.4.0 # via -r requirements/test.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.11.0 # via # -r requirements/base.txt # edx-drf-extensions -exceptiongroup==1.2.1 - # via pytest -factory-boy==3.3.0 +factory-boy==3.3.1 # via -r requirements/test.in -faker==24.11.0 +faker==28.4.1 # via factory-boy -filelock==3.13.4 +filelock==3.16.0 # via # tox # virtualenv httpretty==0.9.7 # via -r requirements/test.in -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests @@ -128,28 +124,28 @@ iniconfig==2.0.0 # via pytest isort==5.13.2 # via 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.9.0 +newrelic==9.13.0 # via # -r requirements/base.txt # edx-django-utils -packaging==24.0 +packaging==24.1 # via # pyproject-api # pytest # tox -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/base.txt # stevedore -pillow==10.3.0 +pillow==10.4.0 # via -r requirements/base.txt -platformdirs==4.2.0 +platformdirs==4.3.3 # via # pylint # tox @@ -158,22 +154,22 @@ 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.22 # via # -r requirements/base.txt # cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/base.txt # drf-jwt # edx-drf-extensions -pylint==3.1.0 +pylint==3.2.7 # via # edx-lint # pylint-celery @@ -187,7 +183,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 @@ -195,23 +191,23 @@ 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.3 # via # 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 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 # edx-drf-extensions @@ -224,11 +220,11 @@ six==1.16.0 # edx-lint # httpretty # python-dateutil -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/base.txt # code-annotations @@ -236,30 +232,19 @@ 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.1 # via -r requirements/test.in -typing-extensions==4.11.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.3 # via # -r requirements/base.txt # requests -virtualenv==20.25.3 +virtualenv==20.26.4 # via tox # The following packages are considered to be unsafe in a requirements file: