Skip to content

Commit 8756f55

Browse files
djhoesejreback
authored andcommitted
DEP: Add 'python_requires' to setup.py to drop 3.4 support (#20698)
1 parent 1e4e04b commit 8756f55

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

ci/environment-dev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ dependencies:
1111
- python-dateutil>=2.5.0
1212
- python=3
1313
- pytz
14-
- setuptools>=3.3
14+
- setuptools>=24.2.0
1515
- sphinx

ci/requirements_dev.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ moto
77
pytest>=3.1
88
python-dateutil>=2.5.0
99
pytz
10-
setuptools>=3.3
11-
sphinx
10+
setuptools>=24.2.0
11+
sphinx

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ installed), make sure you have `pytest
223223
Dependencies
224224
------------
225225

226-
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 3.3.0 or higher
226+
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 24.2.0 or higher
227227
* `NumPy <http://www.numpy.org>`__: 1.9.0 or higher
228228
* `python-dateutil <//https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
229229
* `pytz <http://pytz.sourceforge.net/>`__

doc/source/whatsnew/v0.23.0.txt

+2
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ If installed, we now require:
435435
+-----------------+-----------------+----------+---------------+
436436
| beautifulsoup4 | 4.2.1 | | :issue:`20082`|
437437
+-----------------+-----------------+----------+---------------+
438+
| setuptools | 24.2.0 | | :issue:`20698`|
439+
+-----------------+-----------------+----------+---------------+
438440

439441
.. _whatsnew_0230.api_breaking.dict_insertion_order:
440442

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -748,4 +748,5 @@ def pxd(name):
748748
long_description=LONG_DESCRIPTION,
749749
classifiers=CLASSIFIERS,
750750
platforms='any',
751+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
751752
**setuptools_kwargs)

0 commit comments

Comments
 (0)