From 02c15469e8475fe1cb013d16e1243d9dd9fb92a9 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Thu, 5 Oct 2023 12:21:42 +0500 Subject: [PATCH] fix: django 4.2 issues --- .github/workflows/ci.yml | 5 ++-- Makefile | 10 ------- requirements/base.txt | 16 +++++----- requirements/constraints.txt | 5 ++-- requirements/devstack.txt | 34 +++++++++++---------- requirements/docs.txt | 8 ++--- requirements/local.txt | 34 +++++++++++---------- requirements/monitoring/requirements.txt | 38 ++++++++++++++---------- requirements/production.txt | 26 ++++++++-------- requirements/test.txt | 28 +++++++++-------- tox.ini | 5 ++-- 11 files changed, 108 insertions(+), 101 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf9c69d9..76764ba4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,13 @@ jobs: name: Tests runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: - ubuntu-20.04 python-version: - 3.8 - toxenv: [ django32 ] + toxenv: [ django32, django42 ] steps: - uses: actions/checkout@v1 - name: setup python @@ -45,7 +46,7 @@ jobs: make static make validate_translations - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django32' + if: matrix.python-version == '3.8' && matrix.toxenv=='django42' uses: codecov/codecov-action@v1 with: flags: unittests diff --git a/Makefile b/Makefile index 7ad820af..21a017ec 100644 --- a/Makefile +++ b/Makefile @@ -57,16 +57,6 @@ $(COMMON_CONSTRAINTS_TXT): upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade upgrade: piptools $(COMMON_CONSTRAINTS_TXT) ## re-compile requirements .txt files from .in files - sed 's/pyjwt\[crypto\]<2.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp - mv requirements/common_constraints.tmp requirements/common_constraints.txt - sed 's/edx-drf-extensions<7.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp - mv requirements/common_constraints.tmp requirements/common_constraints.txt - sed 's/edx-auth-backends<4.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp - mv requirements/common_constraints.tmp requirements/common_constraints.txt - sed 's/social-auth-core<4.0.3//g' requirements/common_constraints.txt > requirements/common_constraints.tmp - mv requirements/common_constraints.tmp requirements/common_constraints.txt - sed 's/Django<2.3//g' requirements/common_constraints.txt > requirements/common_constraints.tmp - mv requirements/common_constraints.tmp requirements/common_constraints.txt pip-compile --allow-unsafe --rebuild --upgrade -o requirements/pip.txt requirements/pip.in pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in pip install -qr requirements/pip.txt diff --git a/requirements/base.txt b/requirements/base.txt index 88c65b3d..9968f0a1 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -14,6 +14,8 @@ 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 # via celery celery==4.4.7 @@ -23,11 +25,11 @@ celery==4.4.7 # django-user-tasks certifi==2023.7.22 # via requests -cffi==1.15.1 +cffi==1.16.0 # via # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via requests click==8.1.7 # via edx-django-utils @@ -35,13 +37,12 @@ cryptography==41.0.4 # via # pyjwt # social-auth-core -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # python3-openid # social-auth-core django==3.2.21 # via - # -c requirements/common_constraints.txt # -c requirements/constraints.txt # -r requirements/base.in # django-cors-headers @@ -82,7 +83,7 @@ django-simple-history==3.0.0 # via # -c requirements/common_constraints.txt # -r requirements/base.in -django-storages==1.8 +django-storages==1.10 # via # -c requirements/constraints.txt # -r requirements/base.in @@ -139,7 +140,7 @@ oauthlib==3.2.2 # via # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via drf-yasg pbr==5.11.1 # via stevedore @@ -166,7 +167,6 @@ pytz==2023.3.post1 # via # -r requirements/base.in # celery - # django # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -215,7 +215,7 @@ typing-extensions==4.8.0 # edx-opaque-keys uritemplate==4.1.1 # via drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # requests diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 6994b426..2facec1a 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -16,8 +16,9 @@ Django<4.0 # Version 3.2.0 contains bad arabic translations that will cause validation tests to fail django-extensions<3.2.0 -# django-storages version 1.9 drops support for boto storage backend. -django-storages<1.9 +# 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 diff --git a/requirements/devstack.txt b/requirements/devstack.txt index a39a4b67..bdab4e59 100644 --- a/requirements/devstack.txt +++ b/requirements/devstack.txt @@ -31,7 +31,7 @@ async-timeout==4.0.3 # via # -r requirements/local.txt # redis -babel==2.12.1 +babel==2.13.0 # via # -r requirements/local.txt # pydata-sphinx-theme @@ -40,6 +40,10 @@ backoff==1.10.0 # via # -r requirements/local.txt # analytics-python +backports-zoneinfo==0.2.1 + # via + # -r requirements/local.txt + # django beautifulsoup4==4.12.2 # via # -r requirements/local.txt @@ -48,12 +52,12 @@ billiard==3.6.4.0 # via # -r requirements/local.txt # celery -boto3==1.28.54 +boto3==1.28.56 # via # -c requirements/constraints.txt # -r requirements/local.txt # moto -botocore==1.31.54 +botocore==1.31.56 # via # -r requirements/local.txt # boto3 @@ -68,12 +72,12 @@ certifi==2023.7.22 # via # -r requirements/local.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/local.txt # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via # -r requirements/local.txt # requests @@ -109,7 +113,7 @@ cryptography==41.0.4 # social-auth-core ddt==1.6.0 # via -r requirements/local.txt -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # -r requirements/local.txt # python3-openid @@ -124,7 +128,6 @@ distlib==0.3.7 # virtualenv django==3.2.21 # via - # -c requirements/common_constraints.txt # -c requirements/constraints.txt # -r requirements/local.txt # django-cors-headers @@ -173,7 +176,7 @@ django-simple-history==3.0.0 # via # -c requirements/common_constraints.txt # -r requirements/local.txt -django-storages==1.8 +django-storages==1.10 # via # -c requirements/constraints.txt # -r requirements/local.txt @@ -320,7 +323,7 @@ oauthlib==3.2.2 # -r requirements/local.txt # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via # -r requirements/local.txt # drf-yasg @@ -340,7 +343,7 @@ pbr==5.11.1 # via # -r requirements/local.txt # stevedore -platformdirs==3.10.0 +platformdirs==3.11.0 # via # -r requirements/local.txt # pylint @@ -450,7 +453,6 @@ pytz==2023.3.post1 # -r requirements/local.txt # babel # celery - # django # djangorestframework # drf-yasg pywatchman==1.4.1 @@ -486,7 +488,7 @@ responses==0.17.0 # -c requirements/constraints.txt # -r requirements/local.txt # moto -ruamel-yaml==0.17.32 +ruamel-yaml==0.17.35 # via # -r requirements/local.txt # ruamel-yaml-base @@ -496,7 +498,7 @@ ruamel-yaml-base==0.3.2 # via # -r requirements/local.txt # ruamel-yaml-cmd -ruamel-yaml-clib==0.2.7 +ruamel-yaml-clib==0.2.8 # via # -r requirements/local.txt # ruamel-yaml @@ -506,7 +508,7 @@ ruamel-yaml-convert==0.3.2 # via # -r requirements/local.txt # ruamel-yaml-cmd -s3transfer==0.6.2 +s3transfer==0.7.0 # via # -r requirements/local.txt # boto3 @@ -622,7 +624,7 @@ uritemplate==4.1.1 # via # -r requirements/local.txt # drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # -r requirements/local.txt @@ -638,7 +640,7 @@ virtualenv==20.24.5 # via # -r requirements/local.txt # tox -werkzeug==2.3.7 +werkzeug==3.0.0 # via # -r requirements/local.txt # moto diff --git a/requirements/docs.txt b/requirements/docs.txt index 350994fd..020ef92a 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -8,7 +8,7 @@ accessible-pygments==0.0.4 # via pydata-sphinx-theme alabaster==0.7.13 # via sphinx -babel==2.12.1 +babel==2.13.0 # via # pydata-sphinx-theme # sphinx @@ -16,7 +16,7 @@ beautifulsoup4==4.12.2 # via pydata-sphinx-theme certifi==2023.7.22 # via requests -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via requests docutils==0.19 # via @@ -32,7 +32,7 @@ jinja2==3.1.2 # via sphinx markupsafe==2.1.3 # via jinja2 -packaging==23.1 +packaging==23.2 # via # pydata-sphinx-theme # sphinx @@ -72,7 +72,7 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx typing-extensions==4.8.0 # via pydata-sphinx-theme -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # requests diff --git a/requirements/local.txt b/requirements/local.txt index 68ac0c23..976b31da 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -31,7 +31,7 @@ async-timeout==4.0.3 # via # -r requirements/test.txt # redis -babel==2.12.1 +babel==2.13.0 # via # -r requirements/docs.txt # pydata-sphinx-theme @@ -40,6 +40,10 @@ backoff==1.10.0 # via # -r requirements/test.txt # analytics-python +backports-zoneinfo==0.2.1 + # via + # -r requirements/test.txt + # django beautifulsoup4==4.12.2 # via # -r requirements/docs.txt @@ -48,12 +52,12 @@ billiard==3.6.4.0 # via # -r requirements/test.txt # celery -boto3==1.28.54 +boto3==1.28.56 # via # -c requirements/constraints.txt # -r requirements/test.txt # moto -botocore==1.31.54 +botocore==1.31.56 # via # -r requirements/test.txt # boto3 @@ -69,12 +73,12 @@ certifi==2023.7.22 # -r requirements/docs.txt # -r requirements/test.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/test.txt # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via # -r requirements/docs.txt # -r requirements/test.txt @@ -109,7 +113,7 @@ cryptography==41.0.4 # social-auth-core ddt==1.6.0 # via -r requirements/test.txt -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # -r requirements/test.txt # python3-openid @@ -124,7 +128,6 @@ distlib==0.3.7 # virtualenv django==3.2.21 # via - # -c requirements/common_constraints.txt # -c requirements/constraints.txt # -r requirements/test.txt # django-cors-headers @@ -173,7 +176,7 @@ django-simple-history==3.0.0 # via # -c requirements/common_constraints.txt # -r requirements/test.txt -django-storages==1.8 +django-storages==1.10 # via # -c requirements/constraints.txt # -r requirements/test.txt @@ -319,7 +322,7 @@ oauthlib==3.2.2 # -r requirements/test.txt # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via # -r requirements/docs.txt # -r requirements/test.txt @@ -338,7 +341,7 @@ pbr==5.11.1 # via # -r requirements/test.txt # stevedore -platformdirs==3.10.0 +platformdirs==3.11.0 # via # -r requirements/test.txt # pylint @@ -443,7 +446,6 @@ pytz==2023.3.post1 # -r requirements/test.txt # babel # celery - # django # djangorestframework # drf-yasg pywatchman==1.4.1 @@ -480,20 +482,20 @@ responses==0.17.0 # -c requirements/constraints.txt # -r requirements/test.txt # moto -ruamel-yaml==0.17.32 +ruamel-yaml==0.17.35 # via # ruamel-yaml-base # ruamel-yaml-cmd # ruamel-yaml-convert ruamel-yaml-base==0.3.2 # via ruamel-yaml-cmd -ruamel-yaml-clib==0.2.7 +ruamel-yaml-clib==0.2.8 # via ruamel-yaml ruamel-yaml-cmd==0.6.5 # via -r requirements/local.in ruamel-yaml-convert==0.3.2 # via ruamel-yaml-cmd -s3transfer==0.6.2 +s3transfer==0.7.0 # via # -r requirements/test.txt # boto3 @@ -608,7 +610,7 @@ uritemplate==4.1.1 # via # -r requirements/test.txt # drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # -r requirements/docs.txt @@ -625,7 +627,7 @@ virtualenv==20.24.5 # via # -r requirements/test.txt # tox -werkzeug==2.3.7 +werkzeug==3.0.0 # via # -r requirements/test.txt # moto diff --git a/requirements/monitoring/requirements.txt b/requirements/monitoring/requirements.txt index 699dd94b..a25bbbe9 100644 --- a/requirements/monitoring/requirements.txt +++ b/requirements/monitoring/requirements.txt @@ -48,7 +48,7 @@ async-timeout==4.0.3 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # redis -babel==2.12.1 +babel==2.13.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -61,6 +61,13 @@ backoff==1.10.0 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # analytics-python +backports-zoneinfo==0.2.1 + # via + # -r requirements/monitoring/../devstack.txt + # -r requirements/monitoring/../local.txt + # -r requirements/monitoring/../production.txt + # -r requirements/monitoring/../test.txt + # django beautifulsoup4==4.12.2 # via # -r requirements/monitoring/../devstack.txt @@ -73,14 +80,14 @@ billiard==3.6.4.0 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # celery -boto3==1.28.54 +boto3==1.28.56 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # moto -botocore==1.31.54 +botocore==1.31.56 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -103,7 +110,7 @@ certifi==2023.7.22 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -111,7 +118,7 @@ cffi==1.15.1 # -r requirements/monitoring/../test.txt # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -165,7 +172,7 @@ ddt==1.6.0 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -264,7 +271,7 @@ django-simple-history==3.0.0 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt -django-storages==1.8 +django-storages==1.10 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -401,7 +408,7 @@ freezegun==1.2.2 # -r requirements/monitoring/../test.txt gevent==23.9.1 # via -r requirements/monitoring/../production.txt -greenlet==2.0.2 +greenlet==3.0.0 # via # -r requirements/monitoring/../production.txt # gevent @@ -522,7 +529,7 @@ oauthlib==3.2.2 # -r requirements/monitoring/../test.txt # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -552,7 +559,7 @@ pbr==5.11.1 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # stevedore -platformdirs==3.10.0 +platformdirs==3.11.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -719,7 +726,6 @@ pytz==2023.3.post1 # -r requirements/monitoring/../test.txt # babel # celery - # django # djangorestframework # drf-yasg pywatchman==1.4.1 @@ -771,7 +777,7 @@ responses==0.17.0 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # moto -ruamel-yaml==0.17.32 +ruamel-yaml==0.17.35 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -783,7 +789,7 @@ ruamel-yaml-base==0.3.2 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # ruamel-yaml-cmd -ruamel-yaml-clib==0.2.7 +ruamel-yaml-clib==0.2.8 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -797,7 +803,7 @@ ruamel-yaml-convert==0.3.2 # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt # ruamel-yaml-cmd -s3transfer==0.6.2 +s3transfer==0.7.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -960,7 +966,7 @@ uritemplate==4.1.1 # -r requirements/monitoring/../production.txt # -r requirements/monitoring/../test.txt # drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt @@ -983,7 +989,7 @@ virtualenv==20.24.5 # -r requirements/monitoring/../local.txt # -r requirements/monitoring/../test.txt # tox -werkzeug==2.3.7 +werkzeug==3.0.0 # via # -r requirements/monitoring/../devstack.txt # -r requirements/monitoring/../local.txt diff --git a/requirements/production.txt b/requirements/production.txt index 1d1b494d..29b4a9f4 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -22,15 +22,19 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python +backports-zoneinfo==0.2.1 + # via + # -r requirements/base.txt + # django billiard==3.6.4.0 # via # -r requirements/base.txt # celery -boto3==1.28.54 +boto3==1.28.56 # via # -c requirements/constraints.txt # -r requirements/production.in -botocore==1.31.54 +botocore==1.31.56 # via # boto3 # s3transfer @@ -43,12 +47,12 @@ certifi==2023.7.22 # via # -r requirements/base.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/base.txt # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via # -r requirements/base.txt # requests @@ -61,14 +65,13 @@ cryptography==41.0.4 # -r requirements/base.txt # pyjwt # social-auth-core -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # -r requirements/base.txt # python3-openid # social-auth-core django==3.2.21 # via - # -c requirements/common_constraints.txt # -c requirements/constraints.txt # -r requirements/base.txt # django-cors-headers @@ -111,7 +114,7 @@ django-simple-history==3.0.0 # via # -c requirements/common_constraints.txt # -r requirements/base.txt -django-storages==1.8 +django-storages==1.10 # via # -c requirements/constraints.txt # -r requirements/base.txt @@ -160,7 +163,7 @@ edx-rest-api-client==5.6.0 # via -r requirements/base.txt gevent==23.9.1 # via -r requirements/production.in -greenlet==2.0.2 +greenlet==3.0.0 # via gevent gunicorn==21.2.0 # via -r requirements/production.in @@ -198,7 +201,7 @@ oauthlib==3.2.2 # -r requirements/base.txt # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via # -r requirements/base.txt # drf-yasg @@ -248,7 +251,6 @@ pytz==2023.3.post1 # via # -r requirements/base.txt # celery - # django # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -272,7 +274,7 @@ requests-oauthlib==1.3.1 # via # -r requirements/base.txt # social-auth-core -s3transfer==0.6.2 +s3transfer==0.7.0 # via boto3 semantic-version==2.10.0 # via @@ -318,7 +320,7 @@ uritemplate==4.1.1 # via # -r requirements/base.txt # drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # -r requirements/base.txt diff --git a/requirements/test.txt b/requirements/test.txt index d3cc81a9..b221fe07 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -26,15 +26,19 @@ backoff==1.10.0 # via # -r requirements/base.txt # analytics-python +backports-zoneinfo==0.2.1 + # via + # -r requirements/base.txt + # django billiard==3.6.4.0 # via # -r requirements/base.txt # celery -boto3==1.28.54 +boto3==1.28.56 # via # -c requirements/constraints.txt # moto -botocore==1.31.54 +botocore==1.31.56 # via # boto3 # moto @@ -48,12 +52,12 @@ certifi==2023.7.22 # via # -r requirements/base.txt # requests -cffi==1.15.1 +cffi==1.16.0 # via # -r requirements/base.txt # cryptography # pynacl -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 # via # -r requirements/base.txt # requests @@ -83,7 +87,7 @@ cryptography==41.0.4 # social-auth-core ddt==1.6.0 # via -r requirements/test.in -defusedxml==0.7.1 +defusedxml==0.8.0rc1 # via # -r requirements/base.txt # python3-openid @@ -93,7 +97,6 @@ dill==0.3.7 distlib==0.3.7 # via virtualenv # via - # -c requirements/common_constraints.txt # -c requirements/constraints.txt # -r requirements/base.txt # django-cors-headers @@ -138,7 +141,7 @@ django-simple-history==3.0.0 # via # -c requirements/common_constraints.txt # -r requirements/base.txt -django-storages==1.8 +django-storages==1.10 # via # -c requirements/constraints.txt # -r requirements/base.txt @@ -251,7 +254,7 @@ oauthlib==3.2.2 # -r requirements/base.txt # requests-oauthlib # social-auth-core -packaging==23.1 +packaging==23.2 # via # -r requirements/base.txt # drf-yasg @@ -263,7 +266,7 @@ pbr==5.11.1 # via # -r requirements/base.txt # stevedore -platformdirs==3.10.0 +platformdirs==3.11.0 # via # pylint # virtualenv @@ -342,7 +345,6 @@ pytz==2023.3.post1 # via # -r requirements/base.txt # celery - # django # djangorestframework # drf-yasg pyyaml==6.0.1 @@ -374,7 +376,7 @@ responses==0.17.0 # -c requirements/constraints.txt # -r requirements/test.in # moto -s3transfer==0.6.2 +s3transfer==0.7.0 # via boto3 semantic-version==2.10.0 # via @@ -439,7 +441,7 @@ uritemplate==4.1.1 # via # -r requirements/base.txt # drf-yasg -urllib3==1.26.16 +urllib3==1.26.17 # via # -c requirements/constraints.txt # -r requirements/base.txt @@ -453,7 +455,7 @@ vine==1.3.0 # celery virtualenv==20.24.5 # via tox -werkzeug==2.3.7 +werkzeug==3.0.0 # via moto wrapt==1.13.3 # via diff --git a/tox.ini b/tox.ini index 3b51ebe2..3a48cd05 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,14 @@ [tox] -envlist = py38-django{32} +envlist = py38-django{32, 42} skipsdist = true [testenv] passenv = * deps = django32: -r requirements/django.txt + django42: Django>=4.2,<5.0 -r{toxinidir}/requirements/test.txt whitelist_externals = i18n_tool /bin/bash -commands = {posargs:pytest} \ No newline at end of file +commands = {posargs:pytest}