From 3abb9cefdeefab9ab5f07b09cbd23d80490c7cf8 Mon Sep 17 00:00:00 2001 From: Kit Yan Choi Date: Thu, 5 Nov 2020 15:54:14 +0000 Subject: [PATCH 1/3] Explicitly require Python >= 3.6 in setup.py --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 050e37228..669c0f6a6 100644 --- a/setup.py +++ b/setup.py @@ -138,4 +138,5 @@ def write_version_py(filename='apptools/_version.py'): packages=find_packages(), platforms=["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"], zip_safe=False, - ) + python_requires=">=3.6", + ) From f84fc67787c3e6eadb21030d09b3bf4f8e6549ad Mon Sep 17 00:00:00 2001 From: Kit Yan Choi Date: Thu, 5 Nov 2020 15:55:03 +0000 Subject: [PATCH 2/3] Remove Python 2.7 and Python 3.5 in etstool.py --- etstool.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etstool.py b/etstool.py index c5ffde2ed..21367a9d4 100644 --- a/etstool.py +++ b/etstool.py @@ -53,7 +53,7 @@ python etstool.py test_all -Currently supported runtime values are ``2.7``, ``3.5``, ``3.6``. Not all +Currently supported runtime value is``3.6``. Not all runtimes will work, but the tasks will fail with a clear error if that is the case. @@ -95,8 +95,6 @@ DEFAULT_RUNTIME = "3.6" supported_runtimes = [ - '2.7', - '3.5', '3.6', ] From 96a335b98a52c6a784670c16852d22c44c2e2f65 Mon Sep 17 00:00:00 2001 From: Kit Yan Choi Date: Thu, 5 Nov 2020 15:59:21 +0000 Subject: [PATCH 3/3] Add news fragment for dropping Python 2.7 and 3.5 support --- docs/releases/upcoming/190.removal.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/releases/upcoming/190.removal.rst diff --git a/docs/releases/upcoming/190.removal.rst b/docs/releases/upcoming/190.removal.rst new file mode 100644 index 000000000..c0247c4db --- /dev/null +++ b/docs/releases/upcoming/190.removal.rst @@ -0,0 +1 @@ +Remove support for Python 2.7 and 3.5 (#190) \ No newline at end of file