From a53457ec955ffa678095f2828b94e959d3907eab Mon Sep 17 00:00:00 2001 From: Ilia Kurenkov Date: Wed, 13 Mar 2024 13:35:10 +0100 Subject: [PATCH 1/3] Drop py2 support from the wheel --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 0a4c118..785c41b 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +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.*", + python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", install_requires=["oauthlib>=3.0.0", "requests>=2.0.0"], extras_require={"rsa": ["oauthlib[signedtoken]>=3.0.0"]}, license="ISC", @@ -53,8 +53,6 @@ def readall(path): "Natural Language :: English", "License :: OSI Approved :: BSD License", "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", From 1c5cea75cb94b69b028709c023576fa60b118562 Mon Sep 17 00:00:00 2001 From: Ilia Kurenkov Date: Wed, 13 Mar 2024 13:40:33 +0100 Subject: [PATCH 2/3] python_requires gt 2.7 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 785c41b..6ea36e9 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +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="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", + python_requires=">2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", install_requires=["oauthlib>=3.0.0", "requests>=2.0.0"], extras_require={"rsa": ["oauthlib[signedtoken]>=3.0.0"]}, license="ISC", From 3109c26563f1ca73a97738b82c4bab69a1657cf9 Mon Sep 17 00:00:00 2001 From: Ilia Kurenkov Date: Wed, 13 Mar 2024 13:46:22 +0100 Subject: [PATCH 3/3] simplify python_requires expression --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6ea36e9..2bc5e55 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +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.*", + python_requires=">=3.4", install_requires=["oauthlib>=3.0.0", "requests>=2.0.0"], extras_require={"rsa": ["oauthlib[signedtoken]>=3.0.0"]}, license="ISC",