From 9c93dd1780eceaf3759909a1a7c990c502ab1c0d Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Sun, 21 Jul 2024 20:12:25 -0400 Subject: [PATCH] chore: Upgrade Python requirements --- requirements/base.txt | 15 ++++----------- requirements/ci.txt | 8 ++------ requirements/common_constraints.txt | 8 ++++++++ requirements/pip-tools.txt | 10 +--------- requirements/pip.txt | 4 ++-- requirements/test.txt | 24 +++++------------------- 6 files changed, 22 insertions(+), 47 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index b30de3bb..ddd8def3 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,16 +1,11 @@ # -# 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.7.4 # via # elasticsearch @@ -23,7 +18,7 @@ chardet==3.0.4 # via requests click==8.1.7 # via edx-django-utils -cryptography==42.0.8 +cryptography==43.0.0 # via pyjwt django==4.2.14 # via @@ -155,16 +150,14 @@ six==1.16.0 # edx-django-release-util # elasticsearch-dsl # python-dateutil -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via # edx-django-utils # edx-opaque-keys typing-extensions==4.12.2 - # via - # asgiref - # edx-opaque-keys + # via edx-opaque-keys uritemplate==4.1.1 # via drf-yasg urllib3==1.26.19 diff --git a/requirements/ci.txt b/requirements/ci.txt index 2129e937..564c0f58 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 @@ -28,10 +28,6 @@ pluggy==1.5.0 # via tox pyproject-api==1.7.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox tox==4.16.0 # via -r requirements/ci.in virtualenv==20.26.3 diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index c9d8d9cc..6459fbe9 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -22,6 +22,7 @@ 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 @@ -35,3 +36,10 @@ django-simple-history==3.0.0 # 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 6b0824f9..b544e9f5 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==8.0.0 - # via build packaging==24.1 # via build pip-tools==7.4.1 @@ -18,14 +16,8 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -tomli==2.0.1 - # via - # build - # pip-tools wheel==0.43.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 e155dab5..854334df 100644 --- a/requirements/pip.txt +++ b/requirements/pip.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,5 +10,5 @@ wheel==0.43.0 # The following packages are considered to be unsafe in a requirements file: pip==24.1.2 # via -r requirements/pip.in -setuptools==70.3.0 +setuptools==71.1.0 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 0524b84c..ab97dc26 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 @@ -13,12 +13,6 @@ astroid==1.6.6 # -c requirements/constraints.txt # -r requirements/test.in # pylint -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # django - # djangorestframework certifi==2024.7.4 # via # -r requirements/base.txt @@ -47,13 +41,13 @@ coverage[toml]==7.6.0 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/base.txt # pyjwt ddt==1.7.2 # via -r requirements/test.in -diff-cover==9.1.0 +diff-cover==9.1.1 # via -r requirements/test.in distlib==0.3.8 # via virtualenv @@ -136,8 +130,6 @@ elasticsearch-dsl==7.4.1 # -r requirements/base.txt # django-elasticsearch-dsl # django-elasticsearch-dsl-drf -exceptiongroup==1.2.2 - # via pytest factory-boy==3.3.0 # via -r requirements/test.in faker==26.0.0 @@ -230,7 +222,7 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==8.2.2 +pytest==8.3.1 # via # -r requirements/test.in # pytest-cov @@ -278,7 +270,7 @@ six==1.16.0 # pylint # python-dateutil # tox -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -290,17 +282,11 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pytest - # tox tox==3.28.0 # via -r requirements/test.in typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref # edx-opaque-keys uritemplate==4.1.1 # via