From 77da2419a9cb570f8fabf458b2637d87b5573375 Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Wed, 27 Mar 2019 12:38:02 -1000 Subject: [PATCH] Drop support for Python 3.5 (#52) We'll no longer build packages or test in 3.5. Update the required python version in setup.py to avoid pip installing a broken version. Fixes #47 --- .appveyor.yml | 3 --- .azure-pipelines.yml | 6 ------ .travis.yml | 4 ---- doc/install.rst | 2 +- setup.py | 3 +-- 5 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index cb56a54b..9503ef9e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,9 +16,6 @@ environment: - MINICONDA: C:\Miniconda36-x64 PYTHON: 3.6 CONDA_REQUIREMENTS: requirements.txt - - MINICONDA: C:\Miniconda35-x64 - PYTHON: 3.5 - CONDA_REQUIREMENTS: requirements.txt # Downgrade pip on 2.7 to avoid failures from a deprecation warning - MINICONDA: C:\Miniconda-x64 PYTHON: 2.7 diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index f72a0b8e..869388e9 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -86,9 +86,6 @@ jobs: Python36: python.version: '3.6' PYTHON: '3.6' - Python35: - python.version: '3.5' - PYTHON: '3.5' Python27: python.version: '2.7' PYTHON: '2.7' @@ -170,9 +167,6 @@ jobs: Python36: python.version: '3.6' PYTHON: '3.6' - Python35: - python.version: '3.5' - PYTHON: '3.5' Python27: python.version: '2.7' PYTHON: '2.7' diff --git a/.travis.yml b/.travis.yml index ddc430aa..b804aed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,6 @@ matrix: - PYTHON=3.6 - DEPLOY_DOCS=true - DEPLOY_PYPI=true - - name: "Linux - Python 3.5" - os: linux - env: - - PYTHON=3.5 - name: "Linux - Python 2.7" os: linux env: diff --git a/doc/install.rst b/doc/install.rst index 98162ee3..419256cc 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -6,7 +6,7 @@ Installing Which Python? ------------- -You'll need Python 2.7 or **Python >=3.5 (recommended)**. +You'll need Python 2.7 or **Python >=3.6 (recommended)**. .. warning:: diff --git a/setup.py b/setup.py index 8210a53a..f39baeeb 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,6 @@ "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "License :: OSI Approved :: {}".format(LICENSE), @@ -58,7 +57,7 @@ "pathlib;python_version<'3.5'", "backports.tempfile;python_version<'3.5'", ] -PYTHON_REQUIRES = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +PYTHON_REQUIRES = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" if __name__ == "__main__": setup(