File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
55FROM $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.
137COPY awslambdaric/*.py /tmp/awslambdaric-py/
148RUN RIC_PATH=$(python -c "import awslambdaric, os; print(os.path.dirname(awslambdaric.__file__))") \
159 && cp /tmp/awslambdaric-py/*.py "$RIC_PATH"/ \
You can’t perform that action at this time.
0 commit comments