From 05e41a853cd7ab6b9076b1b0f9c1bfce609bdc2d Mon Sep 17 00:00:00 2001 From: Chingis S Date: Thu, 22 Oct 2026 10:49:04 +0700 Subject: [PATCH] Add Python 3.15 container images Build Python 3.15.1 from a pinned multi-platform Alpine base for production, development, and macOS development variants. Move the floating Python 3 aliases to 3.15 while retaining the maintained older versions. --- .github/workflows/workflow.yml | 4 +++- Makefile | 2 +- README.md | 9 ++++++--- base-images.mk | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 51b6f75..1cce954 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,6 +12,7 @@ on: pull_request: env: + PYTHON315: '3.15.1' PYTHON314: '3.14.9' PYTHON313: '3.13.17' PYTHON312: '3.12.15' @@ -27,7 +28,8 @@ jobs: run: | cat << 'EOF' > versions.json [ - {"key": "python314", "version": "${{ env.PYTHON314 }}", "latest": "latest", "latest_major": "3"}, + {"key": "python315", "version": "${{ env.PYTHON315 }}", "latest": "latest", "latest_major": "3"}, + {"key": "python314", "version": "${{ env.PYTHON314 }}", "latest": "", "latest_major": ""}, {"key": "python313", "version": "${{ env.PYTHON313 }}", "latest": "", "latest_major": ""}, {"key": "python312", "version": "${{ env.PYTHON312 }}", "latest": "", "latest_major": ""}, {"key": "python311", "version": "${{ env.PYTHON311 }}", "latest": "", "latest_major": ""} diff --git a/Makefile b/Makefile index b8f78f7..9e6ace4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -include env_make -PYTHON_VER ?= 3.14.9 +PYTHON_VER ?= 3.15.1 PYTHON_VER_MINOR := $(shell v='$(PYTHON_VER)'; echo "$${v%.*}") REPO = wodby/python diff --git a/README.md b/README.md index 6dd8f6a..15c7e5c 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,18 @@ About images: Supported tags and respective `Dockerfile` links: -- `3.14`, `3`, `latest` [_(Dockerfile)_] +- `3.15`, `3`, `latest` [_(Dockerfile)_] +- `3.14` [_(Dockerfile)_] - `3.13` [_(Dockerfile)_] - `3.12` [_(Dockerfile)_] - `3.11` [_(Dockerfile)_] -- `3.14-dev`, `3-dev` [_(Dockerfile)_] +- `3.15-dev`, `3-dev` [_(Dockerfile)_] +- `3.14-dev` [_(Dockerfile)_] - `3.13-dev` [_(Dockerfile)_] - `3.12-dev` [_(Dockerfile)_] - `3.11-dev` [_(Dockerfile)_] -- `3.14-dev-macos`, `3-dev-macos` [_(Dockerfile)_] +- `3.15-dev-macos`, `3-dev-macos` [_(Dockerfile)_] +- `3.14-dev-macos` [_(Dockerfile)_] - `3.13-dev-macos` [_(Dockerfile)_] - `3.12-dev-macos` [_(Dockerfile)_] - `3.11-dev-macos` [_(Dockerfile)_] diff --git a/base-images.mk b/base-images.mk index f6ea216..c6610ee 100644 --- a/base-images.mk +++ b/base-images.mk @@ -7,6 +7,7 @@ BASE_IMAGE_DIGEST_3.11.17-alpine := sha256:03c8e956bf1eee7763faf3a9fbb24b3ff9c04 BASE_IMAGE_DIGEST_3.12.15-alpine := sha256:92abd2ba1bdfb48b1e2ac224b582dd1558d0d4bb11c903b126b5bf9c448fd656 BASE_IMAGE_DIGEST_3.13.17-alpine := sha256:8f72324dfc4b4c94f1599faf1c037c8e74755d5dbbea63f1f51a89fa52f3ad07 BASE_IMAGE_DIGEST_3.14.9-alpine := sha256:d55673c233e28839c1c0c69766428cb6d50174a2ecfdcf915b6f58a0b0991562 +BASE_IMAGE_DIGEST_3.15.1-alpine := sha256:e85751f6fe48ddb0619557d606ad93685134347a821b85fd9cd9dfa61addb970 # Fail before building when a version or variant has no reviewed pin. BASE_IMAGE = $(BASE_IMAGE_REPOSITORY):$(BASE_IMAGE_TAG)@$(or $(BASE_IMAGE_DIGEST_$(BASE_IMAGE_TAG)),$(error No base image digest for $(BASE_IMAGE_REPOSITORY):$(BASE_IMAGE_TAG); update base-images.mk))