From b1e03fbd050ffae8ed831971ffd0e269603304e9 Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Mon, 9 Dec 2024 16:25:22 +0500 Subject: [PATCH] feat!: Python 3.12 Upgrade (#284) * feat!: python and django update * fix: updated python update constraint --------- Co-authored-by: Usama Sadiq --- .github/workflows/check-reserved-keywords.yml | 2 +- .github/workflows/ci2.yml | 4 +- .github/workflows/pypi-publish.yml | 2 +- pylintrc | 3 +- pylintrc_tweaks | 1 + requirements/base.txt | 97 ++++---- requirements/ci.txt | 20 +- requirements/common_constraints.txt | 19 +- requirements/dev.txt | 207 +++++++----------- requirements/django.txt | 2 +- requirements/doc.txt | 204 +++++++---------- requirements/pip-tools.txt | 18 +- requirements/pip.txt | 12 +- requirements/production.txt | 110 ++++------ requirements/quality.txt | 188 ++++++---------- requirements/test.txt | 145 +++++------- requirements/validation.txt | 190 ++++++---------- setup.py | 6 +- tox.ini | 13 +- 19 files changed, 502 insertions(+), 741 deletions(-) diff --git a/.github/workflows/check-reserved-keywords.yml b/.github/workflows/check-reserved-keywords.yml index 7c535ade..0f6efe3e 100644 --- a/.github/workflows/check-reserved-keywords.yml +++ b/.github/workflows/check-reserved-keywords.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/.github/workflows/ci2.yml b/.github/workflows/ci2.yml index 82818142..f5f0e2ec 100644 --- a/.github/workflows/ci2.yml +++ b/.github/workflows/ci2.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] + python-version: ['3.12'] toxenv: [django42, quality, docs, pii_check] permissions: # Gives the action the necessary permissions for publishing new @@ -46,7 +46,7 @@ jobs: - name: Report coverage id: coverage_comment - if: matrix.python-version == '3.8' && matrix.toxenv == 'django42' + if: matrix.python-version == '3.12' && matrix.toxenv == 'django42' uses: py-cov-action/python-coverage-comment-action@v3 with: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index a22e9e6a..d7898fd8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/pylintrc b/pylintrc index d77a09f4..04da4cd5 100644 --- a/pylintrc +++ b/pylintrc @@ -291,6 +291,7 @@ disable = django-not-configured, consider-using-with, bad-option-value, + too-many-positional-arguments [REPORTS] output-format = text @@ -387,4 +388,4 @@ int-import-graph = [EXCEPTIONS] overgeneral-exceptions = builtins.Exception -# c7aa11095d3af8c5ffe7c05c3048b8ac45fdbc57 +# b23ca960adcfedcbb4d66893ab4094db594ffca4 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index a4e64f53..776b699b 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -10,6 +10,7 @@ DISABLE+= django-not-configured, consider-using-with, bad-option-value, + too-many-positional-arguments [FORMAT] ignore-long-lines = ^\s*(#\s*)?((?)|(\.\. \w+: .*))$ diff --git a/requirements/base.txt b/requirements/base.txt index 697f2cfc..f1484a6b 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.12 # by the following command: # # make upgrade @@ -11,29 +11,21 @@ asgiref==3.7.2 # -r requirements/base.in # django # django-cors-headers -async-timeout==4.0.3 - # via redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/base.in backoff==2.2.1 # via segment-analytics-python -backports-zoneinfo[tzdata]==0.2.1 - # via - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via celery celery[redis]==5.4.0 # via -r requirements/base.in -certifi==2024.6.2 +certifi==2024.8.30 # via requests -cffi==1.16.0 +cffi==1.17.1 # via # cryptography # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via requests click==8.1.7 # via @@ -56,7 +48,7 @@ coreapi==2.3.3 # openapi-codec coreschema==0.0.4 # via coreapi -cryptography==42.0.8 +cryptography==43.0.3 # via # pyjwt # social-auth-core @@ -66,7 +58,7 @@ defusedxml==0.8.0rc2 # via # python3-openid # social-auth-core -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # -c requirements/constraints.txt @@ -83,7 +75,7 @@ django==4.2.13 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/base.in django-crum==0.7.9 # via edx-django-utils @@ -102,48 +94,48 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via pymongo drf-jwt==1.19.2 # via edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/base.in edx-braze-client==0.2.5 # via -r requirements/base.in edx-django-release-util==1.4.0 # via -r requirements/base.in -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/base.in # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/base.in -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/base.in -idna==3.7 +idna==3.10 # via requests itypes==1.2.0 # via coreapi jinja2==3.1.4 # via coreschema -kombu==5.3.7 +kombu==5.4.2 # via celery -markupsafe==2.1.5 +markupsafe==3.0.2 # via # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # commercetools # marshmallow-enum marshmallow-enum==1.5.1 # via commercetools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via -r requirements/base.in -newrelic==9.11.0 +newrelic==10.2.0 # via edx-django-utils oauthlib==3.2.2 # via @@ -151,21 +143,21 @@ oauthlib==3.2.2 # social-auth-core openapi-codec==1.3.2 # via django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/base.in packaging==24.1 # via marshmallow -pbr==6.0.0 +pbr==6.1.0 # via stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/base.in -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via click-repl -psutil==6.0.0 +psutil==6.1.0 # via edx-django-utils pycparser==2.22 # via cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-auth-backends @@ -173,7 +165,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pymongo==4.7.3 +pymongo==4.10.1 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils @@ -184,13 +176,13 @@ python-dateutil==2.9.0.post0 # segment-analytics-python python3-openid==3.2.0 # via social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/base.in # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via edx-django-release-util -redis==5.0.7 +redis==5.2.0 # via celery requests==2.32.3 # via @@ -201,7 +193,6 @@ requests==2.32.3 # requests-mock # requests-oauthlib # segment-analytics-python - # slumber # social-auth-core # stripe requests-mock==1.12.1 @@ -210,46 +201,42 @@ requests-oauthlib==2.0.0 # via # commercetools # social-auth-core -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/base.in semantic-version==2.10.0 # via edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via django-rest-swagger six==1.16.0 # via # edx-auth-backends # edx-django-release-util # python-dateutil -slumber==0.7.1 - # via edx-rest-api-client -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via edx-auth-backends 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 +stevedore==5.3.0 # via # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/base.in typing-extensions==4.12.2 # via - # asgiref # edx-opaque-keys - # kombu # stripe -tzdata==2024.1 +tzdata==2024.2 # via - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via requests vine==5.1.0 # via @@ -258,9 +245,9 @@ vine==5.1.0 # kombu wcwidth==0.2.13 # via prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via commercetools wrapt==1.16.0 # via commercetools diff --git a/requirements/ci.txt b/requirements/ci.txt index 154d9d09..dc61486c 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,18 +1,18 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -cachetools==5.3.3 +cachetools==5.5.0 # via tox chardet==5.2.0 # via tox colorama==0.4.6 # via tox -distlib==0.3.8 +distlib==0.3.9 # via virtualenv -filelock==3.15.4 +filelock==3.16.1 # via # tox # virtualenv @@ -20,19 +20,15 @@ packaging==24.1 # via # pyproject-api # tox -platformdirs==4.2.2 +platformdirs==4.3.6 # via # tox # virtualenv pluggy==1.5.0 # via tox -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox -tox==4.15.1 +tox==4.23.2 # via -r requirements/ci.in -virtualenv==20.26.3 +virtualenv==20.27.1 # via tox diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt index aaa125a7..c54963e0 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -18,16 +18,19 @@ 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 + +# Cause: https://github.com/openedx/edx-lint/issues/458 +# This can be unpinned once https://github.com/openedx/edx-lint/issues/459 has been resolved. +pip<24.3 diff --git a/requirements/dev.txt b/requirements/dev.txt index 80893717..5cb7e1a7 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.12 # by the following command: # # make upgrade @@ -13,51 +13,36 @@ asgiref==3.7.2 # -r requirements/validation.txt # django # django-cors-headers -astroid==3.2.2 +astroid==3.3.5 # via # -r requirements/validation.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/validation.txt - # redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/validation.txt backoff==2.2.1 # via # -r requirements/validation.txt # segment-analytics-python -backports-tarfile==1.2.0 - # via - # -r requirements/validation.txt - # jaraco-context -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/validation.txt - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/validation.txt # celery -build==1.2.1 +build==1.2.2.post1 # via # -r requirements/pip-tools.txt # pip-tools -cachetools==5.3.3 +cachetools==5.5.0 # via # -r requirements/validation.txt # tox celery[redis]==5.4.0 # via -r requirements/validation.txt -certifi==2024.6.2 +certifi==2024.8.30 # via # -r requirements/validation.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/validation.txt # cryptography @@ -67,7 +52,7 @@ chardet==5.2.0 # -r requirements/validation.txt # diff-cover # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/validation.txt # requests @@ -119,11 +104,11 @@ coreschema==0.0.4 # via # -r requirements/validation.txt # coreapi -coverage[toml]==7.5.4 +coverage[toml]==7.6.4 # via # -r requirements/validation.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/validation.txt # pyjwt @@ -137,17 +122,17 @@ defusedxml==0.8.0rc2 # -r requirements/validation.txt # python3-openid # social-auth-core -diff-cover==9.1.0 +diff-cover==9.2.0 # via -r requirements/dev.in -dill==0.3.8 +dill==0.3.9 # via # -r requirements/validation.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/validation.txt # virtualenv -django==4.2.13 +django==4.2.16 # via # -r requirements/validation.txt # django-cors-headers @@ -164,13 +149,13 @@ django==4.2.13 # edx-i18n-tools # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/validation.txt django-crum==0.7.9 # via # -r requirements/validation.txt # edx-django-utils -django-debug-toolbar==4.4.2 +django-debug-toolbar==4.4.6 # via # -r requirements/dev.in # -r requirements/validation.txt @@ -191,11 +176,11 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/validation.txt # pymongo -docutils==0.20.1 +docutils==0.21.2 # via # -r requirements/validation.txt # readme-renderer @@ -203,53 +188,42 @@ drf-jwt==1.19.2 # via # -r requirements/validation.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/validation.txt edx-braze-client==0.2.5 # via -r requirements/validation.txt edx-django-release-util==1.4.0 # via -r requirements/validation.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/validation.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/validation.txt -edx-i18n-tools==1.6.0 +edx-i18n-tools==1.6.3 # via -r requirements/dev.in -edx-lint==5.3.6 +edx-lint==5.4.1 # via -r requirements/validation.txt -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/validation.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/validation.txt -exceptiongroup==1.2.1 - # via - # -r requirements/validation.txt - # pytest -filelock==3.15.4 +filelock==3.16.1 # via # -r requirements/validation.txt # tox # virtualenv -idna==3.7 +idna==3.10 # via # -r requirements/validation.txt # requests -importlib-metadata==6.11.0 +importlib-metadata==8.5.0 # via - # -r requirements/pip-tools.txt # -r requirements/validation.txt - # build - # keyring # twine -importlib-resources==6.4.0 - # via - # -r requirements/validation.txt - # keyring iniconfig==2.0.0 # via # -r requirements/validation.txt @@ -266,11 +240,11 @@ jaraco-classes==3.4.0 # via # -r requirements/validation.txt # keyring -jaraco-context==5.3.0 +jaraco-context==6.0.1 # via # -r requirements/validation.txt # keyring -jaraco-functools==4.0.1 +jaraco-functools==4.1.0 # via # -r requirements/validation.txt # keyring @@ -280,30 +254,30 @@ jinja2==3.1.4 # code-annotations # coreschema # diff-cover -keyring==25.2.1 +keyring==25.5.0 # via # -r requirements/validation.txt # twine -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/validation.txt # celery -lxml[html-clean,html_clean]==5.2.2 +lxml[html-clean,html_clean]==5.3.0 # via # edx-i18n-tools # lxml-html-clean -lxml-html-clean==0.1.1 +lxml-html-clean==0.3.1 # via lxml markdown-it-py==3.0.0 # via # -r requirements/validation.txt # rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/validation.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/validation.txt # commercetools @@ -322,18 +296,18 @@ mdurl==0.1.2 # markdown-it-py mock==5.1.0 # via -r requirements/validation.txt -more-itertools==10.3.0 +more-itertools==10.5.0 # via # -r requirements/validation.txt # jaraco-classes # jaraco-functools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via -r requirements/validation.txt -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/validation.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via # -r requirements/validation.txt # readme-renderer @@ -346,7 +320,7 @@ openapi-codec==1.3.2 # via # -r requirements/validation.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/validation.txt packaging==24.1 # via @@ -357,13 +331,13 @@ packaging==24.1 # pyproject-api # pytest # tox -path==16.14.0 +path==16.16.0 # via edx-i18n-tools -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/validation.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/validation.txt pip-tools==7.4.1 # via -r requirements/pip-tools.txt @@ -371,7 +345,7 @@ pkginfo==1.10.0 # via # -r requirements/validation.txt # twine -platformdirs==4.2.2 +platformdirs==4.3.6 # via # -r requirements/validation.txt # pylint @@ -385,15 +359,15 @@ pluggy==1.5.0 # tox polib==1.2.0 # via edx-i18n-tools -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/validation.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/validation.txt # edx-django-utils -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/validation.txt pycparser==2.22 # via @@ -407,7 +381,7 @@ pygments==2.18.0 # diff-cover # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/validation.txt # drf-jwt @@ -416,7 +390,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pylint==3.2.4 +pylint==3.3.1 # via # -r requirements/validation.txt # edx-lint @@ -427,7 +401,7 @@ pylint-celery==0.3 # via # -r requirements/validation.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/validation.txt # edx-lint @@ -436,7 +410,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/validation.txt # pylint-celery # pylint-django -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/validation.txt # edx-opaque-keys @@ -444,23 +418,23 @@ pynacl==1.5.0 # via # -r requirements/validation.txt # edx-django-utils -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via # -r requirements/validation.txt # tox -pyproject-hooks==1.1.0 +pyproject-hooks==1.2.0 # via # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/validation.txt # pytest-cov # pytest-django -pytest-cov==5.0.0 +pytest-cov==6.0.0 # via -r requirements/validation.txt -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/validation.txt python-dateutil==2.9.0.post0 # via @@ -475,22 +449,22 @@ python3-openid==3.2.0 # via # -r requirements/validation.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/validation.txt # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/validation.txt # code-annotations # edx-django-release-util # edx-i18n-tools # responses -readme-renderer==43.0 +readme-renderer==44.0 # via # -r requirements/validation.txt # twine -redis==5.0.7 +redis==5.2.0 # via # -r requirements/validation.txt # celery @@ -506,7 +480,6 @@ requests==2.32.3 # requests-toolbelt # responses # segment-analytics-python - # slumber # social-auth-core # stripe # twine @@ -529,17 +502,17 @@ rfc3986==2.0.0 # via # -r requirements/validation.txt # twine -rich==13.7.1 +rich==13.9.3 # via # -r requirements/validation.txt # twine -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/validation.txt semantic-version==2.10.0 # via # -r requirements/validation.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/validation.txt # django-rest-swagger @@ -550,15 +523,11 @@ six==1.16.0 # edx-django-release-util # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/validation.txt - # edx-rest-api-client snowballstemmer==2.2.0 # via # -r requirements/validation.txt # pydocstyle -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/validation.txt # edx-auth-backends @@ -567,18 +536,18 @@ 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 # django-debug-toolbar -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/validation.txt # code-annotations # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/validation.txt testfixtures==8.3.0 # via -r requirements/validation.txt @@ -586,45 +555,29 @@ 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 - # pyproject-api - # pytest - # tox -tomlkit==0.12.5 +tomlkit==0.13.2 # via # -r requirements/validation.txt # pylint -tox==4.15.1 +tox==4.23.2 # via -r requirements/validation.txt twine==5.1.1 # via -r requirements/validation.txt typing-extensions==4.12.2 # via # -r requirements/validation.txt - # asgiref - # astroid # edx-opaque-keys - # kombu - # pylint - # rich # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/validation.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/validation.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/validation.txt # requests @@ -636,7 +589,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.3 +virtualenv==20.27.1 # via # -r requirements/validation.txt # tox @@ -644,15 +597,15 @@ wcwidth==0.2.13 # via # -r requirements/validation.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/validation.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/validation.txt # commercetools -wheel==0.43.0 +wheel==0.44.0 # via # -r requirements/pip-tools.txt # pip-tools @@ -660,12 +613,10 @@ wrapt==1.16.0 # via # -r requirements/validation.txt # commercetools -zipp==3.19.2 +zipp==3.20.2 # via - # -r requirements/pip-tools.txt # -r requirements/validation.txt # importlib-metadata - # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/django.txt b/requirements/django.txt index 092a8ec1..64aaf996 100644 --- a/requirements/django.txt +++ b/requirements/django.txt @@ -1 +1 @@ -django==4.2.13 +django==4.2.16 diff --git a/requirements/doc.txt b/requirements/doc.txt index c6475e58..b37232a4 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.12 # by the following command: # # pip-compile --output-file=requirements/doc.txt requirements/doc.in # +alabaster==0.7.16 accessible-pygments==0.0.4 # via pydata-sphinx-theme -alabaster==0.7.13 # via sphinx amqp==5.2.0 # via @@ -17,53 +17,41 @@ asgiref==3.7.2 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.2 +astroid==3.3.5 # via # -r requirements/test.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/test.txt - # redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/test.txt -babel==2.15.0 - # via - # pydata-sphinx-theme - # sphinx +babel==2.16.0 + # via sphinx + # pydata-sphinx-theme backoff==2.2.1 # via # -r requirements/test.txt # segment-analytics-python -backports-tarfile==1.2.0 - # via jaraco-context -backports-zoneinfo[tzdata]==0.2.1 +billiard==4.2.1 # via # -r requirements/test.txt # celery +build==1.2.2.post1 # django # djangorestframework # kombu beautifulsoup4==4.12.3 # via pydata-sphinx-theme -billiard==4.2.0 - # via - # -r requirements/test.txt - # celery -build==1.2.1 - # via -r requirements/doc.in -cachetools==5.3.3 +cachetools==5.5.0 # via # -r requirements/test.txt # tox celery[redis]==5.4.0 # via -r requirements/test.txt -certifi==2024.6.2 +certifi==2024.8.30 # via # -r requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/test.txt # cryptography @@ -72,7 +60,7 @@ chardet==5.2.0 # via # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/test.txt # requests @@ -122,11 +110,11 @@ coreschema==0.0.4 # via # -r requirements/test.txt # coreapi -coverage[toml]==7.5.4 +coverage[toml]==7.6.4 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/test.txt # pyjwt @@ -140,15 +128,15 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/test.txt # virtualenv -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # -c requirements/constraints.txt @@ -164,7 +152,7 @@ django==4.2.13 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/test.txt django-crum==0.7.9 # via @@ -187,11 +175,11 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/test.txt # pymongo -doc8==1.1.1 +doc8==1.1.2 # via -r requirements/doc.in docutils==0.19 # via @@ -204,51 +192,46 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/test.txt edx-braze-client==0.2.5 # via -r requirements/test.txt edx-django-release-util==1.4.0 # via -r requirements/test.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/test.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.4.1 # via -r requirements/test.txt -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/test.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/test.txt +edx-sphinx-theme==3.1.0 + # via -r requirements/doc.in exceptiongroup==1.2.1 # via # -r requirements/test.txt # pytest -filelock==3.15.4 +filelock==3.16.1 # via # -r requirements/test.txt # tox # virtualenv -idna==3.7 +idna==3.10 # via # -r requirements/test.txt # requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # build - # keyring - # sphinx - # twine -importlib-resources==6.4.0 - # via keyring +importlib-metadata==8.5.0 + # via twine iniconfig==2.0.0 # via # -r requirements/test.txt @@ -263,9 +246,9 @@ itypes==1.2.0 # coreapi jaraco-classes==3.4.0 # via keyring -jaraco-context==5.3.0 +jaraco-context==6.0.1 # via keyring -jaraco-functools==4.0.1 +jaraco-functools==4.1.0 # via keyring jinja2==3.1.4 # via @@ -273,20 +256,20 @@ jinja2==3.1.4 # code-annotations # coreschema # sphinx -keyring==25.2.1 +keyring==25.5.0 # via twine -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/test.txt # celery markdown-it-py==3.0.0 # via rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/test.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/test.txt # commercetools @@ -303,17 +286,17 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.txt -more-itertools==10.3.0 +more-itertools==10.5.0 # via # jaraco-classes # jaraco-functools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via -r requirements/test.txt -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/test.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via readme-renderer oauthlib==3.2.2 # via @@ -324,7 +307,7 @@ openapi-codec==1.3.2 # via # -r requirements/test.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/test.txt packaging==24.1 # via @@ -336,15 +319,15 @@ packaging==24.1 # pytest # sphinx # tox -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/test.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/test.txt pkginfo==1.10.0 # via twine -platformdirs==4.2.2 +platformdirs==4.3.6 # via # -r requirements/test.txt # pylint @@ -355,11 +338,11 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/test.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/test.txt # edx-django-utils @@ -377,7 +360,7 @@ pygments==2.18.0 # readme-renderer # rich # sphinx -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/test.txt # drf-jwt @@ -386,7 +369,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pylint==3.2.4 +pylint==3.3.1 # via # -r requirements/test.txt # edx-lint @@ -397,7 +380,7 @@ pylint-celery==0.3 # via # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/test.txt # edx-lint @@ -406,7 +389,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/test.txt # edx-opaque-keys @@ -414,20 +397,20 @@ pynacl==1.5.0 # via # -r requirements/test.txt # edx-django-utils -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via # -r requirements/test.txt # tox -pyproject-hooks==1.1.0 +pyproject-hooks==1.2.0 # via build -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.txt # pytest-cov # pytest-django -pytest-cov==5.0.0 +pytest-cov==6.0.0 # via -r requirements/test.txt -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/test.txt python-dateutil==2.9.0.post0 # via @@ -442,12 +425,11 @@ python3-openid==3.2.0 # via # -r requirements/test.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/test.txt - # babel # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations @@ -455,7 +437,7 @@ pyyaml==6.0.1 # responses readme-renderer==43.0 # via twine -redis==5.0.7 +redis==5.2.0 # via # -r requirements/test.txt # celery @@ -471,7 +453,6 @@ requests==2.32.3 # requests-toolbelt # responses # segment-analytics-python - # slumber # social-auth-core # sphinx # stripe @@ -493,15 +474,15 @@ restructuredtext-lint==1.4.0 # via doc8 rfc3986==2.0.0 # via twine -rich==13.7.1 +rich==13.9.3 # via twine -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/test.txt semantic-version==2.10.0 # via # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/test.txt # django-rest-swagger @@ -512,13 +493,9 @@ six==1.16.0 # edx-django-release-util # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/test.txt - # edx-rest-api-client snowballstemmer==2.2.0 # via sphinx -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/test.txt # edx-auth-backends @@ -532,34 +509,33 @@ soupsieve==2.5 sphinx==5.3.0 # via # -r requirements/doc.in +sphinxcontrib-applehelp==2.0.0 # pydata-sphinx-theme # sphinx-book-theme sphinx-book-theme==1.0.1 # via -r requirements/doc.in -sphinxcontrib-applehelp==1.0.4 - # 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 -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/test.txt # code-annotations # doc8 # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/test.txt testfixtures==8.3.0 # via -r requirements/test.txt @@ -567,45 +543,33 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/test.txt - # build - # coverage - # doc8 - # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.5 +tomlkit==0.13.2 # via # -r requirements/test.txt # pylint -tox==4.15.1 +tox==4.23.2 # via -r requirements/test.txt twine==5.1.1 # via -r requirements/doc.in typing-extensions==4.12.2 # via # -r requirements/test.txt - # asgiref - # astroid # edx-opaque-keys # kombu # pydata-sphinx-theme # pylint # rich # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/test.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/test.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/test.txt # requests @@ -617,7 +581,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.3 +virtualenv==20.27.1 # via # -r requirements/test.txt # tox @@ -625,11 +589,11 @@ wcwidth==0.2.13 # via # -r requirements/test.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/test.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/test.txt # commercetools @@ -637,7 +601,5 @@ wrapt==1.16.0 # via # -r requirements/test.txt # commercetools -zipp==3.19.2 - # via - # importlib-metadata - # importlib-resources +zipp==3.20.2 + # via importlib-metadata diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index f577da4d..cf4131e2 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,33 +1,23 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -build==1.2.1 +build==1.2.2.post1 # 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 # via -r requirements/pip-tools.in -pyproject-hooks==1.1.0 - # via - # build - # pip-tools -tomli==2.0.1 +pyproject-hooks==1.2.0 # via # build # pip-tools -wheel==0.43.0 +wheel==0.44.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 c7fd0782..a8a601eb 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,14 +1,16 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # 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.1 - # via -r requirements/pip.in -setuptools==70.1.1 +pip==24.2 + # via + # -c requirements/common_constraints.txt + # -r requirements/pip.in +setuptools==75.2.0 # via -r requirements/pip.in diff --git a/requirements/production.txt b/requirements/production.txt index 58b545b2..e55689f7 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.12 # by the following command: # # make upgrade @@ -13,39 +13,28 @@ asgiref==3.7.2 # -r requirements/base.txt # django # django-cors-headers -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/base.txt backoff==2.2.1 # via # -r requirements/base.txt # segment-analytics-python -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery celery[redis]==5.4.0 # via -r requirements/base.txt -certifi==2024.6.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 # pynacl -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -80,7 +69,7 @@ coreschema==0.0.4 # via # -r requirements/base.txt # coreapi -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/base.txt # pyjwt @@ -92,7 +81,7 @@ defusedxml==0.8.0rc2 # -r requirements/base.txt # python3-openid # social-auth-core -django==4.2.13 +django==4.2.16 # via # -r requirements/base.txt # django-cors-headers @@ -107,7 +96,7 @@ django==4.2.13 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/base.txt django-crum==0.7.9 # via @@ -128,7 +117,7 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/base.txt # pymongo @@ -136,32 +125,32 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/base.txt edx-braze-client==0.2.5 # via -r requirements/base.txt edx-django-release-util==1.4.0 # via -r requirements/base.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/base.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/base.txt -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/base.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/base.txt -gevent==24.2.1 +gevent==24.10.3 # via -r requirements/production.in -greenlet==3.0.3 +greenlet==3.1.1 # via gevent -gunicorn==22.0.0 +gunicorn==23.0.0 # via -r requirements/production.in -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests @@ -173,16 +162,16 @@ jinja2==3.1.4 # via # -r requirements/base.txt # coreschema -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/base.txt # celery -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/base.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/base.txt # commercetools @@ -191,11 +180,11 @@ marshmallow-enum==1.5.1 # via # -r requirements/base.txt # commercetools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via # -r requirements/base.txt # -r requirements/production.in -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/base.txt # edx-django-utils @@ -208,24 +197,24 @@ openapi-codec==1.3.2 # via # -r requirements/base.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/base.txt packaging==24.1 # via # -r requirements/base.txt # gunicorn # marshmallow -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/base.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/base.txt -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/base.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/base.txt # edx-django-utils @@ -233,7 +222,7 @@ 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 @@ -244,7 +233,7 @@ pyjwt[crypto]==2.8.0 # social-auth-core pymemcache==4.0.0 # via -r requirements/production.in -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -261,16 +250,16 @@ python3-openid==3.2.0 # via # -r requirements/base.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/base.txt # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/base.txt # -r requirements/production.in # edx-django-release-util -redis==5.0.7 +redis==5.2.0 # via # -r requirements/base.txt # celery @@ -284,7 +273,6 @@ requests==2.32.3 # requests-mock # requests-oauthlib # segment-analytics-python - # slumber # social-auth-core # stripe requests-mock==1.12.1 @@ -296,13 +284,13 @@ requests-oauthlib==2.0.0 # -r requirements/base.txt # commercetools # social-auth-core -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/base.txt semantic-version==2.10.0 # via # -r requirements/base.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/base.txt # django-rest-swagger @@ -312,11 +300,7 @@ six==1.16.0 # edx-auth-backends # edx-django-release-util # python-dateutil -slumber==0.7.1 - # via - # -r requirements/base.txt - # edx-rest-api-client -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/base.txt # edx-auth-backends @@ -325,34 +309,32 @@ 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 -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/base.txt # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/base.txt typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref # edx-opaque-keys - # kombu # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/base.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/base.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/base.txt # requests @@ -366,11 +348,11 @@ wcwidth==0.2.13 # via # -r requirements/base.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/base.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/base.txt # commercetools @@ -380,7 +362,7 @@ wrapt==1.16.0 # commercetools zope-event==5.0 # via gevent -zope-interface==6.4.post2 +zope-interface==7.1.1 # via gevent # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/quality.txt b/requirements/quality.txt index 24635f57..252fe212 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.12 # by the following command: # # make upgrade @@ -13,45 +13,32 @@ asgiref==3.7.2 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.2 +astroid==3.3.5 # via # -r requirements/test.txt # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/test.txt - # redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/test.txt backoff==2.2.1 # via # -r requirements/test.txt # segment-analytics-python -backports-tarfile==1.2.0 - # via jaraco-context -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/test.txt - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/test.txt # celery -cachetools==5.3.3 +cachetools==5.5.0 # via # -r requirements/test.txt # tox celery[redis]==5.4.0 # via -r requirements/test.txt -certifi==2024.6.2 +certifi==2024.8.30 # via # -r requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/test.txt # cryptography @@ -60,7 +47,7 @@ chardet==5.2.0 # via # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/test.txt # requests @@ -110,11 +97,11 @@ coreschema==0.0.4 # via # -r requirements/test.txt # coreapi -coverage[toml]==7.5.4 +coverage[toml]==7.6.4 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/test.txt # pyjwt @@ -128,15 +115,15 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/test.txt # virtualenv -django==4.2.13 +django==4.2.16 # via # -c requirements/common_constraints.txt # -c requirements/constraints.txt @@ -154,13 +141,13 @@ django==4.2.13 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/test.txt django-crum==0.7.9 # via # -r requirements/test.txt # edx-django-utils -django-debug-toolbar==4.4.2 +django-debug-toolbar==4.4.6 # via -r requirements/quality.in django-dynamic-fixture==4.0.1 # via -r requirements/test.txt @@ -179,59 +166,50 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/test.txt # pymongo -docutils==0.20.1 +docutils==0.21.2 # via readme-renderer drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/test.txt edx-braze-client==0.2.5 # via -r requirements/test.txt edx-django-release-util==1.4.0 # via -r requirements/test.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/test.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.4.1 # via # -r requirements/quality.in # -r requirements/test.txt -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/test.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/test.txt -exceptiongroup==1.2.1 - # via - # -r requirements/test.txt - # pytest -filelock==3.15.4 +filelock==3.16.1 # via # -r requirements/test.txt # tox # virtualenv -idna==3.7 +idna==3.10 # via # -r requirements/test.txt # requests -importlib-metadata==6.11.0 - # via - # -c requirements/common_constraints.txt - # keyring - # twine -importlib-resources==6.4.0 - # via keyring +importlib-metadata==8.5.0 + # via twine iniconfig==2.0.0 # via # -r requirements/test.txt @@ -247,29 +225,29 @@ itypes==1.2.0 # coreapi jaraco-classes==3.4.0 # via keyring -jaraco-context==5.3.0 +jaraco-context==6.0.1 # via keyring -jaraco-functools==4.0.1 +jaraco-functools==4.1.0 # via keyring jinja2==3.1.4 # via # -r requirements/test.txt # code-annotations # coreschema -keyring==25.2.1 +keyring==25.5.0 # via twine -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/test.txt # celery markdown-it-py==3.0.0 # via rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/test.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/test.txt # commercetools @@ -286,17 +264,17 @@ mdurl==0.1.2 # via markdown-it-py mock==5.1.0 # via -r requirements/test.txt -more-itertools==10.3.0 +more-itertools==10.5.0 # via # jaraco-classes # jaraco-functools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via -r requirements/test.txt -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/test.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via readme-renderer oauthlib==3.2.2 # via @@ -307,7 +285,7 @@ openapi-codec==1.3.2 # via # -r requirements/test.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/test.txt packaging==24.1 # via @@ -316,15 +294,15 @@ packaging==24.1 # pyproject-api # pytest # tox -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/test.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/test.txt pkginfo==1.10.0 # via twine -platformdirs==4.2.2 +platformdirs==4.3.6 # via # -r requirements/test.txt # pylint @@ -335,15 +313,15 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/test.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/test.txt # edx-django-utils -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/quality.in pycparser==2.22 # via @@ -355,7 +333,7 @@ pygments==2.18.0 # via # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/test.txt # drf-jwt @@ -364,7 +342,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pylint==3.2.4 +pylint==3.3.1 # via # -r requirements/test.txt # edx-lint @@ -375,7 +353,7 @@ pylint-celery==0.3 # via # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/test.txt # edx-lint @@ -384,7 +362,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/test.txt # edx-opaque-keys @@ -392,18 +370,18 @@ pynacl==1.5.0 # via # -r requirements/test.txt # edx-django-utils -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via # -r requirements/test.txt # tox -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.txt # pytest-cov # pytest-django -pytest-cov==5.0.0 +pytest-cov==6.0.0 # via -r requirements/test.txt -pytest-django==4.8.0 +pytest-django==4.9.0 # via -r requirements/test.txt python-dateutil==2.9.0.post0 # via @@ -418,19 +396,19 @@ python3-openid==3.2.0 # via # -r requirements/test.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/test.txt # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/test.txt # code-annotations # edx-django-release-util # responses -readme-renderer==43.0 +readme-renderer==44.0 # via twine -redis==5.0.7 +redis==5.2.0 # via # -r requirements/test.txt # celery @@ -446,7 +424,6 @@ requests==2.32.3 # requests-toolbelt # responses # segment-analytics-python - # slumber # social-auth-core # stripe # twine @@ -465,15 +442,15 @@ responses==0.25.3 # via -r requirements/test.txt rfc3986==2.0.0 # via twine -rich==13.7.1 +rich==13.9.3 # via twine -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/test.txt semantic-version==2.10.0 # via # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/test.txt # django-rest-swagger @@ -484,13 +461,9 @@ six==1.16.0 # edx-django-release-util # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/test.txt - # edx-rest-api-client snowballstemmer==2.2.0 # via pydocstyle -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/test.txt # edx-auth-backends @@ -499,18 +472,18 @@ 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/test.txt # django # django-debug-toolbar -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/test.txt # code-annotations # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/test.txt testfixtures==8.3.0 # via -r requirements/test.txt @@ -518,42 +491,29 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify -tomli==2.0.1 +tomlkit==0.13.2 # via # -r requirements/test.txt - # coverage # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.5 - # via - # -r requirements/test.txt - # pylint -tox==4.15.1 +tox==4.23.2 # via -r requirements/test.txt twine==5.1.1 # via -r requirements/quality.in typing-extensions==4.12.2 # via # -r requirements/test.txt - # asgiref - # astroid # edx-opaque-keys - # kombu - # pylint - # rich # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/test.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/test.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/test.txt # requests @@ -565,7 +525,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.3 +virtualenv==20.27.1 # via # -r requirements/test.txt # tox @@ -573,11 +533,11 @@ wcwidth==0.2.13 # via # -r requirements/test.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/test.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/test.txt # commercetools @@ -585,7 +545,5 @@ wrapt==1.16.0 # via # -r requirements/test.txt # commercetools -zipp==3.19.2 - # via - # importlib-metadata - # importlib-resources +zipp==3.20.2 + # via importlib-metadata diff --git a/requirements/test.txt b/requirements/test.txt index fd9101ff..1ad7269b 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.12 # by the following command: # # make upgrade @@ -13,47 +13,36 @@ asgiref==3.7.2 # -r requirements/base.txt # django # django-cors-headers -astroid==3.2.2 +astroid==3.3.5 # via # pylint # pylint-celery -async-timeout==4.0.3 - # via - # -r requirements/base.txt - # redis -attrs==23.2.0 +attrs==24.2.0 # via -r requirements/base.txt backoff==2.2.1 # via # -r requirements/base.txt # segment-analytics-python -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/base.txt - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/base.txt # celery -cachetools==5.3.3 +cachetools==5.5.0 # via tox celery[redis]==5.4.0 # via -r requirements/base.txt -certifi==2024.6.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 # pynacl chardet==5.2.0 # via tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -99,11 +88,11 @@ coreschema==0.0.4 # via # -r requirements/base.txt # coreapi -coverage[toml]==7.5.4 +coverage[toml]==7.6.4 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/base.txt # pyjwt @@ -117,9 +106,9 @@ defusedxml==0.8.0rc2 # -r requirements/base.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via pylint -distlib==0.3.8 +distlib==0.3.9 # via virtualenv # via # -c requirements/common_constraints.txt @@ -137,7 +126,7 @@ distlib==0.3.8 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via -r requirements/base.txt django-crum==0.7.9 # via @@ -160,7 +149,7 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/base.txt # pymongo @@ -168,34 +157,32 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via -r requirements/base.txt edx-braze-client==0.2.5 # via -r requirements/base.txt edx-django-release-util==1.4.0 # via -r requirements/base.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/base.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via -r requirements/base.txt -edx-lint==5.3.6 +edx-lint==5.4.1 # via -r requirements/test.in -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/base.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via -r requirements/base.txt -exceptiongroup==1.2.1 - # via pytest -filelock==3.15.4 +filelock==3.16.1 # via # tox # virtualenv -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests @@ -212,16 +199,16 @@ jinja2==3.1.4 # -r requirements/base.txt # code-annotations # coreschema -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/base.txt # celery -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/base.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/base.txt # commercetools @@ -234,9 +221,9 @@ mccabe==0.7.0 # via pylint mock==5.1.0 # via -r requirements/test.in -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via -r requirements/base.txt -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/base.txt # edx-django-utils @@ -249,7 +236,7 @@ openapi-codec==1.3.2 # via # -r requirements/base.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via -r requirements/base.txt packaging==24.1 # via @@ -258,13 +245,13 @@ packaging==24.1 # pyproject-api # pytest # tox -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/base.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via -r requirements/base.txt -platformdirs==4.2.2 +platformdirs==4.3.6 # via # pylint # tox @@ -273,11 +260,11 @@ pluggy==1.5.0 # via # pytest # tox -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/base.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/base.txt # edx-django-utils @@ -285,7 +272,7 @@ 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 @@ -294,7 +281,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pylint==3.2.4 +pylint==3.3.1 # via # edx-lint # pylint-celery @@ -302,13 +289,13 @@ pylint==3.2.4 # pylint-plugin-utils pylint-celery==0.3 # via edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via edx-lint pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/base.txt # edx-opaque-keys @@ -316,16 +303,16 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via tox -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/test.in # pytest-cov # pytest-django -pytest-cov==5.0.0 +pytest-cov==6.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 @@ -338,17 +325,17 @@ python3-openid==3.2.0 # via # -r requirements/base.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/base.txt # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/base.txt # code-annotations # edx-django-release-util # responses -redis==5.0.7 +redis==5.2.0 # via # -r requirements/base.txt # celery @@ -363,7 +350,6 @@ requests==2.32.3 # requests-oauthlib # responses # segment-analytics-python - # slumber # social-auth-core # stripe requests-mock==1.12.1 @@ -377,13 +363,13 @@ requests-oauthlib==2.0.0 # social-auth-core responses==0.25.3 # via -r requirements/test.in -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via -r requirements/base.txt semantic-version==2.10.0 # via # -r requirements/base.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/base.txt # django-rest-swagger @@ -394,11 +380,7 @@ six==1.16.0 # edx-django-release-util # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/base.txt - # edx-rest-api-client -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/base.txt # edx-auth-backends @@ -407,52 +389,41 @@ 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 -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/base.txt # code-annotations # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via -r requirements/base.txt testfixtures==8.3.0 # via -r requirements/test.in text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.5 +tomlkit==0.13.2 # via pylint -tox==4.15.1 +tox==4.23.2 # via -r requirements/test.in typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # astroid # edx-opaque-keys - # kombu - # pylint # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/base.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/base.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/base.txt # requests @@ -463,17 +434,17 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.3 +virtualenv==20.27.1 # via tox wcwidth==0.2.13 # via # -r requirements/base.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/base.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/base.txt # commercetools diff --git a/requirements/validation.txt b/requirements/validation.txt index 42890a75..5c181e20 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.12 # by the following command: # # make upgrade @@ -15,18 +15,13 @@ asgiref==3.7.2 # -r requirements/test.txt # django # django-cors-headers -astroid==3.2.2 +astroid==3.3.5 # 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 +attrs==24.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -35,24 +30,12 @@ backoff==2.2.1 # -r requirements/quality.txt # -r requirements/test.txt # segment-analytics-python -backports-tarfile==1.2.0 - # via - # -r requirements/quality.txt - # jaraco-context -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # celery - # django - # djangorestframework - # kombu -billiard==4.2.0 +billiard==4.2.1 # via # -r requirements/quality.txt # -r requirements/test.txt # celery -cachetools==5.3.3 +cachetools==5.5.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -61,12 +44,12 @@ celery[redis]==5.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt -certifi==2024.6.2 +certifi==2024.8.30 # via # -r requirements/quality.txt # -r requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -77,7 +60,7 @@ chardet==5.2.0 # -r requirements/quality.txt # -r requirements/test.txt # tox -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -139,12 +122,12 @@ coreschema==0.0.4 # -r requirements/quality.txt # -r requirements/test.txt # coreapi -coverage[toml]==7.5.4 +coverage[toml]==7.6.4 # via # -r requirements/quality.txt # -r requirements/test.txt # pytest-cov -cryptography==42.0.8 +cryptography==43.0.3 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -164,17 +147,17 @@ defusedxml==0.8.0rc2 # -r requirements/test.txt # python3-openid # social-auth-core -dill==0.3.8 +dill==0.3.9 # via # -r requirements/quality.txt # -r requirements/test.txt # pylint -distlib==0.3.8 +distlib==0.3.9 # via # -r requirements/quality.txt # -r requirements/test.txt # virtualenv -django==4.2.13 +django==4.2.16 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -191,7 +174,7 @@ django==4.2.13 # edx-drf-extensions # openedx-filters # social-auth-app-django -django-cors-headers==4.4.0 +django-cors-headers==4.6.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -200,7 +183,7 @@ django-crum==0.7.9 # -r requirements/quality.txt # -r requirements/test.txt # edx-django-utils -django-debug-toolbar==4.4.2 +django-debug-toolbar==4.4.6 # via -r requirements/quality.txt django-dynamic-fixture==4.0.1 # via @@ -227,12 +210,12 @@ djangorestframework==3.15.2 # django-rest-swagger # drf-jwt # edx-drf-extensions -dnspython==2.6.1 +dnspython==2.7.0 # via # -r requirements/quality.txt # -r requirements/test.txt # pymongo -docutils==0.20.1 +docutils==0.21.2 # via # -r requirements/quality.txt # readme-renderer @@ -241,7 +224,7 @@ drf-jwt==1.19.2 # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -edx-auth-backends==4.3.0 +edx-auth-backends==4.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -253,54 +236,44 @@ edx-django-release-util==1.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-django-utils==5.14.2 +edx-django-utils==7.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions # edx-rest-api-client -edx-drf-extensions==10.3.0 +edx-drf-extensions==10.5.0 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-lint==5.3.6 +edx-lint==5.4.1 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-opaque-keys==2.10.0 +edx-opaque-keys==2.11.0 # via # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -edx-rest-api-client==5.7.1 +edx-rest-api-client==6.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt -exceptiongroup==1.2.1 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # pytest -filelock==3.15.4 +filelock==3.16.1 # via # -r requirements/quality.txt # -r requirements/test.txt # tox # virtualenv -idna==3.7 +idna==3.10 # via # -r requirements/quality.txt # -r requirements/test.txt # requests -importlib-metadata==6.11.0 +importlib-metadata==8.5.0 # via # -r requirements/quality.txt - # keyring # twine -importlib-resources==6.4.0 - # via - # -r requirements/quality.txt - # keyring iniconfig==2.0.0 # via # -r requirements/quality.txt @@ -320,11 +293,11 @@ jaraco-classes==3.4.0 # via # -r requirements/quality.txt # keyring -jaraco-context==5.3.0 +jaraco-context==6.0.1 # via # -r requirements/quality.txt # keyring -jaraco-functools==4.0.1 +jaraco-functools==4.1.0 # via # -r requirements/quality.txt # keyring @@ -334,11 +307,11 @@ jinja2==3.1.4 # -r requirements/test.txt # code-annotations # coreschema -keyring==25.2.1 +keyring==25.5.0 # via # -r requirements/quality.txt # twine -kombu==5.3.7 +kombu==5.4.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -347,13 +320,13 @@ markdown-it-py==3.0.0 # via # -r requirements/quality.txt # rich -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/quality.txt # -r requirements/test.txt # jinja2 # werkzeug -marshmallow==3.21.3 +marshmallow==3.23.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -377,21 +350,21 @@ mock==5.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt -more-itertools==10.3.0 +more-itertools==10.5.0 # via # -r requirements/quality.txt # jaraco-classes # jaraco-functools -mysqlclient==2.2.4 +mysqlclient==2.2.5 # via # -r requirements/quality.txt # -r requirements/test.txt -newrelic==9.11.0 +newrelic==10.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt # edx-django-utils -nh3==0.2.17 +nh3==0.2.18 # via # -r requirements/quality.txt # readme-renderer @@ -406,7 +379,7 @@ openapi-codec==1.3.2 # -r requirements/quality.txt # -r requirements/test.txt # django-rest-swagger -openedx-filters==1.9.0 +openedx-filters==1.11.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -418,12 +391,12 @@ packaging==24.1 # pyproject-api # pytest # tox -pbr==6.0.0 +pbr==6.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt # stevedore -pillow==10.3.0 +pillow==11.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -431,7 +404,7 @@ pkginfo==1.10.0 # via # -r requirements/quality.txt # twine -platformdirs==4.2.2 +platformdirs==4.3.6 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -444,17 +417,17 @@ pluggy==1.5.0 # -r requirements/test.txt # pytest # tox -prompt-toolkit==3.0.47 +prompt-toolkit==3.0.48 # via # -r requirements/quality.txt # -r requirements/test.txt # click-repl -psutil==6.0.0 +psutil==6.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt # edx-django-utils -pycodestyle==2.12.0 +pycodestyle==2.12.1 # via -r requirements/quality.txt pycparser==2.22 # via @@ -468,7 +441,7 @@ pygments==2.18.0 # -r requirements/quality.txt # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -478,7 +451,7 @@ pyjwt[crypto]==2.8.0 # edx-rest-api-client # segment-analytics-python # social-auth-core -pylint==3.2.4 +pylint==3.3.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -491,7 +464,7 @@ pylint-celery==0.3 # -r requirements/quality.txt # -r requirements/test.txt # edx-lint -pylint-django==2.5.5 +pylint-django==2.6.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -502,7 +475,7 @@ pylint-plugin-utils==0.8.2 # -r requirements/test.txt # pylint-celery # pylint-django -pymongo==4.7.3 +pymongo==4.10.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -512,22 +485,22 @@ pynacl==1.5.0 # -r requirements/quality.txt # -r requirements/test.txt # edx-django-utils -pyproject-api==1.7.1 +pyproject-api==1.8.0 # via # -r requirements/quality.txt # -r requirements/test.txt # tox -pytest==8.2.2 +pytest==8.3.3 # via # -r requirements/quality.txt # -r requirements/test.txt # pytest-cov # pytest-django -pytest-cov==5.0.0 +pytest-cov==6.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt -pytest-django==4.8.0 +pytest-django==4.9.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -547,23 +520,23 @@ python3-openid==3.2.0 # -r requirements/quality.txt # -r requirements/test.txt # social-auth-core -pytz==2024.1 +pytz==2024.2 # via # -r requirements/quality.txt # -r requirements/test.txt # commercetools -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/quality.txt # -r requirements/test.txt # code-annotations # edx-django-release-util # responses -readme-renderer==43.0 +readme-renderer==44.0 # via # -r requirements/quality.txt # twine -redis==5.0.7 +redis==5.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -581,7 +554,6 @@ requests==2.32.3 # requests-toolbelt # responses # segment-analytics-python - # slumber # social-auth-core # stripe # twine @@ -608,11 +580,11 @@ rfc3986==2.0.0 # via # -r requirements/quality.txt # twine -rich==13.7.1 +rich==13.9.3 # via # -r requirements/quality.txt # twine -segment-analytics-python==2.3.2 +segment-analytics-python==2.3.3 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -621,7 +593,7 @@ semantic-version==2.10.0 # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.2 +simplejson==3.19.3 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -634,16 +606,11 @@ six==1.16.0 # edx-django-release-util # edx-lint # python-dateutil -slumber==0.7.1 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # edx-rest-api-client snowballstemmer==2.2.0 # via # -r requirements/quality.txt # pydocstyle -social-auth-app-django==5.4.1 +social-auth-app-django==5.4.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -654,20 +621,20 @@ 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 # django # django-debug-toolbar -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/quality.txt # -r requirements/test.txt # code-annotations # edx-django-utils # edx-opaque-keys -stripe==10.0.0 +stripe==11.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -680,21 +647,12 @@ text-unidecode==1.3 # -r requirements/quality.txt # -r requirements/test.txt # python-slugify -tomli==2.0.1 +tomlkit==0.13.2 # via # -r requirements/quality.txt # -r requirements/test.txt - # coverage # pylint - # pyproject-api - # pytest - # tox -tomlkit==0.12.5 - # via - # -r requirements/quality.txt - # -r requirements/test.txt - # pylint -tox==4.15.1 +tox==4.23.2 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -704,25 +662,20 @@ typing-extensions==4.12.2 # via # -r requirements/quality.txt # -r requirements/test.txt - # asgiref - # astroid # edx-opaque-keys - # kombu - # pylint - # rich # stripe -tzdata==2024.1 +tzdata==2024.2 # via # -r requirements/quality.txt # -r requirements/test.txt - # backports-zoneinfo # celery + # kombu uritemplate==4.1.1 # via # -r requirements/quality.txt # -r requirements/test.txt # coreapi -urllib3==2.2.2 +urllib3==2.2.3 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -736,7 +689,7 @@ vine==5.1.0 # amqp # celery # kombu -virtualenv==20.26.3 +virtualenv==20.27.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -746,12 +699,12 @@ wcwidth==0.2.13 # -r requirements/quality.txt # -r requirements/test.txt # prompt-toolkit -webob==1.8.7 +webob==1.8.9 # via # -r requirements/quality.txt # -r requirements/test.txt # commercetools -werkzeug==3.0.3 +werkzeug==3.0.6 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -761,8 +714,7 @@ wrapt==1.16.0 # -r requirements/quality.txt # -r requirements/test.txt # commercetools -zipp==3.19.2 +zipp==3.20.2 # via # -r requirements/quality.txt # importlib-metadata - # importlib-resources diff --git a/setup.py b/setup.py index c2166d9f..8ea6b3fd 100755 --- a/setup.py +++ b/setup.py @@ -102,7 +102,7 @@ def is_requirement(line): if sys.argv[-1] == 'ver_check': REQ_MAJOR = 3 - REQ_MINOR = 8 + REQ_MINOR = 12 if sys.version_info.major != REQ_MAJOR or (sys.version_info.major == REQ_MAJOR and sys.version_info.minor != REQ_MINOR): print(f"This application only works on Python {REQ_MAJOR}.{REQ_MINOR}. Please check your environment.") @@ -126,7 +126,7 @@ def is_requirement(line): ], include_package_data=True, install_requires=load_requirements('requirements/base.in'), - python_requires=">=3.8", + python_requires=">=3.12", license="AGPL 3.0", zip_safe=False, keywords='Python edx', @@ -138,6 +138,6 @@ def is_requirement(line): 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.12', ], ) diff --git a/tox.ini b/tox.ini index 9a8b989a..20903844 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{42}, quality, docs, pii_check +envlist = py312-django{42}, quality, docs, pii_check skipsdist = true [doc8] @@ -36,7 +36,8 @@ addopts = --cov commerce_coordinator --cov-report term-missing --cov-report xml norecursedirs = .* docs requirements site-packages [testenv] -deps = +deps = + setuptools django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands = @@ -48,10 +49,11 @@ setenv = PYTHONPATH = {toxinidir} # Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by shpinx. SPHINXOPTS = -W -allowlist_externals = +allowlist_externals = make rm deps = + setuptools -r{toxinidir}/requirements/doc.txt commands = doc8 --ignore-path docs/_build README.rst docs @@ -64,14 +66,16 @@ commands = whitelist_externals = make deps = + setuptools -r{toxinidir}/requirements/dev.txt commands = make validate_translations [testenv:quality] -allowlist_externals = +allowlist_externals = make deps = + setuptools -r{toxinidir}/requirements/quality.txt commands = pylint commerce_coordinator test_utils manage.py setup.py @@ -84,6 +88,7 @@ commands = setenv = DJANGO_SETTINGS_MODULE = commerce_coordinator.settings.test deps = + setuptools -r{toxinidir}/requirements/test.txt commands = code_annotations django_find_annotations --config_file .pii_annotations.yml --lint --report --coverage