From ce70039b4a923bbb2f08806762e628f4eb0a10fb Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 13 Jan 2018 16:10:00 -0800 Subject: [PATCH] Remove support for EOL Python 3.3 Python 3.3 is end of life. It is no longer receiving bug fixes, including for security issues. It has been EOL since 2017-09-29. For additional information, see: https://devguide.python.org/#status-of-python-branches Use setuptools python_requires argument to help pip decide what version of the library to install. https://packaging.python.org/tutorials/distributing-packages/#python-requires > If your project only runs on certain Python versions, setting the > python_requires argument to the appropriate PEP 440 version specifier > string will prevent pip from installing the project on other Python > versions. https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords > python_requires > > A string corresponding to a version specifier (as defined in PEP 440) > for the Python version, used to specify the Requires-Python defined in > PEP 345. --- .travis.yml | 1 - setup.py | 2 +- tox.ini | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e72e5b64..e7d9b833 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: python cache: pip python: - 2.7 - - 3.3 - 3.4 - 3.5 - 3.6 diff --git a/setup.py b/setup.py index cfa8ae89..7893cd22 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ def readall(path): author_email='me@kennethreitz.com', url='https://github.com/requests/requests-oauthlib', packages=['requests_oauthlib', 'requests_oauthlib.compliance_fixes'], + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", install_requires=['oauthlib>=0.6.2', 'requests>=2.0.0'], extras_require={'rsa': ['oauthlib[rsa]>=0.6.2', 'requests>=2.0.0']}, license='ISC', @@ -55,7 +56,6 @@ def readall(path): 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', diff --git a/tox.ini b/tox.ini index fd85408d..2cb582d4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36, pypy +envlist = py27, py34, py35, py36, pypy [testenv] deps=