summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-04-04 22:38:19 +0100
committerStephen Finucane <stephen@that.guru>2017-04-28 22:20:44 +0100
commit646366cc56793d663d98f9ec58a7cecc9734fcd8 (patch)
treeb723834e827866773d1af9496a3eb2ed0544f454 /tox.ini
parent433a35bcc7cabbc6198d81d2a7e09621866dc51f (diff)
downloadpatchwork-646366cc56793d663d98f9ec58a7cecc9734fcd8.tar
patchwork-646366cc56793d663d98f9ec58a7cecc9734fcd8.tar.gz
requirements: Test older versions of DRF (v2)
In commit febad055, we attempted to start testing older versions of Django REST Framework for use with older versions of Django. This work was later reverted in commit 6f2ddab6 due to issues with 'django-filter' versions. There are additional reasons for validating older versions of DRF, such as supporting the versions provide as part of distributions. It turns out that those issues aren't such a big deal and can be handled with a shim. All in all, this means we can and should support these older versions of Django REST Framework, and that is what we'll do. Note that the minimum version supported in requirements.txt is not changed as it's good practice to use the latest available version. However, that doesn't make it any less supported. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index f1b892c..3da222c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,11 @@ skipsdist = True
deps =
-r{toxinidir}/requirements-test.txt
django16: django>=1.6,<1.7
+ django16: djangorestframework>=3.2,<3.3
+ django16: django-filter>=0.11,<0.12
django17: django>=1.7,<1.8
+ django17: djangorestframework>=3.3,<3.4
+ django17: django-filter>=0.11,<0.12
django18: django>=1.8,<1.9
django19: django>=1.9,<1.10
django110: django>=1.10,<1.11