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 c53e71c..c668646 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 \ @@ -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 = [