Skip to content

Commit 23c5365

Browse files
Adding support for Python 3.14
1 parent abd340e commit 23c5365

29 files changed

+132
-28
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ body:
6363
- "3.11"
6464
- "3.12"
6565
- "3.13"
66+
- "3.14"
6667
validations:
6768
required: true
6869
- type: dropdown

.github/ISSUE_TEMPLATE/static_typing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ body:
3030
- "3.11"
3131
- "3.12"
3232
- "3.13"
33+
- "3.14"
3334
validations:
3435
required: true
3536
- type: input

.github/workflows/bootstrap_region.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ jobs:
8585
- AWSLambdaPowertoolsPythonV3-python311-arm64
8686
- AWSLambdaPowertoolsPythonV3-python312-arm64
8787
- AWSLambdaPowertoolsPythonV3-python313-arm64
88+
- AWSLambdaPowertoolsPythonV3-python314-arm64
8889
- AWSLambdaPowertoolsPythonV3-python39-x86_64
8990
- AWSLambdaPowertoolsPythonV3-python310-x86_64
9091
- AWSLambdaPowertoolsPythonV3-python311-x86_64
9192
- AWSLambdaPowertoolsPythonV3-python312-x86_64
9293
- AWSLambdaPowertoolsPythonV3-python313-x86_64
94+
- AWSLambdaPowertoolsPythonV3-python314-x86_64
9395
environment: layer-${{ inputs.environment }}
9496
steps:
9597
- id: credentials

.github/workflows/layer_govcloud.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
- AWSLambdaPowertoolsPythonV3-python311
5454
- AWSLambdaPowertoolsPythonV3-python312
5555
- AWSLambdaPowertoolsPythonV3-python313
56+
- AWSLambdaPowertoolsPythonV3-python314
5657
arch:
5758
- arm64
5859
- x86_64
@@ -98,6 +99,7 @@ jobs:
9899
- AWSLambdaPowertoolsPythonV3-python311
99100
- AWSLambdaPowertoolsPythonV3-python312
100101
- AWSLambdaPowertoolsPythonV3-python313
102+
- AWSLambdaPowertoolsPythonV3-python314
101103
arch:
102104
- arm64
103105
- x86_64
@@ -166,6 +168,7 @@ jobs:
166168
- AWSLambdaPowertoolsPythonV3-python311
167169
- AWSLambdaPowertoolsPythonV3-python312
168170
- AWSLambdaPowertoolsPythonV3-python313
171+
- AWSLambdaPowertoolsPythonV3-python314
169172
arch:
170173
- arm64
171174
- x86_64

.github/workflows/layer_govcloud_verify.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- AWSLambdaPowertoolsPythonV3-python311
3434
- AWSLambdaPowertoolsPythonV3-python312
3535
- AWSLambdaPowertoolsPythonV3-python313
36+
- AWSLambdaPowertoolsPythonV3-python314
3637
arch:
3738
- arm64
3839
- x86_64
@@ -63,6 +64,7 @@ jobs:
6364
- AWSLambdaPowertoolsPythonV3-python311
6465
- AWSLambdaPowertoolsPythonV3-python312
6566
- AWSLambdaPowertoolsPythonV3-python313
67+
- AWSLambdaPowertoolsPythonV3-python314
6668
arch:
6769
- arm64
6870
- x86_64
@@ -94,6 +96,7 @@ jobs:
9496
- AWSLambdaPowertoolsPythonV3-python311
9597
- AWSLambdaPowertoolsPythonV3-python312
9698
- AWSLambdaPowertoolsPythonV3-python313
99+
- AWSLambdaPowertoolsPythonV3-python314
97100
arch:
98101
- arm64
99102
- x86_64

.github/workflows/layers_partition_verify.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
- AWSLambdaPowertoolsPythonV3-python311
8383
- AWSLambdaPowertoolsPythonV3-python312
8484
- AWSLambdaPowertoolsPythonV3-python313
85+
- AWSLambdaPowertoolsPythonV3-python314
8586
arch:
8687
- arm64
8788
- x86_64
@@ -124,6 +125,7 @@ jobs:
124125
- AWSLambdaPowertoolsPythonV3-python311
125126
- AWSLambdaPowertoolsPythonV3-python312
126127
- AWSLambdaPowertoolsPythonV3-python313
128+
- AWSLambdaPowertoolsPythonV3-python314
127129
arch:
128130
- arm64
129131
- x86_64
@@ -153,4 +155,4 @@ jobs:
153155
REMOTE_SHA=$(jq -r '.Content.CodeSha256' $layer_output)
154156
LOCAL_SHA=$(jq -r '.Content.CodeSha256' ${{ matrix.layer }}-${{ matrix.arch }}.json)
155157
test "$REMOTE_SHA" == "$LOCAL_SHA" && echo "SHA OK: ${LOCAL_SHA}" || exit 1
156-
jq -s -r '["Layer Arn", "Runtimes", "Version", "Description", "SHA256"], ([.[0], .[1]] | .[] | [.LayerArn, (.CompatibleRuntimes | join("/")), .Version, .Description, .Content.CodeSha256]) |@tsv' ${{ matrix.layer }}-${{ matrix.arch }}.json $layer_output | column -t -s $'\t'
158+
jq -s -r '["Layer Arn", "Runtimes", "Version", "Description", "SHA256"], ([.[0], .[1]] | .[] | [.LayerArn, (.CompatibleRuntimes | join("/")), .Version, .Description, .Content.CodeSha256]) |@tsv' ${{ matrix.layer }}-${{ matrix.arch }}.json $layer_output | column -t -s $'\t'

.github/workflows/layers_partitions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
- AWSLambdaPowertoolsPythonV3-python311
8080
- AWSLambdaPowertoolsPythonV3-python312
8181
- AWSLambdaPowertoolsPythonV3-python313
82+
- AWSLambdaPowertoolsPythonV3-python314
8283
arch:
8384
- arm64
8485
- x86_64
@@ -128,6 +129,7 @@ jobs:
128129
- AWSLambdaPowertoolsPythonV3-python311
129130
- AWSLambdaPowertoolsPythonV3-python312
130131
- AWSLambdaPowertoolsPythonV3-python313
132+
- AWSLambdaPowertoolsPythonV3-python314
131133
arch:
132134
- arm64
133135
- x86_64
@@ -190,4 +192,4 @@ jobs:
190192
name: ${{ matrix.layer }}-${{ matrix.arch }}-${{ matrix.region }}.json
191193
path: ${{ matrix.layer }}-${{ matrix.arch }}-${{ matrix.region }}.json
192194
retention-days: 1
193-
if-no-files-found: error
195+
if-no-files-found: error

.github/workflows/pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
- name: Set up Python
129129
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
130130
with:
131-
python-version: "3.12"
131+
python-version: "3.14"
132132
cache: "poetry"
133133
- name: Install dependencies
134134
run: make dev
@@ -166,7 +166,7 @@ jobs:
166166
- name: Set up Python
167167
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
168168
with:
169-
python-version: "3.12"
169+
python-version: "3.14"
170170
cache: "poetry"
171171

172172
- name: Build python package and wheel

.github/workflows/publish_v3_layer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy v3 layer to all regions
22

33
# PROCESS
44
#
5-
# 1. Compile Layer using cdk-aws-lambda-powertools-layer CDK construct for Python3.9-3.13 and x86_64/ARM architectures (uses custom runner as it's CPU heavy)
5+
# 1. Compile Layer using cdk-aws-lambda-powertools-layer CDK construct for Python3.9-3.14 and x86_64/ARM architectures (uses custom runner as it's CPU heavy)
66
# 2. Kick off pipeline for beta, prod, and canary releases
77
# 3. Create PR to update trunk so staged docs also point to the latest Layer ARN, when merged
88
# 4. Builds and publishes docs with latest Layer ARN using given version (generally coming from release)
@@ -102,7 +102,7 @@ jobs:
102102
strategy:
103103
max-parallel: 5
104104
matrix:
105-
python-version: ["3.9","3.10","3.11","3.12","3.13"]
105+
python-version: ["3.9","3.10","3.11","3.12","3.13","3.14"]
106106
defaults:
107107
run:
108108
working-directory: ./layer_v3

.github/workflows/quality_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
max-parallel: 5
4848
matrix:
49-
python-version: ["3.9","3.10","3.11","3.12","3.13"]
49+
python-version: ["3.9","3.10","3.11","3.12","3.13","3.14"]
5050
env:
5151
PYTHON: "${{ matrix.python-version }}"
5252
permissions:

0 commit comments

Comments
 (0)