test against Django 2.2 (#51516)

This commit is contained in:
Benjamin Dauvergne 2021-03-01 12:12:22 +01:00
parent 5db78cd58e
commit 24f26c6e4d
2 changed files with 4 additions and 2 deletions

View File

@ -107,7 +107,7 @@ setup(
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
], ],
install_requires=[ install_requires=[
'django>=1.10,<2', 'django<2.3',
'isodate', 'isodate',
'psycopg2', 'psycopg2',
'jsonschema', 'jsonschema',

View File

@ -5,7 +5,7 @@
[tox] [tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:} toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
envlist = py3-coverage envlist = py3-{dj111,dj22}-coverage
[testenv] [testenv]
# django.contrib.auth is not tested it does not work with our templates # django.contrib.auth is not tested it does not work with our templates
@ -21,6 +21,8 @@ usedevelop =
coverage: True coverage: True
nocoverage: False nocoverage: False
deps = deps =
dj111: django<2
dj22: django<2.3
pip>8 pip>8
pytest-flakes pytest-flakes
pg: psycopg2 pg: psycopg2