diff --git a/.travis.yml b/.travis.yml index 8f5e9bf5fcc..6ecfd9b645c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,6 @@ jobs: python: 3.6 - env: GROUP=2 python: 3.6 - # Complete checking for ensuring compatibility # PyPy - stage: secondary @@ -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 @@ -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 diff --git a/docs/installing.rst b/docs/installing.rst index 795feedbf50..99eef73609a 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -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. 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. diff --git a/setup.py b/setup.py index 2f1d3931877..e2e14b4965a 100644 --- a/setup.py +++ b/setup.py @@ -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", ], diff --git a/tox.ini b/tox.ini index 6701dd27f05..c71dc266862 100644 --- a/tox.ini +++ b/tox.ini @@ -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