misc: drop djangorestframework 3.9 compatibility (#73260)
gitea-wip/hobo/pipeline/pr-main Build started... Details

This commit is contained in:
Emmanuel Cazenave 2023-01-11 10:57:27 +01:00 committed by Benjamin Dauvergne
parent ce88277e90
commit d022506c33
2 changed files with 2 additions and 4 deletions

View File

@ -154,7 +154,7 @@ setup(
'django-mellon',
'django-tenant-schemas',
'prometheus_client',
'djangorestframework>=3.4, <3.13',
'djangorestframework>=3.12, <3.14',
'dnspython',
'lxml',
'num2words==0.5.9',

View File

@ -6,7 +6,7 @@
min_version = 4
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/hobo/{env:BRANCH_NAME:}
envlist =
py3-django22-{drf39,drf312}-{hobo,authentic,multipublik,multitenant,schemas,passerelle}
py3-django22-coverage-{hobo,authentic,multipublik,multitenant,schemas,passerelle}
code-style
[testenv]
@ -44,8 +44,6 @@ setenv =
authentic: TEST_DIRECTORY=tests_authentic/
passerelle: TEST_DIRECTORY=tests_passerelle/
deps:
drf39: djangorestframework>=3.9.2,<3.10
drf312: djangorestframework>=3.12,<3.13
django22: django>=2.2,<2.3
pytest!=6.0.0
pytest-cov