From e7f6a1c7956a24dc1746d4580ed5961547016a01 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Tue, 7 Oct 2025 17:56:40 +0200 Subject: [PATCH] Add python 3.14 GA release Including removal of beta-specific template part --- {3.14-rc => 3.14}/alpine3.21/Dockerfile | 4 ++-- {3.14-rc => 3.14}/alpine3.22/Dockerfile | 4 ++-- {3.14-rc => 3.14}/bookworm/Dockerfile | 4 ++-- {3.14-rc => 3.14}/slim-bookworm/Dockerfile | 4 ++-- {3.14-rc => 3.14}/slim-trixie/Dockerfile | 4 ++-- {3.14-rc => 3.14}/trixie/Dockerfile | 4 ++-- .../windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- .../windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- Dockerfile-windows.template | 9 --------- generate-stackbrew-library.sh | 2 +- versions.json | 8 ++++---- 11 files changed, 21 insertions(+), 30 deletions(-) rename {3.14-rc => 3.14}/alpine3.21/Dockerfile (97%) rename {3.14-rc => 3.14}/alpine3.22/Dockerfile (97%) rename {3.14-rc => 3.14}/bookworm/Dockerfile (96%) rename {3.14-rc => 3.14}/slim-bookworm/Dockerfile (97%) rename {3.14-rc => 3.14}/slim-trixie/Dockerfile (97%) rename {3.14-rc => 3.14}/trixie/Dockerfile (96%) rename {3.14-rc => 3.14}/windows/windowsservercore-ltsc2022/Dockerfile (94%) rename {3.14-rc => 3.14}/windows/windowsservercore-ltsc2025/Dockerfile (94%) diff --git a/3.14-rc/alpine3.21/Dockerfile b/3.14/alpine3.21/Dockerfile similarity index 97% rename from 3.14-rc/alpine3.21/Dockerfile rename to 3.14/alpine3.21/Dockerfile index a9ef85a3b..7c333923f 100644 --- a/3.14-rc/alpine3.21/Dockerfile +++ b/3.14/alpine3.21/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile similarity index 97% rename from 3.14-rc/alpine3.22/Dockerfile rename to 3.14/alpine3.22/Dockerfile index f11f5fd79..7b757165e 100644 --- a/3.14-rc/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/bookworm/Dockerfile b/3.14/bookworm/Dockerfile similarity index 96% rename from 3.14-rc/bookworm/Dockerfile rename to 3.14/bookworm/Dockerfile index d959a0d30..fc40a1d23 100644 --- a/3.14-rc/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile similarity index 97% rename from 3.14-rc/slim-bookworm/Dockerfile rename to 3.14/slim-bookworm/Dockerfile index 9fe7c55a7..5208bfd3b 100644 --- a/3.14-rc/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile similarity index 97% rename from 3.14-rc/slim-trixie/Dockerfile rename to 3.14/slim-trixie/Dockerfile index 79cb8d28c..6b35ef69f 100644 --- a/3.14-rc/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/trixie/Dockerfile b/3.14/trixie/Dockerfile similarity index 96% rename from 3.14-rc/trixie/Dockerfile rename to 3.14/trixie/Dockerfile index 564bf2713..6193c5ab5 100644 --- a/3.14-rc/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ \ diff --git a/3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile similarity index 94% rename from 3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile rename to 3.14/windows/windowsservercore-ltsc2022/Dockerfile index 3d5cd18e1..29956d22d 100644 --- a/3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2022/Dockerfile @@ -11,8 +11,8 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144 +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ diff --git a/3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile similarity index 94% rename from 3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile rename to 3.14/windows/windowsservercore-ltsc2025/Dockerfile index 7e4135886..fc99fa29b 100644 --- a/3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2025/Dockerfile @@ -11,8 +11,8 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.14.0rc3 -ENV PYTHON_SHA256 638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144 +ENV PYTHON_VERSION 3.14.0 +ENV PYTHON_SHA256 52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($env:PYTHON_VERSION -replace '[a-z]+[0-9]*$', ''), $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ diff --git a/Dockerfile-windows.template b/Dockerfile-windows.template index 115b08c21..add70eac7 100644 --- a/Dockerfile-windows.template +++ b/Dockerfile-windows.template @@ -55,15 +55,6 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ -{{ if .version == "3.14.0b1" then ( -}} - Write-Host 'Reinstalling pip to workaround a bug ...'; \ - # https://github.com/python/cpython/issues/133626 - # clean up broken pip install - Remove-Item -Recurse C:\Python\Lib\site-packages\pip*; \ - # install pip as pip.exe - python -m ensurepip --default-pip -vvv; \ - \ -{{ ) else "" end -}} Write-Host 'Verifying pip install ...'; \ pip --version; \ \ diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index a1ef13fe7..9a2bb2ea2 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -2,7 +2,7 @@ set -Eeuo pipefail declare -A aliases=( - [3.13]='3 latest' + [3.14]='3 latest' ) self="$(basename "$BASH_SOURCE")" diff --git a/versions.json b/versions.json index 3ca3aad02..0ca241dd0 100644 --- a/versions.json +++ b/versions.json @@ -74,13 +74,13 @@ ], "version": "3.13.7" }, - "3.14-rc": { + "3.14": { "checksums": { "source": { - "sha256": "646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd" + "sha256": "2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9" }, "windows": { - "sha256": "638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144" + "sha256": "52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.0rc3" + "version": "3.14.0" }, "3.9": { "checksums": {