Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update supported python versions #968

Merged
merged 3 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 2 additions & 4 deletions DEVELOPMENT_GUIDE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`_

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down