From f2a42923d2a622a42ad70fe5939ae7babc7208f4 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 13 Jul 2018 09:31:39 +0000 Subject: [PATCH] Add support for Python 3.7 (#944) --- .travis.yml | 1 + README.rst | 2 +- docs/guide/install.txt | 2 +- setup.py | 1 + tox.ini | 4 ++-- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index de8e887af..f59e22fa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: - "3.4" - "3.5" - "3.6" + - "3.7-dev" cache: pip diff --git a/README.rst b/README.rst index 7e9bf7da1..a77a68529 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ Full documentation on `read the docs`_. Requirements ------------ -* **Python**: 3.4, 3.5, 3.6 +* **Python**: 3.4, 3.5, 3.6, 3.7 * **Django**: 1.11, 2.0 * **DRF**: 3.7 diff --git a/docs/guide/install.txt b/docs/guide/install.txt index d338ca56a..9a6c09467 100644 --- a/docs/guide/install.txt +++ b/docs/guide/install.txt @@ -29,6 +29,6 @@ __ http://www.django-rest-framework.org/ -* **Python**: 3.4, 3.5, 3.6 +* **Python**: 3.4, 3.5, 3.6, 3.7 * **Django**: 1.11, 2.0 * **DRF**: 3.7 diff --git a/setup.py b/setup.py index abf2476e1..25b5d7b0e 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Framework :: Django', ], zip_safe=False, diff --git a/tox.ini b/tox.ini index 25fd858bf..c6047801f 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ envlist = {py27,py34,py35,py36}-django111, {py34,py35,py36}-django20, - {py35,py36}-django21, - {py35,py36}-latest, + {py35,py36,py37}-django21, + {py35,py36,py37}-latest, isort,lint,docs,warnings,