diff --git a/.travis.yml b/.travis.yml index 41bc941e7..68e50f0a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ # Enable container based builds sudo: false +dist: xenial # required for Python >= 3.7 language: python matrix: include: + - python: 3.7 + env: + - TOXENV=py37 - python: 3.6 env: - TOXENV=py36 diff --git a/DEVELOPMENT_GUIDE.rst b/DEVELOPMENT_GUIDE.rst index 0c9c4fada..c9f0d0294 100755 --- a/DEVELOPMENT_GUIDE.rst +++ b/DEVELOPMENT_GUIDE.rst @@ -17,10 +17,8 @@ steps manually. 1. Install Python Versions ~~~~~~~~~~~~~~~~~~~~~~~~~~ -Python 2.7 is our officially supported Python version. We have a future goal to support to Python3.6 but the code base -currently does not work with Python3. To make future migration easier, any new code we write must be compatible with -Python3. Follow the idioms from this `excellent cheatsheet`_ to make sure your code is compatible with both Python -versions. +Our officially supported Python versions are 2.7, 3.6, and 3.7. Follow the idioms from this `excellent cheatsheet`_ to +make sure your code is compatible with both Python 2.7 and 3 versions. Setup Python locally using `pyenv`_ diff --git a/tox.ini b/tox.ini index 637b5707a..7a4d5af96 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py36 +envlist = py27, py36, py37 [testenv:py27] # Set this environment variable **only** for Python2.7. In Py >= 3.3, the hash seed property was set to a random