Skip to content

Commit

Permalink
Merge pull request #5561 from pradyunsg/python-3.7
Browse files Browse the repository at this point in the history
Document support for Py3.7 and enable testing of Py3.8-dev
  • Loading branch information
pradyunsg authored Jul 30, 2018
2 parents e818039 + fd45982 commit 8650edd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
python: 3.6
- env: GROUP=2
python: 3.6

# Complete checking for ensuring compatibility
# PyPy
- stage: secondary
Expand All @@ -38,7 +37,15 @@ jobs:
python: pypy
- env: GROUP=2
python: pypy
# Older Supported CPython
# Other Supported CPython
- env: GROUP=1
python: 3.7
dist: xenial
sudo: required
- env: GROUP=2
python: 3.7
dist: xenial
sudo: required
- env: GROUP=1
python: 3.5
- env: GROUP=2
Expand All @@ -49,14 +56,14 @@ jobs:
python: 3.4

- env: GROUP=1
python: 3.7-dev
python: 3.8-dev
- env: GROUP=2
python: 3.7-dev
python: 3.8-dev

# It's okay to fail on the in-development CPython version.
fast_finish: true
allow_failures:
- python: 3.7-dev
- python: 3.8-dev

before_install: tools/travis/setup.sh
install: travis_retry tools/travis/install.sh
Expand Down
2 changes: 1 addition & 1 deletion docs/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ On Windows [4]_::
Python and OS Compatibility
---------------------------

pip works with CPython versions 2.7, 3.4, 3.5, 3.6 and also pypy.
pip works with CPython versions 2.7, 3.4, 3.5, 3.6, 3.7 and also pypy.

This means pip works on the latest patch version of each of these minor
versions. Previous patch versions are supported on a best effort approach.
Expand Down
1 change: 1 addition & 0 deletions news/5561.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.7.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def find_version(*file_paths):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
docs, packaging, lint-py2, lint-py3, mypy,
py27, py34, py35, py36, py37, pypy, pypy3
py27, py34, py35, py36, py37, py38, pypy, pypy3

[testenv]
passenv = CI GIT_SSL_CAINFO
Expand Down

0 comments on commit 8650edd

Please sign in to comment.