From 19c41f95a6a7ccea4902a1eaec1d79e9de08789f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 22:03:55 +0000 Subject: [PATCH 1/2] chore(deps): update debian docker tag to v13 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c53e71c..21c60a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # It's important that this is Debian 12 to match the distroless image. -FROM debian:12-slim AS build +FROM debian:13-slim AS build RUN --mount=type=cache,target=/var/lib/apt/lists \ --mount=type=cache,target=/var/cache/apt \ From 86906804af3612141328b8a6ae70ab4d219b387c Mon Sep 17 00:00:00 2001 From: Bob Haddleton Date: Wed, 28 Jan 2026 18:49:36 +0100 Subject: [PATCH 2/2] Update python-distroless image Signed-off-by: Bob Haddleton --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c353015..1d1c401 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ on: env: # Common versions - PYTHON_VERSION: '3.11.5' + PYTHON_VERSION: '3.13.5' DOCKER_BUILDX_VERSION: 'v0.24.0' # These environment variables are important to the Crossplane CLI install.sh diff --git a/Dockerfile b/Dockerfile index 21c60a7..c668646 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \ # Copy the function venv to our runtime stage. It's important that the path be # the same as in the build stage, to avoid shebang paths and symlinks breaking. -FROM gcr.io/distroless/python3-debian12 AS image +FROM gcr.io/distroless/python3-debian13 AS image WORKDIR / COPY --from=build /venv/fn /venv/fn EXPOSE 9443 diff --git a/pyproject.toml b/pyproject.toml index 803ba2c..9c4ddbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,15 +6,15 @@ build-backend = "hatchling.build" name = "function" description = 'A composition function' readme = "README.md" -requires-python = ">=3.11,<3.13" +requires-python = ">=3.12,<3.14" license = "Apache-2.0" keywords = [] authors = [{ name = "Crossplane Maintainers", email = "info@crossplane.io" }] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dependencies = [