Skip to content

Commit d0017f7

Browse files
Dropping Python 3.8
1 parent 49ab0ca commit d0017f7

File tree

8 files changed

+3
-20
lines changed

8 files changed

+3
-20
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ body:
5858
attributes:
5959
label: AWS Lambda function runtime
6060
options:
61-
- "3.8"
6261
- "3.9"
6362
- "3.10"
6463
- "3.11"

.github/ISSUE_TEMPLATE/static_typing.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ body:
2525
attributes:
2626
label: AWS Lambda function runtime
2727
options:
28-
- "3.8"
2928
- "3.9"
3029
- "3.10"
3130
- "3.11"

.github/workflows/layer_govcloud.yml

-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
strategy:
4949
matrix:
5050
layer:
51-
- AWSLambdaPowertoolsPythonV3-python38
5251
- AWSLambdaPowertoolsPythonV3-python39
5352
- AWSLambdaPowertoolsPythonV3-python310
5453
- AWSLambdaPowertoolsPythonV3-python311
@@ -94,7 +93,6 @@ jobs:
9493
strategy:
9594
matrix:
9695
layer:
97-
- AWSLambdaPowertoolsPythonV3-python38
9896
- AWSLambdaPowertoolsPythonV3-python39
9997
- AWSLambdaPowertoolsPythonV3-python310
10098
- AWSLambdaPowertoolsPythonV3-python311
@@ -163,7 +161,6 @@ jobs:
163161
strategy:
164162
matrix:
165163
layer:
166-
- AWSLambdaPowertoolsPythonV3-python38
167164
- AWSLambdaPowertoolsPythonV3-python39
168165
- AWSLambdaPowertoolsPythonV3-python310
169166
- AWSLambdaPowertoolsPythonV3-python311

.github/workflows/layer_govcloud_verify.yml

-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
strategy:
2929
matrix:
3030
layer:
31-
- AWSLambdaPowertoolsPythonV3-python38
3231
- AWSLambdaPowertoolsPythonV3-python39
3332
- AWSLambdaPowertoolsPythonV3-python310
3433
- AWSLambdaPowertoolsPythonV3-python311
@@ -59,7 +58,6 @@ jobs:
5958
strategy:
6059
matrix:
6160
layer:
62-
- AWSLambdaPowertoolsPythonV3-python38
6361
- AWSLambdaPowertoolsPythonV3-python39
6462
- AWSLambdaPowertoolsPythonV3-python310
6563
- AWSLambdaPowertoolsPythonV3-python311
@@ -91,7 +89,6 @@ jobs:
9189
strategy:
9290
matrix:
9391
layer:
94-
- AWSLambdaPowertoolsPythonV3-python38
9592
- AWSLambdaPowertoolsPythonV3-python39
9693
- AWSLambdaPowertoolsPythonV3-python310
9794
- AWSLambdaPowertoolsPythonV3-python311

.github/workflows/reusable_deploy_v3_layer_stack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
"eu-north-1", "eu-south-1", "eu-south-2", "eu-west-1", "eu-west-2", "eu-west-3",
7979
"il-central-1", "me-central-1", "me-south-1", "sa-east-1", "us-east-1",
8080
"us-east-2", "us-west-1", "us-west-2"]
81-
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13"]
81+
python-version: ["3.9","3.10","3.11","3.12","3.13"]
8282
include:
8383
- region: "af-south-1"
8484
has_arm64_support: "true"

aws_lambda_powertools/utilities/idempotency/serialization/functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
if sys.version_info >= (3, 10):
66
from types import UnionType # Available in Python 3.10+
77
else:
8-
UnionType = Union # Fallback for Python 3.8 and 3.9
8+
UnionType = Union # Fallback for Python 3.9
99

1010
from aws_lambda_powertools.utilities.idempotency.exceptions import (
1111
IdempotencyModelTypeError,

docs/automation.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,13 @@ Next, we deploy these CDK Assets to the beta account across all AWS regions. Onc
106106

107107
```mermaid
108108
graph LR
109-
Fetch[Fetch PyPi release] --> P38[<strong>Python 3.8</strong>]
110-
Fetch --> P39[<strong>Python 3.9</strong>]
109+
Fetch[Fetch PyPi release] --> P39[<strong>Python 3.9</strong>]
111110
Fetch --> P310[<strong>Python 3.10</strong>]
112111
Fetch --> P311[<strong>Python 3.11</strong>]
113112
Fetch --> P312[<strong>Python 3.12</strong>]
114113
Fetch --> P313[<strong>Python 3.13</strong>]
115114
116115
subgraph build ["LAYER BUILD"]
117-
P38 --> P38x86[build x86_64]
118-
P38 --> P38arm64[build arm64]
119-
120116
P39 --> P39x86[build x86_64]
121117
P39 --> P39arm64[build arm64]
122118
P310 --> P310x86[build x86_64]
@@ -127,8 +123,6 @@ graph LR
127123
P312 --> P312arm64[build arm64]
128124
P313 --> P313x86[build x86_64]
129125
P313 --> P313arm64[build arm64]
130-
P38x86 --> CDKP1[CDK Package]
131-
P38arm64 --> CDKP1[CDK Package]
132126
P39x86 --> CDKP2[CDK Package]
133127
P39arm64 --> CDKP2[CDK Package]
134128
P310x86 --> CDKP3[CDK Package]
@@ -142,7 +136,6 @@ graph LR
142136
end
143137
144138
subgraph beta ["BETA (all regions)"]
145-
CDKP1 --> DeployBeta[Deploy to Beta]
146139
CDKP2 --> DeployBeta
147140
CDKP3 --> DeployBeta
148141
CDKP4 --> DeployBeta

layer_v3/layer_constructors/tests/unit/test_new_cdk_constructor_stack.py

-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def test_with_no_configuration_constructor():
2525
@pytest.mark.parametrize(
2626
"python_version",
2727
[
28-
lambda_.Runtime.PYTHON_3_8,
2928
lambda_.Runtime.PYTHON_3_9,
3029
lambda_.Runtime.PYTHON_3_10,
3130
lambda_.Runtime.PYTHON_3_11,
@@ -62,7 +61,6 @@ def test_with_different_python_version_x86_64(python_version):
6261
@pytest.mark.parametrize(
6362
"python_version",
6463
[
65-
lambda_.Runtime.PYTHON_3_8,
6664
lambda_.Runtime.PYTHON_3_9,
6765
lambda_.Runtime.PYTHON_3_10,
6866
lambda_.Runtime.PYTHON_3_11,

0 commit comments

Comments
 (0)