Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove Python3.7 support #648

Merged
merged 8 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- windows-latest
- macos-12
python:
- 3.7
- 3.8
- 3.9
- "3.10"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Getting Started
Required Prerequisites
======================

* Python 3.7+
* Python 3.8+
* cryptography >= 3.4.6
* boto3 >= 1.10.0
* attrs
Expand Down
13 changes: 0 additions & 13 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@ version: 0.2
batch:
fast-fail: false
build-list:
- identifier: py37_integ
buildspec: codebuild/py37/integ.yml
env:
image: aws/codebuild/standard:5.0
- identifier: py37_examples
buildspec: codebuild/py37/examples.yml
env:
image: aws/codebuild/standard:5.0
- identifier: py37_awses_local
buildspec: codebuild/py37/awses_local.yml
env:
image: aws/codebuild/standard:5.0

- identifier: py38_integ
buildspec: codebuild/py38/integ.yml
env:
Expand Down
25 changes: 0 additions & 25 deletions codebuild/py37/awses_local.yml

This file was deleted.

22 changes: 0 additions & 22 deletions codebuild/py37/examples.yml

This file was deleted.

22 changes: 0 additions & 22 deletions codebuild/py37/integ.yml

This file was deleted.

1 change: 0 additions & 1 deletion decrypt_oracle/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def get_requirements():
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ def get_requirements():
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Topic :: Security :: Cryptography",
Expand Down
3 changes: 2 additions & 1 deletion src/aws_encryption_sdk/compatability.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ def _warn_deprecated_python():
(2, 7): {"date": DEPRECATION_DATE_MAP["2.x"]},
(3, 4): {"date": DEPRECATION_DATE_MAP["2.x"]},
(3, 5): {"date": "2021-11-10"},
(3, 7): {"date": "2024-03-04"},
}
py_version = (sys.version_info.major, sys.version_info.minor)
minimum_version = (3, 6)
minimum_version = (3, 8)

if py_version in deprecated_versions:
params = deprecated_versions[py_version]
Expand Down
2 changes: 1 addition & 1 deletion test_vector_handlers/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Getting Started
Required Prerequisites
======================

* Python 3.7+
* Python 3.8+
* aws-encryption-sdk

Use
Expand Down
1 change: 0 additions & 1 deletion test_vector_handlers/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def get_requirements():
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{37,38,39,310,311,312}-{local,integ,accept,examples}, nocmk,
py{38,39,310,311,312}-{local,integ,accept,examples}, nocmk,
bandit, doc8, readme, docs,
{flake8,pylint}{,-tests,-examples},
isort-check, black-check,
Expand Down
Loading