summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2019-09-09 10:12:55 +0100
committerStephen Finucane <stephen@that.guru>2019-09-09 11:53:47 +0100
commit0a9705576f2afd2c3ec5c7fd55c616e8c07d6530 (patch)
tree29dd388bd06146b043bf0f2808527c80103f5165 /tox.ini
parent7f501f42038efcd909df6392fbea5d86c441f16d (diff)
downloadpatchwork-0a9705576f2afd2c3ec5c7fd55c616e8c07d6530.tar
patchwork-0a9705576f2afd2c3ec5c7fd55c616e8c07d6530.tar.gz
Add support for djangorestframework 3.10
This is necessary for proper Django 2.2 support. We retain support for older versions since 3.10 is Python 3-only. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 5 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 7742d1b..0c03857 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,21 +1,22 @@
[tox]
minversion = 2.0
-envlist = pep8,docs,py{27}-django111,py{35,36,37}-django{111,20,21,22}
+envlist = pep8,docs,py27-django111,py{35,36,37}-django{111,20,21,22}
skipsdist = True
[testenv]
deps =
-r{toxinidir}/requirements-test.txt
django111: django>=1.11,<2.0
- django111: djangorestframework>=3.6,<3.10
+ django111: djangorestframework>=3.6,<3.11; python_version >= '3.5'
+ django111: djangorestframework>=3.6,<3.10; python_version < '3.0'
django111: django-filter>=1.0,<3.0; python_version >= '3.5'
django111: django-filter>=1.0,<2.0; python_version < '3.0'
django20: django>=2.0,<2.1
django21: django>=2.1,<2.2
- django{20,21}: djangorestframework>=3.7,<3.10
+ django{20,21}: djangorestframework>=3.7,<3.11
django{20,21}: django-filter>=2.0,<3.0
django22: django>=2.2,<2.3
- django22: djangorestframework>=3.9.2
+ django22: djangorestframework>=3.10,<3.11
django22: django-filter>=2.1,<3.0
setenv =
DJANGO_SETTINGS_MODULE = patchwork.settings.dev