Skip to content

Commit 4fdf799

Browse files
committed
feat: use python 3.14
1 parent 142f9cb commit 4fdf799

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

‎.github/workflows/dockerized-test.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,16 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.13'
22+
python-version: '3.14'
2323
cache: pip
2424
cache-dependency-path: requirements/dev.txt
2525

2626
- name: Build the test image
27-
# The test image overlays the local pure-Python modules on top of the
28-
# awslambdaric already installed in public.ecr.aws/lambda/python:3.13,
29-
# preserving the compiled runtime_client extension that ships in the
30-
# base image.
3127
run: |
3228
docker build . \
3329
-t local/test \
3430
-f Dockerfile.test \
35-
--build-arg BASE_IMAGE=public.ecr.aws/lambda/python:3.13
31+
--build-arg BASE_IMAGE=public.ecr.aws/lambda/python:3.14
3632
3733
- name: Run dockerized suites
3834
uses: aws/containerized-test-runner-for-aws-lambda@76eacfb110903739d9c5f7fcdaafede6324a1473 # maxday/client-context

‎Dockerfile.test‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
ARG BASE_IMAGE=public.ecr.aws/lambda/python:3.13
4+
ARG BASE_IMAGE=public.ecr.aws/lambda/python:3.14
55
FROM $BASE_IMAGE
66

7-
# Overlay the local pure-Python awslambdaric modules on top of the one shipped
8-
# in the base image. The compiled `runtime_client` extension that ships in the
9-
# base image is preserved; only the Python modules we care about (lambda_context,
10-
# bootstrap, etc.) are swapped. The destination directory is discovered via
11-
# `import awslambdaric` so this works for any BASE_IMAGE whose Python version
12-
# changes the site-packages path.
137
COPY awslambdaric/*.py /tmp/awslambdaric-py/
148
RUN RIC_PATH=$(python -c "import awslambdaric, os; print(os.path.dirname(awslambdaric.__file__))") \
159
&& cp /tmp/awslambdaric-py/*.py "$RIC_PATH"/ \

0 commit comments

Comments
 (0)