Skip to content

Commit 2dbd62b

Browse files
texastonylucasmcdonald3ShubhamChaturvedi7
authored
feat: remove Python3.7 support (#648)
* chore: remove py3.7 testing * docs: stop advertising py3.7 support * chore: warn about Py3.7 deprecation * fix: date in for py37 in compatability * Addresses PR Comments --------- Co-authored-by: Lucas McDonald <[email protected]> Co-authored-by: Shubham Chaturvedi <[email protected]>
1 parent 124e55d commit 2dbd62b

File tree

12 files changed

+8
-90
lines changed

12 files changed

+8
-90
lines changed

Diff for: .github/workflows/ci_tests.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
- windows-latest
2929
- macos-12
3030
python:
31-
- 3.7
3231
- 3.8
3332
- 3.9
3433
- "3.10"

Diff for: README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Getting Started
3434
Required Prerequisites
3535
======================
3636

37-
* Python 3.7+
37+
* Python 3.8+
3838
* cryptography >= 3.4.6
3939
* boto3 >= 1.10.0
4040
* attrs

Diff for: buildspec.yml

-13
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,6 @@ version: 0.2
33
batch:
44
fast-fail: false
55
build-list:
6-
- identifier: py37_integ
7-
buildspec: codebuild/py37/integ.yml
8-
env:
9-
image: aws/codebuild/standard:5.0
10-
- identifier: py37_examples
11-
buildspec: codebuild/py37/examples.yml
12-
env:
13-
image: aws/codebuild/standard:5.0
14-
- identifier: py37_awses_local
15-
buildspec: codebuild/py37/awses_local.yml
16-
env:
17-
image: aws/codebuild/standard:5.0
18-
196
- identifier: py38_integ
207
buildspec: codebuild/py38/integ.yml
218
env:

Diff for: codebuild/py37/awses_local.yml

-25
This file was deleted.

Diff for: codebuild/py37/examples.yml

-22
This file was deleted.

Diff for: codebuild/py37/integ.yml

-22
This file was deleted.

Diff for: decrypt_oracle/setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def get_requirements():
4545
"Natural Language :: English",
4646
"License :: OSI Approved :: Apache Software License",
4747
"Programming Language :: Python",
48-
"Programming Language :: Python :: 3.7",
4948
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
5150
"Programming Language :: Python :: Implementation :: CPython",

Diff for: setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ def get_requirements():
4646
"License :: OSI Approved :: Apache Software License",
4747
"Programming Language :: Python",
4848
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.7",
5049
"Programming Language :: Python :: 3.8",
5150
"Programming Language :: Python :: 3.9",
51+
"Programming Language :: Python :: 3.10",
52+
"Programming Language :: Python :: 3.11",
53+
"Programming Language :: Python :: 3.12",
5254
"Programming Language :: Python :: Implementation :: CPython",
5355
"Topic :: Security",
5456
"Topic :: Security :: Cryptography",

Diff for: src/aws_encryption_sdk/compatability.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ def _warn_deprecated_python():
1313
(2, 7): {"date": DEPRECATION_DATE_MAP["2.x"]},
1414
(3, 4): {"date": DEPRECATION_DATE_MAP["2.x"]},
1515
(3, 5): {"date": "2021-11-10"},
16+
(3, 7): {"date": "2024-03-04"},
1617
}
1718
py_version = (sys.version_info.major, sys.version_info.minor)
18-
minimum_version = (3, 6)
19+
minimum_version = (3, 8)
1920

2021
if py_version in deprecated_versions:
2122
params = deprecated_versions[py_version]

Diff for: test_vector_handlers/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Getting Started
1212
Required Prerequisites
1313
======================
1414

15-
* Python 3.7+
15+
* Python 3.8+
1616
* aws-encryption-sdk
1717

1818
Use

Diff for: test_vector_handlers/setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def get_requirements():
4646
"License :: OSI Approved :: Apache Software License",
4747
"Programming Language :: Python",
4848
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.7",
5049
"Programming Language :: Python :: 3.8",
5150
"Programming Language :: Python :: 3.9",
5251
"Programming Language :: Python :: Implementation :: CPython",

Diff for: tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310,311,312}-{local,integ,accept,examples}, nocmk,
3+
py{38,39,310,311,312}-{local,integ,accept,examples}, nocmk,
44
bandit, doc8, readme, docs,
55
{flake8,pylint}{,-tests,-examples},
66
isort-check, black-check,

0 commit comments

Comments
 (0)