]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Add Django 1.11
authorStephen Finucane <stephen@that.guru>
Fri, 19 May 2017 14:53:25 +0000 (15:53 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 3 Dec 2017 20:54:46 +0000 (20:54 +0000)
Add support for the latest release of Django, 1.11. This is the next LTS
release (1.8 being the last one), so it's particularly important that we
maintain support for this going forward.

While neither the latest releases of django-rest-framework nor that of
django-filter explicitly support Django 1.11, it appears that they are
functional [1][2]. We can bump these packages separately when new
versions are released.

[1] https://github.com/encode/django-rest-framework/issues/5108
[2] https://github.com/carltongibson/django-filter/commit/1243ff7e

Signed-off-by: Stephen Finucane <stephen@that.guru>
Tested-by: Daniel Axtens <dja@axtens.net>
tox.ini

diff --git a/tox.ini b/tox.ini
index 3ae660b8cd05485c36f60f4fc9cca43067bca390..976789ea4e083a820b0286af77f096bf4d5abe73 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 2.0
-envlist = pep8,py{27,34}-django{16,17,18,19,110},py35-django{18,19,110}
+envlist = pep8,py{27,34}-django{16,17,18,19,110,111},py35-django{18,19,110,111}
 skipsdist = True
 
 [testenv]
@@ -15,8 +15,10 @@ deps =
     django18: django>=1.8,<1.9
     django19: django>=1.9,<1.10
     django110: django>=1.10,<1.11
+    django111: django>=1.11,<2.0
     django{18,19,110}: djangorestframework>=3.4,<3.7
-    django{18,19,110}: django-filter>=1.0,<1.1
+    django111: djangorestframework>=3.6,<3.7
+    django{18,19,110,111}: django-filter>=1.0,<1.1
 setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev
     PYTHONDONTWRITEBYTECODE = 1