From da2e446e08365868d017fe4c7489ce47fcb62402 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 1 Mar 2021 12:12:22 +0100 Subject: [PATCH 1/9] test against Django 2.2 (#51516) --- setup.py | 2 +- tox.ini | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6492e3a..3ca1c30 100644 --- a/setup.py +++ b/setup.py @@ -107,7 +107,7 @@ setup( 'Programming Language :: Python :: 2', ], install_requires=[ - 'django>=1.10,<2', + 'django<2.3', 'isodate', 'psycopg2', 'jsonschema', diff --git a/tox.ini b/tox.ini index 69d33fb..12cf159 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ [tox] toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:} -envlist = py3-coverage +envlist = py3-{dj111,dj22}-coverage [testenv] # django.contrib.auth is not tested it does not work with our templates @@ -21,6 +21,8 @@ usedevelop = coverage: True nocoverage: False deps = + dj111: django<2 + dj22: django<2.3 pip>8 pytest-flakes pg: psycopg2 -- 2.30.0