From 9fdbb291cdc31d07c4ccfee7ae1ee94ba615fec9 Mon Sep 17 00:00:00 2001 From: texastony <5892063+texastony@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:17:08 -0500 Subject: [PATCH] chore: deprecate python 3.5 BREAKING CHANGE: Removes Testing against Python 3.5. Python 3.5 is no longer supported by the Python AWS Dynamodb Encryption Client. --- .github/workflows/ci_tests.yaml | 1 - README.rst | 2 +- buildspec.yml | 2 -- codebuild/python3.5.yml | 32 -------------------------------- examples/tox.ini | 2 +- setup.py | 1 - tox.ini | 2 +- 7 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 codebuild/python3.5.yml diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 9cf5a738..21d81fda 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.5 - 3.6 - 3.7 - 3.8 diff --git a/README.rst b/README.rst index 6881c2e1..b472e75e 100644 --- a/README.rst +++ b/README.rst @@ -47,7 +47,7 @@ Getting Started Required Prerequisites ====================== -* Python 3.5+ +* Python 3.6+ Installation diff --git a/buildspec.yml b/buildspec.yml index b83ff440..2ffbc416 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,8 +3,6 @@ version: 0.2 batch: fast-fail: false build-list: - - identifier: python3_5 - buildspec: codebuild/python3.5.yml - identifier: python3_6 buildspec: codebuild/python3.6.yml - identifier: python3_7 diff --git a/codebuild/python3.5.yml b/codebuild/python3.5.yml deleted file mode 100644 index f2b1dbcd..00000000 --- a/codebuild/python3.5.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: 0.2 - -env: - variables: - TOXENV: "py35-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: - # The specific versions are manually installed - # because they are not installed - # by default in CodeBuild containers. - # `pyenv` does not have - # a nice way to just install - # the latest patch version. - # I have selected the current latest patch - # rather than try - # and manage a one-liner or script. - # Testing every minor version - # is too extreme at this time. - # The choice of versions should be reviewed. - - pyenv install 3.5.9 - - pyenv local 3.5.9 - - pip install tox tox-pyenv - - tox diff --git a/examples/tox.ini b/examples/tox.ini index 67fa6318..ef7d4072 100644 --- a/examples/tox.ini +++ b/examples/tox.ini @@ -2,7 +2,7 @@ [tox] envlist = - py{27,35,36,37,38,39}-examples + py{36,37,38,39}-examples [testenv:base-command] commands = python -m pytest --basetemp={envtmpdir} -l {posargs} diff --git a/setup.py b/setup.py index 5ae2a7ef..c696bfd2 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.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", diff --git a/tox.ini b/tox.ini index d0aa06da..c9de7e32 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{35,36,37,38,39}-{local,integ,ddb,examples}-fast, + py{36,37,38,39}-{local,integ,ddb,examples}-fast, nocmk, sourcebuildcheck, docs, bandit, doc8, readme, flake8{,-tests,-examples}, pylint{,-tests,-examples},