Skip to content

Commit 9e912d9

Browse files
committed
Add Python 3.7 support and testing
Python 3.7 final has been released [0]. Re-add this to continuous integration testing, and note the support level in setup.py for PyPI and other packagers. Note: Travis-CI's support for Python 3.7 and communication around it is less than ideal. A Travis-CI representative recently provided comment on their "official" workaround [1], for users who need to meet Python 3.7's dependencies, yet aren't ready to move their entire testing image to Ubuntu Xenial (16.04) from default Ubuntu Trusty (14.04) at this stage. See further comments at [2]. [0] https://www.python.org/downloads/release/python-370/ [1] travis-ci/travis-ci#9069 (comment) [2] travis-ci/travis-ci#9815
1 parent 6ea7d8f commit 9e912d9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
language: python
2+
# Existing Python versions
23
python:
34
- "2.7"
45
- "3.5"
56
- "3.6"
7+
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
8+
matrix:
9+
include:
10+
- python: "3.7"
11+
dist: xenial
12+
sudo: required
613
before_install: pip install pipenv
714
install: pipenv install
815
script:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
'six'
2020
],
2121
classifiers=(
22+
"Programming Language :: Python :: 3.7",
2223
"Programming Language :: Python :: 3.6",
2324
"Programming Language :: Python :: 3.5",
2425
"Programming Language :: Python :: 3.4",

0 commit comments

Comments
 (0)