From 66512ad3a918289f0fb5fabb2aa05e8de4f62014 Mon Sep 17 00:00:00 2001 From: HemangChothani Date: Thu, 15 Oct 2020 18:49:15 +0530 Subject: [PATCH 1/4] feat: add classifiers for python3.9 and remove for python2.7 and 3.5 --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 8a848bcfa..c93980a4e 100644 --- a/setup.py +++ b/setup.py @@ -75,13 +75,11 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Operating System :: OS Independent", "Topic :: Internet", ], @@ -90,7 +88,7 @@ namespace_packages=namespaces, install_requires=dependencies, extras_require=extras, - python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", + python_requires=">=3.6", include_package_data=True, zip_safe=False, ) From 5d6576acfebfda276e127c741b21e92617c90a23 Mon Sep 17 00:00:00 2001 From: HemangChothani Date: Fri, 16 Oct 2020 12:17:53 +0530 Subject: [PATCH 2/4] feat: add 3.9 in unit test and remove 2.7 and 3.5 --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 7bab302f2..fa613edc4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -27,8 +27,8 @@ BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.8" -SYSTEM_TEST_PYTHON_VERSIONS = ["2.7", "3.8"] -UNIT_TEST_PYTHON_VERSIONS = ["2.7", "3.5", "3.6", "3.7", "3.8"] +SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] +UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] @nox.session(python=DEFAULT_PYTHON_VERSION) From 3b73ccf7ce4139fbc1e87a44eb1df50674387177 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Fri, 13 Nov 2020 17:32:32 -0500 Subject: [PATCH 3/4] chore: restore 2.7 support --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c93980a4e..69c414d4d 100644 --- a/setup.py +++ b/setup.py @@ -88,7 +88,7 @@ namespace_packages=namespaces, install_requires=dependencies, extras_require=extras, - python_requires=">=3.6", + python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*", include_package_data=True, zip_safe=False, ) From d1a773bfa50b6e314fbea290868ba4063696d659 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Fri, 13 Nov 2020 17:34:01 -0500 Subject: [PATCH 4/4] chore: restore 2.7 classifier --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 69c414d4d..9cd192dd5 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,8 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7",