From b7d0c4da562cdcc0de95a019c0c320c66d3c4cd4 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Tue, 30 Jul 2024 14:57:39 -0400 Subject: [PATCH 1/2] chore: Upgrade Python requirements --- requirements/base.txt | 45 ++++---------- requirements/common_constraints.txt | 8 +++ requirements/dev.txt | 88 +++++---------------------- requirements/doc.txt | 94 ++++++++--------------------- requirements/pip-tools.txt | 12 +--- requirements/pip.txt | 6 +- requirements/production.txt | 45 +++----------- requirements/quality.txt | 55 ++++------------- requirements/test.txt | 62 ++++--------------- requirements/validation.txt | 79 +++++------------------- 10 files changed, 113 insertions(+), 381 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 74847192..6aea1cf1 100644 --- a/requirements/base.txt +++ b/requirements/base.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 @@ -12,8 +12,6 @@ asgiref==3.8.1 # via # django # django-cors-headers -async-timeout==4.0.3 - # via redis attrs==23.2.0 # via # jsonschema @@ -22,18 +20,11 @@ backoff==1.10.0 # via # -r requirements/base.in # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via celery -boto3==1.34.144 +boto3==1.34.150 # via django-ses -botocore==1.34.144 +botocore==1.34.150 # via # boto3 # s3transfer @@ -66,7 +57,7 @@ click-repl==0.3.0 # via celery code-annotations==1.8.0 # via edx-toggles -cryptography==42.0.8 +cryptography==43.0.0 # via # pyjwt # social-auth-core @@ -182,10 +173,6 @@ edx-toggles==5.2.0 # via -r requirements/base.in idna==3.7 # via requests -importlib-resources==6.4.0 - # via - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via drf-spectacular jinja2==3.1.4 @@ -216,8 +203,6 @@ oauthlib==3.2.2 # social-auth-core pbr==6.0.0 # via stevedore -pkgutil-resolve-name==1.3.10 - # via jsonschema ply==3.11 # via djangoql prompt-toolkit==3.0.47 @@ -254,7 +239,7 @@ pyyaml==6.0.1 # via # code-annotations # drf-spectacular -redis==5.0.7 +redis==5.0.8 # via -r requirements/base.in referencing==0.35.1 # via @@ -270,7 +255,7 @@ requests==2.32.3 # social-auth-core requests-oauthlib==2.0.0 # via social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # jsonschema # referencing @@ -296,7 +281,7 @@ social-auth-core==4.5.4 # via # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via django stevedore==5.2.0 # via @@ -306,18 +291,12 @@ stevedore==5.2.0 text-unidecode==1.3 # via python-slugify typing-extensions==4.12.2 - # via - # asgiref - # drf-spectacular - # edx-opaque-keys - # kombu + # via edx-opaque-keys tzdata==2024.1 - # via - # backports-zoneinfo - # celery + # via celery uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # botocore # requests @@ -329,9 +308,7 @@ vine==5.1.0 wcwidth==0.2.13 # via prompt-toolkit zipp==3.19.2 - # via - # -r requirements/base.in - # importlib-resources + # via -r requirements/base.in # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index 2b6d23d1..81160fd6 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 @@ elasticsearch<7.14.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/dev.txt b/requirements/dev.txt index be330f6f..40001e59 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 @@ -15,15 +15,11 @@ asgiref==3.8.1 # -r requirements/validation.txt # django # django-cors-headers -astroid==3.2.3 +astroid==3.2.4 # via # -r requirements/validation.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/validation.txt - # redis attrs==23.2.0 # via # -r requirements/validation.txt @@ -33,23 +29,15 @@ backoff==1.10.0 # via # -r requirements/validation.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/validation.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via # -r requirements/validation.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/validation.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/validation.txt # boto3 @@ -114,7 +102,7 @@ coverage[toml]==7.6.0 # via # -r requirements/validation.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/validation.txt # pyjwt @@ -247,9 +235,9 @@ edx-drf-extensions==10.3.0 # via # -r requirements/validation.txt # edx-rbac -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.2 # via -r requirements/validation.txt -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/validation.txt edx-opaque-keys==2.10.0 # via @@ -261,10 +249,6 @@ edx-rest-api-client==5.7.1 # via -r requirements/validation.txt edx-toggles==5.2.0 # via -r requirements/validation.txt -exceptiongroup==1.2.2 - # via - # -r requirements/validation.txt - # pytest factory-boy==3.3.0 # via -r requirements/validation.txt faker==26.0.0 @@ -279,17 +263,6 @@ idna==3.7 # via # -r requirements/validation.txt # requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # -r requirements/pip-tools.txt - # build - # typeguard -importlib-resources==6.4.0 - # via - # -r requirements/validation.txt - # jsonschema - # jsonschema-specifications inflect==7.3.1 # via # -r requirements/dev.in @@ -335,15 +308,10 @@ kombu==5.3.7 # via # -r requirements/validation.txt # celery -lxml[html-clean]==5.2.2 +lxml==5.2.2 # via # -r requirements/validation.txt # edx-i18n-tools - # lxml-html-clean -lxml-html-clean==0.1.1 - # via - # -r requirements/validation.txt - # lxml markupsafe==2.1.5 # via # -r requirements/validation.txt @@ -376,7 +344,7 @@ packaging==24.1 # build # gunicorn # pytest -path==16.14.0 +path==16.16.0 # via # -r requirements/validation.txt # edx-i18n-tools @@ -388,10 +356,6 @@ pbr==6.0.0 # stevedore pip-tools==7.4.1 # via -r requirements/pip-tools.txt -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/validation.txt - # jsonschema platformdirs==4.2.2 # via # -r requirements/validation.txt @@ -435,7 +399,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.5 +pylint==3.2.6 # via # -r requirements/validation.txt # edx-lint @@ -468,7 +432,7 @@ pyproject-hooks==1.1.0 # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.2.2 +pytest==8.3.2 # via # -r requirements/validation.txt # pytest-cov @@ -505,7 +469,7 @@ pyyaml==6.0.1 # code-annotations # drf-spectacular # edx-i18n-tools -redis==5.0.7 +redis==5.0.8 # via -r requirements/validation.txt referencing==0.35.1 # via @@ -525,7 +489,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/validation.txt # social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/validation.txt # jsonschema @@ -568,7 +532,7 @@ social-auth-core==4.5.4 # -r requirements/validation.txt # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/validation.txt # django @@ -583,15 +547,6 @@ text-unidecode==1.3 # via # -r requirements/validation.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/pip-tools.txt - # -r requirements/validation.txt - # build - # coverage - # pip-tools - # pylint - # pytest tomlkit==0.13.0 # via # -r requirements/validation.txt @@ -601,24 +556,17 @@ typeguard==4.3.0 typing-extensions==4.12.2 # via # -r requirements/validation.txt - # asgiref - # astroid - # drf-spectacular # edx-opaque-keys - # inflect - # kombu - # pylint # typeguard tzdata==2024.1 # via # -r requirements/validation.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/validation.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/validation.txt # botocore @@ -638,11 +586,7 @@ wheel==0.43.0 # -r requirements/pip-tools.txt # pip-tools zipp==3.19.2 - # via - # -r requirements/pip-tools.txt - # -r requirements/validation.txt - # importlib-metadata - # importlib-resources + # via -r requirements/validation.txt # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.txt b/requirements/doc.txt index f0831bd8..21b5d5bd 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,12 +1,12 @@ # -# 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 # -accessible-pygments==0.0.4 +accessible-pygments==0.0.5 # via pydata-sphinx-theme -alabaster==0.7.13 +alabaster==1.0.0 # via sphinx amqp==5.2.0 # via @@ -19,15 +19,11 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.3 +astroid==3.2.4 # via # -r requirements/test.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/test.txt - # redis attrs==23.2.0 # via # -r requirements/test.txt @@ -41,25 +37,17 @@ backoff==1.10.0 # via # -r requirements/test.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/test.txt - # celery - # django - # djangorestframework - # kombu beautifulsoup4==4.12.3 # via pydata-sphinx-theme billiard==4.2.0 # via # -r requirements/test.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/test.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/test.txt # boto3 @@ -118,7 +106,7 @@ coverage[toml]==7.6.0 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/test.txt # pyjwt @@ -217,7 +205,7 @@ dnspython==2.6.1 # pymongo doc8==1.1.1 # via -r requirements/doc.in -docutils==0.19 +docutils==0.20.1 # via # doc8 # pydata-sphinx-theme @@ -248,7 +236,7 @@ edx-drf-extensions==10.3.0 # via # -r requirements/test.txt # edx-rbac -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.txt edx-opaque-keys==2.10.0 # via @@ -260,10 +248,6 @@ edx-rest-api-client==5.7.1 # via -r requirements/test.txt edx-toggles==5.2.0 # via -r requirements/test.txt -exceptiongroup==1.2.2 - # via - # -r requirements/test.txt - # pytest factory-boy==3.3.0 # via -r requirements/test.txt faker==26.0.0 @@ -278,15 +262,6 @@ idna==3.7 # requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # sphinx -importlib-resources==6.4.0 - # via - # -r requirements/test.txt - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via # -r requirements/test.txt @@ -360,10 +335,6 @@ pbr==6.0.0 # via # -r requirements/test.txt # stevedore -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/test.txt - # jsonschema platformdirs==4.2.2 # via # -r requirements/test.txt @@ -388,7 +359,7 @@ pycparser==2.22 # via # -r requirements/test.txt # cffi -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.4 # via sphinx-book-theme pygments==2.18.0 # via @@ -405,7 +376,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.5 +pylint==3.2.6 # via # -r requirements/test.txt # edx-lint @@ -433,7 +404,7 @@ pynacl==1.5.0 # via # -r requirements/test.txt # edx-django-utils -pytest==8.2.2 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -461,7 +432,6 @@ python3-openid==3.2.0 pytz==2024.1 # via # -r requirements/test.txt - # babel # django-ses pyyaml==6.0.1 # via @@ -470,7 +440,7 @@ pyyaml==6.0.1 # drf-spectacular readme-renderer==43.0 # via -r requirements/doc.in -redis==5.0.7 +redis==5.0.8 # via -r requirements/test.txt referencing==0.35.1 # via @@ -493,7 +463,7 @@ requests-oauthlib==2.0.0 # social-auth-core restructuredtext-lint==1.4.0 # via doc8 -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/test.txt # jsonschema @@ -535,26 +505,26 @@ social-auth-core==4.5.4 # social-auth-app-django soupsieve==2.5 # via beautifulsoup4 -sphinx==6.2.1 +sphinx==8.0.2 # via # -r requirements/doc.in # pydata-sphinx-theme # sphinx-book-theme -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.3 # via -r requirements/doc.in -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/test.txt # django @@ -569,13 +539,6 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/test.txt - # coverage - # doc8 - # pylint - # pytest tomlkit==0.13.0 # via # -r requirements/test.txt @@ -583,23 +546,17 @@ tomlkit==0.13.0 typing-extensions==4.12.2 # via # -r requirements/test.txt - # asgiref - # astroid - # drf-spectacular # edx-opaque-keys - # kombu # pydata-sphinx-theme - # pylint tzdata==2024.1 # via # -r requirements/test.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/test.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/test.txt # botocore @@ -615,10 +572,7 @@ wcwidth==0.2.13 # -r requirements/test.txt # prompt-toolkit zipp==3.19.2 - # via - # -r requirements/test.txt - # importlib-metadata - # importlib-resources + # via -r requirements/test.txt # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index f577da4d..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,10 +8,6 @@ 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.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 # 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..54b05719 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 @@ -8,7 +8,7 @@ wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.1.2 +pip==24.2 # via -r requirements/pip.in -setuptools==70.3.0 +setuptools==72.1.0 # via -r requirements/pip.in diff --git a/requirements/production.txt b/requirements/production.txt index 5aa0bcd7..f74f418a 100644 --- a/requirements/production.txt +++ b/requirements/production.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 @@ -15,10 +15,6 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis attrs==23.2.0 # via # -r requirements/base.txt @@ -28,23 +24,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/base.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/base.txt # boto3 @@ -92,7 +80,7 @@ code-annotations==1.8.0 # via # -r requirements/base.txt # edx-toggles -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/base.txt # pyjwt @@ -225,11 +213,6 @@ idna==3.7 # via # -r requirements/base.txt # requests -importlib-resources==6.4.0 - # via - # -r requirements/base.txt - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via # -r requirements/base.txt @@ -284,10 +267,6 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/base.txt - # jsonschema ply==3.11 # via # -r requirements/base.txt @@ -348,7 +327,7 @@ pyyaml==6.0.1 # -r requirements/production.in # code-annotations # drf-spectacular -redis==5.0.7 +redis==5.0.8 # via -r requirements/base.txt referencing==0.35.1 # via @@ -368,7 +347,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/base.txt # jsonschema @@ -405,7 +384,7 @@ social-auth-core==4.5.4 # -r requirements/base.txt # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -422,20 +401,16 @@ text-unidecode==1.3 typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # drf-spectacular # edx-opaque-keys - # kombu tzdata==2024.1 # via # -r requirements/base.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/base.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/base.txt # botocore @@ -451,9 +426,7 @@ wcwidth==0.2.13 # -r requirements/base.txt # prompt-toolkit zipp==3.19.2 - # via - # -r requirements/base.txt - # importlib-resources + # via -r requirements/base.txt zope-event==5.0 # via gevent zope-interface==6.4.post2 diff --git a/requirements/quality.txt b/requirements/quality.txt index fee989c3..80e161c6 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 @@ -15,14 +15,10 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.3 +astroid==3.2.4 # via # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis attrs==23.2.0 # via # -r requirements/base.txt @@ -32,23 +28,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/base.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/base.txt # boto3 @@ -101,7 +89,7 @@ code-annotations==1.8.0 # -r requirements/base.txt # edx-lint # edx-toggles -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/base.txt # pyjwt @@ -216,7 +204,7 @@ edx-drf-extensions==10.3.0 # via # -r requirements/base.txt # edx-rbac -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/quality.in edx-opaque-keys==2.10.0 # via @@ -232,11 +220,6 @@ idna==3.7 # via # -r requirements/base.txt # requests -importlib-resources==6.4.0 - # via - # -r requirements/base.txt - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via # -r requirements/base.txt @@ -295,10 +278,6 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/base.txt - # jsonschema platformdirs==4.2.2 # via pylint ply==3.11 @@ -329,7 +308,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.5 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -374,7 +353,7 @@ pyyaml==6.0.1 # -r requirements/base.txt # code-annotations # drf-spectacular -redis==5.0.7 +redis==5.0.8 # via -r requirements/base.txt referencing==0.35.1 # via @@ -394,7 +373,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/base.txt # jsonschema @@ -434,7 +413,7 @@ social-auth-core==4.5.4 # -r requirements/base.txt # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -448,29 +427,21 @@ text-unidecode==1.3 # via # -r requirements/base.txt # python-slugify -tomli==2.0.1 - # via pylint tomlkit==0.13.0 # via pylint typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # astroid - # drf-spectacular # edx-opaque-keys - # kombu - # pylint tzdata==2024.1 # via # -r requirements/base.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/base.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/base.txt # botocore @@ -486,9 +457,7 @@ wcwidth==0.2.13 # -r requirements/base.txt # prompt-toolkit zipp==3.19.2 - # via - # -r requirements/base.txt - # importlib-resources + # via -r requirements/base.txt # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/test.txt b/requirements/test.txt index a15c8f1b..0af6687a 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 @@ -15,14 +15,10 @@ asgiref==3.8.1 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.3 +astroid==3.2.4 # via # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis attrs==23.2.0 # via # -r requirements/base.txt @@ -32,23 +28,15 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/base.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/base.txt # boto3 @@ -106,7 +94,7 @@ 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 @@ -225,7 +213,7 @@ edx-drf-extensions==10.3.0 # via # -r requirements/base.txt # edx-rbac -edx-lint==5.3.6 +edx-lint==5.3.7 # via -r requirements/test.in edx-opaque-keys==2.10.0 # via @@ -237,8 +225,6 @@ edx-rest-api-client==5.7.1 # via -r requirements/base.txt edx-toggles==5.2.0 # via -r requirements/base.txt -exceptiongroup==1.2.2 - # via pytest factory-boy==3.3.0 # via -r requirements/test.in faker==26.0.0 @@ -249,11 +235,6 @@ idna==3.7 # via # -r requirements/base.txt # requests -importlib-resources==6.4.0 - # via - # -r requirements/base.txt - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via # -r requirements/base.txt @@ -314,10 +295,6 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/base.txt - # jsonschema platformdirs==4.2.2 # via pylint pluggy==1.5.0 @@ -346,7 +323,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.5 +pylint==3.2.6 # via # edx-lint # pylint-celery @@ -368,7 +345,7 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==8.2.2 +pytest==8.3.2 # via # pytest-cov # pytest-django @@ -401,7 +378,7 @@ pyyaml==6.0.1 # -r requirements/base.txt # code-annotations # drf-spectacular -redis==5.0.7 +redis==5.0.8 # via -r requirements/base.txt referencing==0.35.1 # via @@ -421,7 +398,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/base.txt # jsonschema @@ -459,7 +436,7 @@ social-auth-core==4.5.4 # -r requirements/base.txt # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/base.txt # django @@ -473,32 +450,21 @@ text-unidecode==1.3 # via # -r requirements/base.txt # python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pytest tomlkit==0.13.0 # via pylint typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # astroid - # drf-spectacular # edx-opaque-keys - # kombu - # pylint tzdata==2024.1 # via # -r requirements/base.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/base.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/base.txt # botocore @@ -514,9 +480,7 @@ wcwidth==0.2.13 # -r requirements/base.txt # prompt-toolkit zipp==3.19.2 - # via - # -r requirements/base.txt - # importlib-resources + # via -r requirements/base.txt # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/validation.txt b/requirements/validation.txt index 5d2f2b65..fa96cb98 100644 --- a/requirements/validation.txt +++ b/requirements/validation.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 @@ -19,17 +19,12 @@ asgiref==3.8.1 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.3 +astroid==3.2.4 # via # -r requirements/quality.txt # -r requirements/test.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # redis attrs==23.2.0 # via # -r requirements/quality.txt @@ -41,26 +36,17 @@ backoff==1.10.0 # -r requirements/quality.txt # -r requirements/test.txt # analytics-python -backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" - # via - # -c requirements/constraints.txt - # -r requirements/quality.txt - # -r requirements/test.txt - # celery - # django - # djangorestframework - # kombu billiard==4.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt # celery -boto3==1.34.144 +boto3==1.34.150 # via # -r requirements/quality.txt # -r requirements/test.txt # django-ses -botocore==1.34.144 +botocore==1.34.150 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -130,7 +116,7 @@ coverage[toml]==7.6.0 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -296,9 +282,9 @@ edx-drf-extensions==10.3.0 # -r requirements/quality.txt # -r requirements/test.txt # edx-rbac -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.2 # via -r requirements/validation.in -edx-lint==5.3.6 +edx-lint==5.3.7 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -319,10 +305,6 @@ edx-toggles==5.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt -exceptiongroup==1.2.2 - # via - # -r requirements/test.txt - # pytest factory-boy==3.3.0 # via -r requirements/test.txt faker==26.0.0 @@ -336,12 +318,6 @@ idna==3.7 # -r requirements/quality.txt # -r requirements/test.txt # requests -importlib-resources==6.4.0 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # jsonschema - # jsonschema-specifications inflection==0.5.1 # via # -r requirements/quality.txt @@ -387,12 +363,8 @@ kombu==5.3.7 # -r requirements/quality.txt # -r requirements/test.txt # celery -lxml[html-clean,html_clean]==5.2.2 - # via - # edx-i18n-tools - # lxml-html-clean -lxml-html-clean==0.1.1 - # via lxml +lxml==5.2.2 + # via edx-i18n-tools markupsafe==2.1.5 # via # -r requirements/quality.txt @@ -427,7 +399,7 @@ packaging==24.1 # via # -r requirements/test.txt # pytest -path==16.14.0 +path==16.16.0 # via edx-i18n-tools pathlib2==2.3.7.post1 # via -r requirements/validation.in @@ -436,11 +408,6 @@ pbr==6.0.0 # -r requirements/quality.txt # -r requirements/test.txt # stevedore -pkgutil-resolve-name==1.3.10 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # jsonschema platformdirs==4.2.2 # via # -r requirements/quality.txt @@ -485,7 +452,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.2.5 +pylint==3.2.6 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -519,7 +486,7 @@ pynacl==1.5.0 # -r requirements/quality.txt # -r requirements/test.txt # edx-django-utils -pytest==8.2.2 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -559,7 +526,7 @@ pyyaml==6.0.1 # code-annotations # drf-spectacular # edx-i18n-tools -redis==5.0.7 +redis==5.0.8 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -584,7 +551,7 @@ requests-oauthlib==2.0.0 # -r requirements/quality.txt # -r requirements/test.txt # social-auth-core -rpds-py==0.19.0 +rpds-py==0.19.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -638,7 +605,7 @@ social-auth-core==4.5.4 # -r requirements/test.txt # edx-auth-backends # social-auth-app-django -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -655,13 +622,6 @@ text-unidecode==1.3 # -r requirements/quality.txt # -r requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # coverage - # pylint - # pytest tomlkit==0.13.0 # via # -r requirements/quality.txt @@ -671,24 +631,18 @@ typing-extensions==4.12.2 # via # -r requirements/quality.txt # -r requirements/test.txt - # asgiref - # astroid - # drf-spectacular # edx-opaque-keys - # kombu - # pylint tzdata==2024.1 # via # -r requirements/quality.txt # -r requirements/test.txt - # backports-zoneinfo # celery uritemplate==4.1.1 # via # -r requirements/quality.txt # -r requirements/test.txt # drf-spectacular -urllib3==1.26.19 +urllib3==2.2.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -710,7 +664,6 @@ zipp==3.19.2 # via # -r requirements/quality.txt # -r requirements/test.txt - # importlib-resources # The following packages are considered to be unsafe in a requirements file: # setuptools From 908172c8e61f9d9287342832dbbd7a920af13147 Mon Sep 17 00:00:00 2001 From: Brian Beggs Date: Tue, 30 Jul 2024 15:12:42 -0400 Subject: [PATCH 2/2] chore: Drop python 3.8 support. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/mysql8-migrations-check.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d724382e..261a75e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11", "3.12"] + python-version: ["3.11", "3.12"] django-version: ["pinned"] steps: - uses: actions/checkout@v2 @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11", "3.12"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/.github/workflows/mysql8-migrations-check.yml b/.github/workflows/mysql8-migrations-check.yml index 169ea1bf..0e654b45 100644 --- a/.github/workflows/mysql8-migrations-check.yml +++ b/.github/workflows/mysql8-migrations-check.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ ubuntu-20.04 ] - python-version: [ 3.8 ] + python-version: [ 3.12 ] steps: - name: Checkout repo