From 26d45a667db927f736a3fec6f1ab70c09f4a7eee Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Tue, 3 Jul 2018 00:52:16 +0530 Subject: [PATCH 1/3] Document and test support for Py3.7 --- .travis.yml | 14 +++++++++----- docs/installing.rst | 2 +- setup.py | 1 + tox.ini | 2 +- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8f5e9bf5fcc..cc2ac9585f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,9 +23,9 @@ jobs: - env: GROUP=2 python: 2.7 - env: GROUP=1 - python: 3.6 + python: 3.7 - env: GROUP=2 - python: 3.6 + python: 3.7 # Complete checking for ensuring compatibility # PyPy @@ -39,6 +39,10 @@ jobs: - env: GROUP=2 python: pypy # Older Supported CPython + - env: GROUP=1 + python: 3.6 + - env: GROUP=2 + python: 3.6 - env: GROUP=1 python: 3.5 - env: GROUP=2 @@ -49,14 +53,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 diff --git a/docs/installing.rst b/docs/installing.rst index 916c3a3bad6..6a103e84f6d 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -107,7 +107,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. diff --git a/setup.py b/setup.py index f52160a8fae..de8cf11034a 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,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", ], diff --git a/tox.ini b/tox.ini index 866db977ff0..ee8a3f118fe 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = docs, packaging, lint-py2, lint-py3, mypy, - py27, py34, py35, py67, py37, pypy, pypy3 + py27, py34, py35, py36, py37, py38, pypy, pypy3 [testenv] passenv = CI GIT_SSL_CAINFO From 4b4150f779e22f9179898ce3b2345fee1a7f10fb Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Tue, 3 Jul 2018 01:02:48 +0530 Subject: [PATCH 2/3] :newspaper: --- news/5561.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/5561.feature diff --git a/news/5561.feature b/news/5561.feature new file mode 100644 index 00000000000..30e37cb9908 --- /dev/null +++ b/news/5561.feature @@ -0,0 +1 @@ +Add support for Python 3.7. From fd459825416983d13b85ef8b1dba2345dcca1db7 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sun, 29 Jul 2018 19:09:38 +0530 Subject: [PATCH 3/3] Travis: Default to Python 3.6 and enable 3.7 support --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc2ac9585f7..6ecfd9b645c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,9 @@ jobs: - env: GROUP=2 python: 2.7 - env: GROUP=1 - python: 3.7 + python: 3.6 - env: GROUP=2 - python: 3.7 - + python: 3.6 # Complete checking for ensuring compatibility # PyPy - stage: secondary @@ -38,11 +37,15 @@ jobs: python: pypy - env: GROUP=2 python: pypy - # Older Supported CPython + # Other Supported CPython - env: GROUP=1 - python: 3.6 + python: 3.7 + dist: xenial + sudo: required - env: GROUP=2 - python: 3.6 + python: 3.7 + dist: xenial + sudo: required - env: GROUP=1 python: 3.5 - env: GROUP=2