From 3e8d220482daaacaa9119b99db9c6c1d7b4bf6ed Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 04:26:41 -0500 Subject: [PATCH] feat: add python312 support fix: update celery package constraint --- .github/workflows/ci.yml | 18 +++--- requirements/base.in | 2 + requirements/base.txt | 52 ++++++++++++---- requirements/common_constraints.txt | 20 +++++++ requirements/constraints.txt | 7 +-- requirements/devstack.txt | 58 ++++++++++++++---- requirements/local.txt | 58 ++++++++++++++---- requirements/monitoring/requirements.txt | 75 ++++++++++++++++++++---- requirements/pip-tools.txt | 2 +- requirements/production.txt | 54 +++++++++++++---- requirements/test.txt | 58 ++++++++++++++---- tox.ini | 7 ++- 12 files changed, 322 insertions(+), 89 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce02c6d8..cc8e92d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Python CI on: push: branches: - - master + - master pull_request: branches: - - '**' + - '**' jobs: run_tests: @@ -14,15 +14,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: - - ubuntu-20.04 - python-version: - - 3.8 - toxenv: [ django42 ] + os: [ubuntu-20.04] + python-version: ['3.8', '3.12'] + toxenv: [django42] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -45,7 +43,7 @@ jobs: make static make validate_translations - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django42' + if: matrix.python-version == '3.12' && matrix.toxenv=='django42' uses: codecov/codecov-action@v1 with: flags: unittests diff --git a/requirements/base.in b/requirements/base.in index 963c0a9c..295ab98f 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -23,3 +23,5 @@ python-slugify pytz redis social-auth-app-django +backports.zoneinfo; python_version<'3.9' +setuptools diff --git a/requirements/base.txt b/requirements/base.txt index 7e0679f5..5a15c12f 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,7 +4,7 @@ # # make upgrade # -amqp==2.6.1 +amqp==5.2.0 # via kombu analytics-python==1.4.post1 # via -r requirements/base.in @@ -17,11 +17,15 @@ async-timeout==4.0.3 # via redis backoff==1.10.0 # via analytics-python -backports-zoneinfo==0.2.1 - # via django -billiard==3.6.4.0 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" + # via + # -r requirements/base.in + # celery + # django + # kombu +billiard==4.2.0 # via celery -celery==4.4.7 +celery==5.3.6 # via # -c requirements/constraints.txt # -r requirements/base.in @@ -35,7 +39,18 @@ cffi==1.16.0 charset-normalizer==3.3.2 # via requests click==8.1.7 - # via edx-django-utils + # via + # celery + # click-didyoumean + # click-plugins + # click-repl + # edx-django-utils +click-didyoumean==0.3.0 + # via celery +click-plugins==1.1.1 + # via celery +click-repl==0.3.0 + # via celery cryptography==42.0.5 # via # pyjwt @@ -47,7 +62,6 @@ defusedxml==0.8.0rc2 django==4.2.11 # via # -c requirements/common_constraints.txt - # -c requirements/constraints.txt # -r requirements/base.in # django-cors-headers # django-crum @@ -116,7 +130,7 @@ edx-auth-backends==4.2.0 # via -r requirements/base.in edx-django-release-util==1.3.0 # via -r requirements/base.in -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # edx-drf-extensions # edx-rest-api-client @@ -130,7 +144,7 @@ idna==3.6 # via requests inflection==0.5.1 # via drf-yasg -kombu==4.6.11 +kombu==5.3.5 # via celery monotonic==1.6 # via analytics-python @@ -146,6 +160,8 @@ packaging==23.2 # via drf-yasg pbr==6.0.0 # via stevedore +prompt-toolkit==3.0.43 + # via click-repl psutil==5.9.8 # via edx-django-utils pycparser==2.21 @@ -162,7 +178,9 @@ pymongo==3.13.0 pynacl==1.5.0 # via edx-django-utils python-dateutil==2.9.0.post0 - # via analytics-python + # via + # analytics-python + # celery python-slugify==4.0.1 # via # -c requirements/constraints.txt @@ -172,7 +190,6 @@ python3-openid==3.2.0 pytz==2024.1 # via # -r requirements/base.in - # celery # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -221,13 +238,24 @@ typing-extensions==4.10.0 # via # asgiref # edx-opaque-keys + # kombu +tzdata==2024.1 + # via + # backports-zoneinfo + # celery uritemplate==4.1.1 # via drf-yasg urllib3==1.26.18 # via # -c requirements/constraints.txt # requests -vine==1.3.0 +vine==5.1.0 # via # amqp # celery + # kombu +wcwidth==0.2.13 + # via prompt-toolkit + +# 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 1f68538a..0126d740 100644 --- a/requirements/common_constraints.txt +++ b/requirements/common_constraints.txt @@ -3,6 +3,26 @@ # See BOM-2721 for more details. # Below is the copied and edited version of common_constraints +# This is a temporary solution to override the real common_constraints.txt +# In edx-lint, until the pyjwt constraint in edx-lint has been removed. +# See BOM-2721 for more details. +# Below is the copied and edited version of common_constraints + +# This is a temporary solution to override the real common_constraints.txt +# In edx-lint, until the pyjwt constraint in edx-lint has been removed. +# See BOM-2721 for more details. +# Below is the copied and edited version of common_constraints + +# This is a temporary solution to override the real common_constraints.txt +# In edx-lint, until the pyjwt constraint in edx-lint has been removed. +# See BOM-2721 for more details. +# Below is the copied and edited version of common_constraints + +# This is a temporary solution to override the real common_constraints.txt +# In edx-lint, until the pyjwt constraint in edx-lint has been removed. +# See BOM-2721 for more details. +# Below is the copied and edited version of common_constraints + # A central location for most common version constraints # (across edx repos) for pip-installation. # diff --git a/requirements/constraints.txt b/requirements/constraints.txt index eca21e89..32d10816 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -11,17 +11,14 @@ # Common constraints for edx repos -c common_constraints.txt -# This constraint can be removed once global constraint is updated. -Django<4.3 - # Version 3.2.0 contains bad arabic translations that will cause validation tests to fail django-extensions<3.2.0 # django-storages version 1.10.1 is major upgrade. django-storages==1.10.1 -# From base.in -celery<5.0 # version 5.0 drops support for python 3.5 +# version being used in edx-platform right now +celery>=5.2.2,<6.0.0 code-annotations>=0.3.1 # Pinned to avoid pyyaml security alerts. (https://github.com/openedx/registrar/pull/42) diff --git a/requirements/devstack.txt b/requirements/devstack.txt index ff0e6072..46509b70 100644 --- a/requirements/devstack.txt +++ b/requirements/devstack.txt @@ -12,7 +12,7 @@ alabaster==0.7.13 # via # -r requirements/local.txt # sphinx -amqp==2.6.1 +amqp==5.2.0 # via # -r requirements/local.txt # kombu @@ -42,24 +42,26 @@ backoff==1.10.0 # via # -r requirements/local.txt # analytics-python -backports-zoneinfo==0.2.1 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # via # -r requirements/local.txt + # celery # django + # kombu beautifulsoup4==4.12.3 # via # -r requirements/local.txt # pydata-sphinx-theme -billiard==3.6.4.0 +billiard==4.2.0 # via # -r requirements/local.txt # celery -boto3==1.34.55 +boto3==1.34.57 # via # -c requirements/constraints.txt # -r requirements/local.txt # moto -botocore==1.34.55 +botocore==1.34.57 # via # -r requirements/local.txt # boto3 @@ -69,7 +71,7 @@ cachetools==5.3.3 # via # -r requirements/local.txt # tox -celery==4.4.7 +celery==5.3.6 # via # -c requirements/constraints.txt # -r requirements/local.txt @@ -94,14 +96,30 @@ charset-normalizer==3.3.2 click==8.1.7 # via # -r requirements/local.txt + # celery + # click-didyoumean # click-log + # click-plugins + # click-repl # code-annotations # edx-django-utils # edx-lint +click-didyoumean==0.3.0 + # via + # -r requirements/local.txt + # celery click-log==0.4.0 # via # -r requirements/local.txt # edx-lint +click-plugins==1.1.1 + # via + # -r requirements/local.txt + # celery +click-repl==0.3.0 + # via + # -r requirements/local.txt + # celery code-annotations==1.6.0 # via # -c requirements/constraints.txt @@ -143,7 +161,6 @@ distlib==0.3.8 django==4.2.11 # via # -c requirements/common_constraints.txt - # -c requirements/constraints.txt # -r requirements/local.txt # django-cors-headers # django-crum @@ -228,7 +245,7 @@ edx-auth-backends==4.2.0 # via -r requirements/local.txt edx-django-release-util==1.3.0 # via -r requirements/local.txt -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # -r requirements/local.txt # edx-drf-extensions @@ -251,6 +268,7 @@ exceptiongroup==1.2.0 # pytest factory-boy==3.3.0 # via -r requirements/local.txt +faker==24.0.0 faker==24.0.0 # via # -r requirements/local.txt @@ -297,7 +315,7 @@ jmespath==1.0.1 # -r requirements/local.txt # boto3 # botocore -kombu==4.6.11 +kombu==5.3.5 # via # -r requirements/local.txt # celery @@ -372,6 +390,10 @@ polib==1.2.0 # via # -r requirements/local.txt # edx-i18n-tools +prompt-toolkit==3.0.43 + # via + # -r requirements/local.txt + # click-repl psutil==5.9.8 # via # -r requirements/local.txt @@ -434,6 +456,7 @@ pyproject-api==1.6.1 # via # -r requirements/local.txt # tox +pytest==8.0.2 pytest==8.0.2 # via # -r requirements/local.txt @@ -448,6 +471,7 @@ python-dateutil==2.9.0.post0 # -r requirements/local.txt # analytics-python # botocore + # celery # faker # freezegun # moto @@ -467,7 +491,6 @@ pytz==2024.1 # via # -r requirements/local.txt # babel - # celery # djangorestframework # drf-yasg pywatchman==2.0.0 @@ -620,7 +643,7 @@ tomlkit==0.12.4 # via # -r requirements/local.txt # pylint -tox==4.13.0 +tox==4.14.1 # via -r requirements/local.txt typing-extensions==4.10.0 # via @@ -629,8 +652,14 @@ typing-extensions==4.10.0 # astroid # edx-opaque-keys # faker + # kombu # pydata-sphinx-theme # pylint +tzdata==2024.1 + # via + # -r requirements/local.txt + # backports-zoneinfo + # celery uritemplate==4.1.1 # via # -r requirements/local.txt @@ -642,15 +671,20 @@ urllib3==1.26.18 # botocore # requests # responses -vine==1.3.0 +vine==5.1.0 # via # -r requirements/local.txt # amqp # celery + # kombu virtualenv==20.25.1 # via # -r requirements/local.txt # tox +wcwidth==0.2.13 + # via + # -r requirements/local.txt + # prompt-toolkit werkzeug==3.0.1 # via # -r requirements/local.txt diff --git a/requirements/local.txt b/requirements/local.txt index 9fcb5f56..63270f18 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -12,7 +12,7 @@ alabaster==0.7.13 # via # -r requirements/docs.txt # sphinx -amqp==2.6.1 +amqp==5.2.0 # via # -r requirements/test.txt # kombu @@ -42,24 +42,26 @@ backoff==1.10.0 # via # -r requirements/test.txt # analytics-python -backports-zoneinfo==0.2.1 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # via # -r requirements/test.txt + # celery # django + # kombu beautifulsoup4==4.12.3 # via # -r requirements/docs.txt # pydata-sphinx-theme -billiard==3.6.4.0 +billiard==4.2.0 # via # -r requirements/test.txt # celery -boto3==1.34.55 +boto3==1.34.57 # via # -c requirements/constraints.txt # -r requirements/test.txt # moto -botocore==1.34.55 +botocore==1.34.57 # via # -r requirements/test.txt # boto3 @@ -69,7 +71,7 @@ cachetools==5.3.3 # via # -r requirements/test.txt # tox -celery==4.4.7 +celery==5.3.6 # via # -c requirements/constraints.txt # -r requirements/test.txt @@ -96,14 +98,30 @@ charset-normalizer==3.3.2 click==8.1.7 # via # -r requirements/test.txt + # celery + # click-didyoumean # click-log + # click-plugins + # click-repl # code-annotations # edx-django-utils # edx-lint +click-didyoumean==0.3.0 + # via + # -r requirements/test.txt + # celery click-log==0.4.0 # via # -r requirements/test.txt # edx-lint +click-plugins==1.1.1 + # via + # -r requirements/test.txt + # celery +click-repl==0.3.0 + # via + # -r requirements/test.txt + # celery code-annotations==1.6.0 # via # -c requirements/constraints.txt @@ -143,7 +161,6 @@ distlib==0.3.8 django==4.2.11 # via # -c requirements/common_constraints.txt - # -c requirements/constraints.txt # -r requirements/test.txt # django-cors-headers # django-crum @@ -228,7 +245,7 @@ edx-auth-backends==4.2.0 # via -r requirements/test.txt edx-django-release-util==1.3.0 # via -r requirements/test.txt -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # -r requirements/test.txt # edx-drf-extensions @@ -251,6 +268,7 @@ exceptiongroup==1.2.0 # pytest factory-boy==3.3.0 # via -r requirements/test.txt +faker==24.0.0 faker==24.0.0 # via # -r requirements/test.txt @@ -299,7 +317,7 @@ jmespath==1.0.1 # -r requirements/test.txt # boto3 # botocore -kombu==4.6.11 +kombu==5.3.5 # via # -r requirements/test.txt # celery @@ -366,6 +384,10 @@ pluggy==1.4.0 # tox polib==1.2.0 # via edx-i18n-tools +prompt-toolkit==3.0.43 + # via + # -r requirements/test.txt + # click-repl psutil==5.9.8 # via # -r requirements/test.txt @@ -426,6 +448,7 @@ pyproject-api==1.6.1 # via # -r requirements/test.txt # tox +pytest==8.0.2 pytest==8.0.2 # via # -r requirements/test.txt @@ -440,6 +463,7 @@ python-dateutil==2.9.0.post0 # -r requirements/test.txt # analytics-python # botocore + # celery # faker # freezegun # moto @@ -458,7 +482,6 @@ pytz==2024.1 # -r requirements/docs.txt # -r requirements/test.txt # babel - # celery # djangorestframework # drf-yasg pywatchman==2.0.0 @@ -605,7 +628,7 @@ tomlkit==0.12.4 # via # -r requirements/test.txt # pylint -tox==4.13.0 +tox==4.14.1 # via -r requirements/test.txt typing-extensions==4.10.0 # via @@ -615,8 +638,14 @@ typing-extensions==4.10.0 # astroid # edx-opaque-keys # faker + # 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 @@ -629,15 +658,20 @@ urllib3==1.26.18 # botocore # requests # responses -vine==1.3.0 +vine==5.1.0 # via # -r requirements/test.txt # amqp # celery + # kombu virtualenv==20.25.1 # via # -r requirements/test.txt # tox +wcwidth==0.2.13 + # via + # -r requirements/test.txt + # prompt-toolkit werkzeug==3.0.1 # via # -r requirements/test.txt diff --git a/requirements/monitoring/requirements.txt b/requirements/monitoring/requirements.txt index dc0688c1..e6b643d0 100644 --- a/requirements/monitoring/requirements.txt +++ b/requirements/monitoring/requirements.txt @@ -14,7 +14,7 @@ alabaster==0.7.13 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # sphinx -amqp==2.6.1 +amqp==5.2.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -63,33 +63,35 @@ backoff==1.10.0 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # analytics-python -backports-zoneinfo==0.2.1 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt + # celery # django + # kombu beautifulsoup4==4.12.3 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # pydata-sphinx-theme -billiard==3.6.4.0 +billiard==4.2.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # celery -boto3==1.34.55 +boto3==1.34.57 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # moto -botocore==1.34.55 +botocore==1.34.57 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -104,7 +106,7 @@ cachetools==5.3.3 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # tox -celery==4.4.7 +celery==5.3.6 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -145,16 +147,41 @@ click==8.1.7 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt + # celery + # click-didyoumean # click-log + # click-plugins + # click-repl # code-annotations # edx-django-utils # edx-lint +click-didyoumean==0.3.0 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # celery click-log==0.4.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # edx-lint +click-plugins==1.1.1 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # celery +click-repl==0.3.0 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # celery code-annotations==1.6.0 # via # -r requirements/monitoring/../devstack.txt @@ -361,7 +388,7 @@ edx-django-release-util==1.3.0 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -408,6 +435,7 @@ factory-boy==3.3.0 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt +faker==24.0.0 faker==24.0.0 # via # -r requirements/monitoring/../devstack.txt @@ -486,7 +514,7 @@ jmespath==1.0.1 # -r requirements/monitoring/../test.txt # boto3 # botocore -kombu==4.6.11 +kombu==5.3.5 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -599,6 +627,13 @@ polib==1.2.0 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # edx-i18n-tools +prompt-toolkit==3.0.43 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # click-repl psutil==5.9.8 # via # -r requirements/monitoring/../devstack.txt @@ -693,6 +728,7 @@ pyproject-api==1.6.1 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # tox +pytest==8.0.2 pytest==8.0.2 # via # -r requirements/monitoring/../devstack.txt @@ -718,6 +754,7 @@ python-dateutil==2.9.0.post0 # -r requirements/monitoring/../test.txt # analytics-python # botocore + # celery # faker # freezegun # moto @@ -747,7 +784,6 @@ pytz==2024.1 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # babel - # celery # djangorestframework # drf-yasg pywatchman==2.0.0 @@ -964,7 +1000,7 @@ tomlkit==0.12.4 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # pylint -tox==4.13.0 +tox==4.14.1 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -979,8 +1015,17 @@ typing-extensions==4.10.0 # astroid # edx-opaque-keys # faker + # kombu # pydata-sphinx-theme # pylint +tzdata==2024.1 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # backports-zoneinfo + # celery uritemplate==4.1.1 # via # -r requirements/monitoring/../devstack.txt @@ -997,7 +1042,7 @@ urllib3==1.26.18 # botocore # requests # responses -vine==1.3.0 +vine==5.1.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -1005,12 +1050,20 @@ vine==1.3.0 # -r requirements/monitoring/../test.txt # amqp # celery + # kombu virtualenv==20.25.1 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # tox +wcwidth==0.2.13 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # prompt-toolkit werkzeug==3.0.1 # via # -r requirements/monitoring/../devstack.txt diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 8528adba..921c5b5c 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -12,7 +12,7 @@ importlib-metadata==7.0.1 # via build packaging==23.2 # via build -pip-tools==7.4.0 +pip-tools==7.4.1 # via -r requirements/pip-tools.in pyproject-hooks==1.0.0 # via diff --git a/requirements/production.txt b/requirements/production.txt index 36db7f57..6f7255d8 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -4,7 +4,7 @@ # # make upgrade # -amqp==2.6.1 +amqp==5.2.0 # via # -r requirements/base.txt # kombu @@ -24,23 +24,25 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -backports-zoneinfo==0.2.1 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # via # -r requirements/base.txt + # celery # django -billiard==3.6.4.0 + # kombu +billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.55 +boto3==1.34.57 # via # -c requirements/constraints.txt # -r requirements/production.in -botocore==1.34.55 +botocore==1.34.57 # via # boto3 # s3transfer -celery==4.4.7 +celery==5.3.6 # via # -c requirements/constraints.txt # -r requirements/base.txt @@ -61,7 +63,23 @@ charset-normalizer==3.3.2 click==8.1.7 # via # -r requirements/base.txt + # celery + # click-didyoumean + # click-plugins + # click-repl # edx-django-utils +click-didyoumean==0.3.0 + # via + # -r requirements/base.txt + # celery +click-plugins==1.1.1 + # via + # -r requirements/base.txt + # celery +click-repl==0.3.0 + # via + # -r requirements/base.txt + # celery cryptography==42.0.5 # via # -r requirements/base.txt @@ -75,7 +93,6 @@ defusedxml==0.8.0rc2 django==4.2.11 # via # -c requirements/common_constraints.txt - # -c requirements/constraints.txt # -r requirements/base.txt # django-cors-headers # django-crum @@ -149,7 +166,7 @@ edx-auth-backends==4.2.0 # via -r requirements/base.txt edx-django-release-util==1.3.0 # via -r requirements/base.txt -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # -r requirements/base.txt # edx-drf-extensions @@ -180,7 +197,7 @@ jmespath==1.0.1 # via # boto3 # botocore -kombu==4.6.11 +kombu==5.3.5 # via # -r requirements/base.txt # celery @@ -211,6 +228,10 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore +prompt-toolkit==3.0.43 + # via + # -r requirements/base.txt + # click-repl psutil==5.9.8 # via # -r requirements/base.txt @@ -242,6 +263,7 @@ python-dateutil==2.9.0.post0 # -r requirements/base.txt # analytics-python # botocore + # celery python-memcached==1.62 # via -r requirements/nonlocal.txt python-slugify==4.0.1 @@ -255,7 +277,6 @@ python3-openid==3.2.0 pytz==2024.1 # via # -r requirements/base.txt - # celery # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -323,6 +344,12 @@ typing-extensions==4.10.0 # -r requirements/base.txt # asgiref # edx-opaque-keys + # kombu +tzdata==2024.1 + # via + # -r requirements/base.txt + # backports-zoneinfo + # celery uritemplate==4.1.1 # via # -r requirements/base.txt @@ -333,11 +360,16 @@ urllib3==1.26.18 # -r requirements/base.txt # botocore # requests -vine==1.3.0 +vine==5.1.0 # via # -r requirements/base.txt # amqp # celery + # kombu +wcwidth==0.2.13 + # via + # -r requirements/base.txt + # prompt-toolkit zope-event==5.0 # via gevent zope-interface==6.2 diff --git a/requirements/test.txt b/requirements/test.txt index 5a91b04a..ca45804e 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -4,7 +4,7 @@ # # make upgrade # -amqp==2.6.1 +amqp==5.2.0 # via # -r requirements/base.txt # kombu @@ -28,26 +28,28 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python -backports-zoneinfo==0.2.1 +backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # via # -r requirements/base.txt + # celery # django -billiard==3.6.4.0 + # kombu +billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.55 +boto3==1.34.57 # via # -c requirements/constraints.txt # moto -botocore==1.34.55 +botocore==1.34.57 # via # boto3 # moto # s3transfer cachetools==5.3.3 # via tox -celery==4.4.7 +celery==5.3.6 # via # -c requirements/constraints.txt # -r requirements/base.txt @@ -70,12 +72,28 @@ charset-normalizer==3.3.2 click==8.1.7 # via # -r requirements/base.txt + # celery + # click-didyoumean # click-log + # click-plugins + # click-repl # code-annotations # edx-django-utils # edx-lint +click-didyoumean==0.3.0 + # via + # -r requirements/base.txt + # celery click-log==0.4.0 # via edx-lint +click-plugins==1.1.1 + # via + # -r requirements/base.txt + # celery +click-repl==0.3.0 + # via + # -r requirements/base.txt + # celery code-annotations==1.6.0 # via # -c requirements/constraints.txt @@ -106,7 +124,6 @@ distlib==0.3.8 # via virtualenv # via # -c requirements/common_constraints.txt - # -c requirements/constraints.txt # -r requirements/base.txt # django-cors-headers # django-crum @@ -182,7 +199,7 @@ edx-auth-backends==4.2.0 # via -r requirements/base.txt edx-django-release-util==1.3.0 # via -r requirements/base.txt -edx-django-utils==5.10.1 +edx-django-utils==5.11.0 # via # -r requirements/base.txt # edx-drf-extensions @@ -201,6 +218,7 @@ exceptiongroup==1.2.0 # via pytest factory-boy==3.3.0 # via -r requirements/test.in +faker==24.0.0 faker==24.0.0 # via # -r requirements/test.in @@ -233,7 +251,7 @@ jmespath==1.0.1 # via # boto3 # botocore -kombu==4.6.11 +kombu==5.3.5 # via # -r requirements/base.txt # celery @@ -281,6 +299,10 @@ pluggy==1.4.0 # via # pytest # tox +prompt-toolkit==3.0.43 + # via + # -r requirements/base.txt + # click-repl psutil==5.9.8 # via # -r requirements/base.txt @@ -323,6 +345,7 @@ pynacl==1.5.0 # edx-django-utils pyproject-api==1.6.1 # via tox +pytest==8.0.2 pytest==8.0.2 # via # -r requirements/test.in @@ -337,6 +360,7 @@ python-dateutil==2.9.0.post0 # -r requirements/base.txt # analytics-python # botocore + # celery # faker # freezegun # moto @@ -352,7 +376,6 @@ python3-openid==3.2.0 pytz==2024.1 # via # -r requirements/base.txt - # celery # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -435,7 +458,7 @@ tomli==2.0.1 # tox tomlkit==0.12.4 # via pylint -tox==4.13.0 +tox==4.14.1 # via -r requirements/test.in typing-extensions==4.10.0 # via @@ -444,7 +467,13 @@ typing-extensions==4.10.0 # astroid # edx-opaque-keys # faker + # kombu # pylint +tzdata==2024.1 + # via + # -r requirements/base.txt + # backports-zoneinfo + # celery uritemplate==4.1.1 # via # -r requirements/base.txt @@ -456,13 +485,18 @@ urllib3==1.26.18 # botocore # requests # responses -vine==1.3.0 +vine==5.1.0 # via # -r requirements/base.txt # amqp # celery + # kombu virtualenv==20.25.1 # via tox +wcwidth==0.2.13 + # via + # -r requirements/base.txt + # prompt-toolkit werkzeug==3.0.1 # via moto xmltodict==0.13.0 diff --git a/tox.ini b/tox.ini index 6f5406a3..a8591756 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,14 @@ [tox] -envlist = py38-django{42} +envlist = py{38, 312}-django{42} skipsdist = true [testenv] passenv = * -deps = +deps = + setuptools django42: -r requirements/django.txt -r{toxinidir}/requirements/test.txt -allowlist_externals = +allowlist_externals = i18n_tool /bin/bash commands = {posargs:pytest}