From 8881a4acbb9c58dba33b6462832a0aaadc957ad4 Mon Sep 17 00:00:00 2001 From: Rafael Pivato Date: Wed, 22 Apr 2020 21:08:37 -0300 Subject: [PATCH] Dropping Python 2.7 --- HISTORY.rst | 6 ++++-- setup.py | 6 ++---- tox.ini | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 45ddc534..4c0f2126 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,11 +2,13 @@ History ======= -1.8.8a (unstable) ------------------ +1.8.8a +------ * Binary adjustments and enhancements on top of reported vulnerability * Using tox to help with local tests against different Python versions +* Drop dead Python 2.7 support, requiring Python 3.5+ +* Fixed Python Requirement metadata setting requirement to Python >= 3.5 1.8.7 (2020-03-10) ------------------ diff --git a/setup.py b/setup.py index e3288ff2..f1a20f90 100644 --- a/setup.py +++ b/setup.py @@ -35,9 +35,9 @@ 'Click>=6.0', 'requests', 'packaging', - 'dparse>=0.4.1' + 'dparse>=0.5.1' ], - python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", + python_requires=">=3.5", license="MIT license", zip_safe=False, keywords='safety', @@ -46,8 +46,6 @@ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', - "Programming Language :: Python :: 2", - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', diff --git a/tox.ini b/tox.ini index 8a6c2923..5f1ad8f6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py35, py36, py37, py38 +envlist = py35, py36, py37, py38 [testenv] deps =