From 6d3e018f09f9c4b8566e1731e6ff7843e89cfb04 Mon Sep 17 00:00:00 2001 From: Darwin Chowdary Date: Fri, 2 Dec 2022 14:28:35 -0800 Subject: [PATCH 1/2] Drop support for py36 --- .github/workflows/ci_tests.yaml | 1 - README.rst | 2 +- codebuild/python3.6.yml | 20 -------------------- examples/setup.py | 2 -- examples/tox.ini | 2 +- setup.py | 1 - tox.ini | 2 +- 7 files changed, 3 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index c4f3f5c0..dcb78974 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -25,7 +25,6 @@ jobs: - os: macos-latest architecture: x64 python: - - 3.6 - 3.7 - 3.8 - 3.9 diff --git a/README.rst b/README.rst index b472e75e..14d4e151 100644 --- a/README.rst +++ b/README.rst @@ -47,7 +47,7 @@ Getting Started Required Prerequisites ====================== -* Python 3.6+ +* Python 3.7+ Installation diff --git a/codebuild/python3.6.yml b/codebuild/python3.6.yml index 864ea3b1..e69de29b 100644 --- a/codebuild/python3.6.yml +++ b/codebuild/python3.6.yml @@ -1,20 +0,0 @@ -version: 0.2 - -env: - variables: - TOXENV: "py36-integ-slow" - AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >- - arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f - AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >- - arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2 - -phases: - install: - runtime-versions: - python: latest - build: - commands: - - pyenv install 3.6.15 - - pyenv local 3.6.15 - - pip install tox tox-pyenv - - tox diff --git a/examples/setup.py b/examples/setup.py index ceb22c19..b856ef53 100644 --- a/examples/setup.py +++ b/examples/setup.py @@ -50,8 +50,6 @@ def get_requirements(): "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", diff --git a/examples/tox.ini b/examples/tox.ini index eb8b1aad..e4b39b37 100644 --- a/examples/tox.ini +++ b/examples/tox.ini @@ -2,7 +2,7 @@ [tox] envlist = - py{3,36,37,38,39}-examples + py{3,37,38,39}-examples [testenv:base-command] commands = python -m pytest --basetemp={envtmpdir} -l {posargs} diff --git a/setup.py b/setup.py index c696bfd2..9115ff00 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,6 @@ def get_requirements(): "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", diff --git a/tox.ini b/tox.ini index 188569bc..b756e32d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{36,37,38,39,310}-{local,integ,ddb,examples}-fast, + py{37,38,39,310}-{local,integ,ddb,examples}-fast, nocmk, sourcebuildcheck, docs, bandit, doc8, readme, flake8{,-tests,-examples}, pylint{,-tests,-examples}, From 564b3ba332077db7b6bfae178a6bc88c379a92df Mon Sep 17 00:00:00 2001 From: Darwin Chowdary Date: Fri, 2 Dec 2022 14:33:31 -0800 Subject: [PATCH 2/2] Drop support for py36 --- buildspec.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index d6b651bd..fb50c7b4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,8 +3,6 @@ version: 0.2 batch: fast-fail: false build-list: - - identifier: python3_6 - buildspec: codebuild/python3.6.yml - identifier: python3_7 buildspec: codebuild/python3.7.yml - identifier: python3_8