[v2,7/9] tox: Add Django 1.11

Message ID 20171102102844.18931-8-stephen@that.guru
State New
Headers show
Series
  • Add support for Django 1.11
Related show

Commit Message

Stephen Finucane Nov. 2, 2017, 10:28 a.m.
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>
---
 tox.ini | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/tox.ini b/tox.ini
index 3ae660b8..976789ea 100644
--- 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