Skip to content

Commit

Permalink
Drop support for Python 3.5 (#52)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leouieda authored Mar 27, 2019
1 parent 3ec0414 commit 77da241
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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(
Expand Down

0 comments on commit 77da241

Please sign in to comment.