dj32: run tests with django 3.2 (#72942)

This commit is contained in:
Benjamin Dauvergne 2023-01-10 18:32:30 +01:00
parent 451f34d201
commit 6b4e71032d
2 changed files with 5 additions and 3 deletions

View File

@ -120,7 +120,7 @@ setup(
'Programming Language :: Python', 'Programming Language :: Python',
], ],
install_requires=[ install_requires=[
'django>=1.8,<2.3', 'django>=1.8,<4',
'django-jsonfield', 'django-jsonfield',
'djangorestframework>=3.3', 'djangorestframework>=3.3',
'requests', 'requests',

View File

@ -1,7 +1,8 @@
[tox] [tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/petale/ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/petale/
envlist = envlist =
py3-dj22-drf39 py3-dj22
py3-dj32
code-style code-style
check-migrations check-migrations
@ -10,7 +11,7 @@ envlist =
pylint pylint
code-style code-style
check-migrations check-migrations
py3-dj22-drf39 py3-dj22
[testenv] [testenv]
usedevelop=true usedevelop=true
@ -30,6 +31,7 @@ passenv=
PGPASSWORD PGPASSWORD
deps = deps =
dj22: django>=2.2,<2.3 dj22: django>=2.2,<2.3
dj32: django>=3.2,<3.3
pytest-cov pytest-cov
pytest-django pytest-django
pytest pytest