From 6cfa8839e57a028a448da20b2c6a0d7f33ef27ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mitka?= <75326685+lukasz-mitka@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:23:42 +0100 Subject: [PATCH] Add support for Python 3.14 --- .github/workflows/ci-python.yml | 2 +- python/sample-apps/template.yml | 1 + python/src/otel/Dockerfile | 2 +- python/src/template.yml | 1 + python/src/tox.ini | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 813b419c35..a483884ffc 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -31,7 +31,7 @@ jobs: matrix: # If you add a python version here, please make sure that the collector/Makefile publish and publish-layer targets # get updated as well - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Checkout this repo diff --git a/python/sample-apps/template.yml b/python/sample-apps/template.yml index f162eda09e..044c4ea46f 100644 --- a/python/sample-apps/template.yml +++ b/python/sample-apps/template.yml @@ -47,5 +47,6 @@ Resources: - python3.11 - python3.12 - python3.13 + - python3.14 Metadata: BuildMethod: makefile diff --git a/python/src/otel/Dockerfile b/python/src/otel/Dockerfile index 0480e1ce29..9e5b16b4ac 100644 --- a/python/src/otel/Dockerfile +++ b/python/src/otel/Dockerfile @@ -1,4 +1,4 @@ -ARG runtime=python3.13 +ARG runtime=python3.14 FROM public.ecr.aws/sam/build-${runtime} diff --git a/python/src/template.yml b/python/src/template.yml index 499eb85c93..da37a413f8 100644 --- a/python/src/template.yml +++ b/python/src/template.yml @@ -19,5 +19,6 @@ Resources: - python3.11 - python3.12 - python3.13 + - python3.14 Metadata: BuildMethod: makefile diff --git a/python/src/tox.ini b/python/src/tox.ini index 53466f50d6..ab668785f0 100644 --- a/python/src/tox.ini +++ b/python/src/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = ; opentelemetry-instrumentation-aws-lambda - py3{9,10,11,12}-test-instrumentation-aws-lambda + py3{9,10,11,12,13,14}-test-instrumentation-aws-lambda minversion = 3.9