From cd33ad0a1c0ed2e0d6a6a3a8eb7330e9cd1cf05b Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 18 Sep 2025 08:49:30 -0700 Subject: [PATCH 01/76] Update 3.14-rc to 3.14.0rc3 --- 3.14-rc/alpine3.21/Dockerfile | 4 ++-- 3.14-rc/alpine3.22/Dockerfile | 4 ++-- 3.14-rc/bookworm/Dockerfile | 4 ++-- 3.14-rc/slim-bookworm/Dockerfile | 4 ++-- 3.14-rc/slim-trixie/Dockerfile | 4 ++-- 3.14-rc/trixie/Dockerfile | 4 ++-- 3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14-rc/alpine3.21/Dockerfile b/3.14-rc/alpine3.21/Dockerfile index 5f46f3b9e..a9ef85a3b 100644 --- a/3.14-rc/alpine3.21/Dockerfile +++ b/3.14-rc/alpine3.21/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/alpine3.22/Dockerfile b/3.14-rc/alpine3.22/Dockerfile index 1f30afa17..f11f5fd79 100644 --- a/3.14-rc/alpine3.22/Dockerfile +++ b/3.14-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/bookworm/Dockerfile b/3.14-rc/bookworm/Dockerfile index 4fe403475..d959a0d30 100644 --- a/3.14-rc/bookworm/Dockerfile +++ b/3.14-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/slim-bookworm/Dockerfile b/3.14-rc/slim-bookworm/Dockerfile index f0cf17438..9fe7c55a7 100644 --- a/3.14-rc/slim-bookworm/Dockerfile +++ b/3.14-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/slim-trixie/Dockerfile b/3.14-rc/slim-trixie/Dockerfile index d79750465..79cb8d28c 100644 --- a/3.14-rc/slim-trixie/Dockerfile +++ b/3.14-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/trixie/Dockerfile b/3.14-rc/trixie/Dockerfile index d262a8323..564bf2713 100644 --- a/3.14-rc/trixie/Dockerfile +++ b/3.14-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.0rc2 -ENV PYTHON_SHA256 bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656 +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd RUN set -eux; \ \ diff --git a/3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile index 2251b7520..3d5cd18e1 100644 --- a/3.14-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.14-rc/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.0rc2 -ENV PYTHON_SHA256 cf4732baba457a6d444f4c084e0bcf9eab4302730b5cab6031e5767bab3a2a7f +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144 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-rc/windows/windowsservercore-ltsc2025/Dockerfile index 845b8cd0f..7e4135886 100644 --- a/3.14-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.14-rc/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.0rc2 -ENV PYTHON_SHA256 cf4732baba457a6d444f4c084e0bcf9eab4302730b5cab6031e5767bab3a2a7f +ENV PYTHON_VERSION 3.14.0rc3 +ENV PYTHON_SHA256 638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144 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/versions.json b/versions.json index 1ffcbed76..3ca3aad02 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14-rc": { "checksums": { "source": { - "sha256": "bc62854cf232345bd22c9091a68464e01e056c6473a3fffa84572c8a342da656" + "sha256": "646dc945e49c73a141896deda12d43f3f293fd69426774c16fc43496180e8fcd" }, "windows": { - "sha256": "cf4732baba457a6d444f4c084e0bcf9eab4302730b5cab6031e5767bab3a2a7f" + "sha256": "638ac495e0e43ccbb76f6116f78cb7b27f55ee8461ffcb4d9e7ee0f7b996a144" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.0rc2" + "version": "3.14.0rc3" }, "3.9": { "checksums": { From e7f6a1c7956a24dc1746d4580ed5961547016a01 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Tue, 7 Oct 2025 17:56:40 +0200 Subject: [PATCH 02/76] 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": { From 668691664771c99b228c9acc107e9fec60b9bd96 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 7 Oct 2025 10:53:11 -0700 Subject: [PATCH 03/76] Update 3.13 to 3.13.8 --- 3.13/alpine3.21/Dockerfile | 4 ++-- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.21/Dockerfile b/3.13/alpine3.21/Dockerfile index 1c9b7356e..33846a35d 100644 --- a/3.13/alpine3.21/Dockerfile +++ b/3.13/alpine3.21/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 735b364a5..f32cbed2e 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index ea88fd230..8b970193f 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index cf5b27355..c1ae13ef5 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index a9ce14210..4a1525f2b 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 83926929f..943231b87 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.7 -ENV PYTHON_SHA256 5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 25d68e558..63f924b43 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.7 -ENV PYTHON_SHA256 b12e2e82461ac8e51fc43289050bc8eb937a32d84ce4d242e2c88258c37cf2bb +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index 0bbac2858..f13c7cf46 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.7 -ENV PYTHON_SHA256 b12e2e82461ac8e51fc43289050bc8eb937a32d84ce4d242e2c88258c37cf2bb +ENV PYTHON_VERSION 3.13.8 +ENV PYTHON_SHA256 f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14 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/versions.json b/versions.json index 0ca241dd0..ac0c4e8cb 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a" + "sha256": "b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252" }, "windows": { - "sha256": "b12e2e82461ac8e51fc43289050bc8eb937a32d84ce4d242e2c88258c37cf2bb" + "sha256": "f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.7" + "version": "3.13.8" }, "3.14": { "checksums": { From a83345bce8e75b407f283511dc3128b2062d8c1e Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 8 Oct 2025 11:52:15 -0700 Subject: [PATCH 04/76] Add "zstd" library during build to support "zstd" module in stdlib See https://docs.python.org/3.14/library/compression.zstd.html (new in 3.14+) --- 3.10/alpine3.21/Dockerfile | 7 +- 3.10/alpine3.22/Dockerfile | 7 +- 3.11/alpine3.21/Dockerfile | 7 +- 3.11/alpine3.22/Dockerfile | 7 +- 3.12/alpine3.21/Dockerfile | 7 +- 3.12/alpine3.22/Dockerfile | 7 +- 3.13/alpine3.21/Dockerfile | 7 +- 3.13/alpine3.22/Dockerfile | 7 +- 3.14/alpine3.21/Dockerfile | 8 +-- 3.14/alpine3.22/Dockerfile | 8 +-- 3.14/bookworm/Dockerfile | 20 ++++++ 3.14/slim-bookworm/Dockerfile | 1 + 3.14/slim-trixie/Dockerfile | 1 + 3.14/trixie/Dockerfile | 20 ++++++ 3.9/alpine3.21/Dockerfile | 7 +- 3.9/alpine3.22/Dockerfile | 7 +- Dockerfile-linux.template | 123 ++++++++++++++++++++-------------- 17 files changed, 153 insertions(+), 98 deletions(-) diff --git a/3.10/alpine3.21/Dockerfile b/3.10/alpine3.21/Dockerfile index a3ec54a2c..e91793cfa 100644 --- a/3.10/alpine3.21/Dockerfile +++ b/3.10/alpine3.21/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae381 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.10/alpine3.22/Dockerfile b/3.10/alpine3.22/Dockerfile index 5825dfc91..820b51313 100644 --- a/3.10/alpine3.22/Dockerfile +++ b/3.10/alpine3.22/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae381 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.11/alpine3.21/Dockerfile b/3.11/alpine3.21/Dockerfile index 078086c67..a1f465616 100644 --- a/3.11/alpine3.21/Dockerfile +++ b/3.11/alpine3.21/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a8 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.11/alpine3.22/Dockerfile b/3.11/alpine3.22/Dockerfile index c1680e4d4..73b6d1ea8 100644 --- a/3.11/alpine3.22/Dockerfile +++ b/3.11/alpine3.22/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a8 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.12/alpine3.21/Dockerfile b/3.12/alpine3.21/Dockerfile index b4a1f5503..4f98f359a 100644 --- a/3.12/alpine3.21/Dockerfile +++ b/3.12/alpine3.21/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7a RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.22/Dockerfile index bef8c1968..afac11c47 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.22/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7a RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.13/alpine3.21/Dockerfile b/3.13/alpine3.21/Dockerfile index 33846a35d..676dd7adf 100644 --- a/3.13/alpine3.21/Dockerfile +++ b/3.13/alpine3.21/Dockerfile @@ -23,16 +23,13 @@ ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a2 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -44,10 +41,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index f32cbed2e..19acd8c79 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -23,16 +23,13 @@ ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a2 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -44,10 +41,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.14/alpine3.21/Dockerfile b/3.14/alpine3.21/Dockerfile index 7c333923f..c3788113a 100644 --- a/3.14/alpine3.21/Dockerfile +++ b/3.14/alpine3.21/Dockerfile @@ -22,16 +22,13 @@ ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -43,12 +40,15 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ + zstd-dev \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 7b757165e..86ea2ccc6 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -22,16 +22,13 @@ ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -43,12 +40,15 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ + zstd-dev \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index fc40a1d23..f802ef786 100644 --- a/3.14/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -23,6 +23,12 @@ ENV PYTHON_VERSION 3.14.0 ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ @@ -94,6 +100,20 @@ RUN set -eux; \ \ ldconfig; \ \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/*; \ + \ export PYTHONDONTWRITEBYTECODE=1; \ python3 --version; \ pip3 --version diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index 5208bfd3b..efc7d3a65 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -41,6 +41,7 @@ RUN set -eux; \ libreadline-dev \ libsqlite3-dev \ libssl-dev \ + libzstd-dev \ make \ tk-dev \ uuid-dev \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 6b35ef69f..1abf7739d 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -41,6 +41,7 @@ RUN set -eux; \ libreadline-dev \ libsqlite3-dev \ libssl-dev \ + libzstd-dev \ make \ tk-dev \ uuid-dev \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 6193c5ab5..7aa50e8b8 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -23,6 +23,12 @@ ENV PYTHON_VERSION 3.14.0 ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ @@ -94,6 +100,20 @@ RUN set -eux; \ \ ldconfig; \ \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + apt-get dist-clean; \ + \ export PYTHONDONTWRITEBYTECODE=1; \ python3 --version; \ pip3 --version diff --git a/3.9/alpine3.21/Dockerfile b/3.9/alpine3.21/Dockerfile index ec25bdb83..38b800a15 100644 --- a/3.9/alpine3.21/Dockerfile +++ b/3.9/alpine3.21/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/3.9/alpine3.22/Dockerfile b/3.9/alpine3.22/Dockerfile index 242d08b09..ff29c909d 100644 --- a/3.9/alpine3.22/Dockerfile +++ b/3.9/alpine3.22/Dockerfile @@ -28,16 +28,13 @@ ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709 RUN set -eux; \ \ apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ bluez-dev \ bzip2-dev \ dpkg-dev dpkg \ findutils \ gcc \ gdbm-dev \ + gnupg \ libc-dev \ libffi-dev \ libnsl-dev \ @@ -49,10 +46,12 @@ RUN set -eux; \ pax-utils \ readline-dev \ sqlite-dev \ + tar \ tcl-dev \ tk \ tk-dev \ util-linux-dev \ + xz \ xz-dev \ zlib-dev \ ; \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index b0ee03d7f..d58480c09 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -96,63 +96,86 @@ ENV PYTHON_SHA256 {{ .checksums.source.sha256 }} RUN set -eux; \ \ +{{ def build_deps: [ + if is_alpine then + "bluez-dev", + "bzip2-dev", + "dpkg-dev dpkg", + "findutils", + "gcc", + "gdbm-dev", + "gnupg", + "libc-dev", + "libffi-dev", + "libnsl-dev", + "libtirpc-dev", + "linux-headers", + "make", + "ncurses-dev", + "openssl-dev", + "pax-utils", + "readline-dev", + "sqlite-dev", + "tar", + "tcl-dev", + "tk", + "tk-dev", + "util-linux-dev", + "xz", + "xz-dev", + "zlib-dev", + if IN(env.version; "3.9", "3.10", "3.11", "3.12", "3.13") then empty else + "zstd-dev" + end, + empty + else + if is_slim then + "dpkg-dev", + "gcc", + "gnupg", + "libbluetooth-dev", + "libbz2-dev", + "libc6-dev", + "libdb-dev", + "libffi-dev", + "libgdbm-dev", + "liblzma-dev", + "libncursesw5-dev", + "libreadline-dev", + "libsqlite3-dev", + "libssl-dev", + "make", + "tk-dev", + "uuid-dev", + "wget", + "xz-utils", + "zlib1g-dev", + empty + else empty end, + if IN(env.version; "3.9", "3.10", "3.11", "3.12", "3.13") then empty else + "libzstd-dev" + end, + empty + end +] -}} +{{ build_deps | if length > 0 then sort | ( -}} {{ if is_alpine then ( -}} apk add --no-cache --virtual .build-deps \ - gnupg \ - tar \ - xz \ - \ - bluez-dev \ - bzip2-dev \ - dpkg-dev dpkg \ - findutils \ - gcc \ - gdbm-dev \ - libc-dev \ - libffi-dev \ - libnsl-dev \ - libtirpc-dev \ - linux-headers \ - make \ - ncurses-dev \ - openssl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tcl-dev \ - tk \ - tk-dev \ - util-linux-dev \ - xz-dev \ - zlib-dev \ +{{ map( -}} + {{ . }} \ +{{ ) | add -}} ; \ \ -{{ ) elif is_slim then ( -}} +{{ ) else ( -}} savedAptMark="$(apt-mark showmanual)"; \ apt-get update; \ apt-get install -y --no-install-recommends \ - dpkg-dev \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ +{{ map( -}} + {{ . }} \ +{{ ) | add -}} ; \ \ +{{ ) end -}} {{ ) else "" end -}} wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ {{ if .checksums.source.sha256 then ( -}} @@ -272,7 +295,7 @@ RUN set -eux; \ \) -exec rm -rf '{}' + \ ; \ \ -{{ if is_alpine then ( -}} +{{ if is_alpine and (build_deps | length > 0) then ( -}} find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ | tr ',' '\n' \ | sort -u \ @@ -282,7 +305,7 @@ RUN set -eux; \ apk del --no-network .build-deps; \ {{ ) else ( -}} ldconfig; \ -{{ if is_slim then ( -}} +{{ if build_deps | length > 0 then ( -}} \ apt-mark auto '.*' > /dev/null; \ apt-mark manual $savedAptMark; \ From 8545fffcced290e4b115ccb7789d3f4be0b9bf9b Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Wed, 8 Oct 2025 13:07:04 -0700 Subject: [PATCH 05/76] Add back s390x for 3.14+ because the error was fixed --- generate-stackbrew-library.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 9a2bb2ea2..b8f386f2e 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -142,14 +142,6 @@ for version; do *) variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" ;; esac - # https://github.com/docker-library/python/issues/1014 (ensurepip failing on s390x 3.14.0a6 Alpine images) - if [[ "$variant" == alpine* ]]; then - case "$version" in - 3.9 | 3.10 | 3.11 | 3.12 | 3.13) ;; - *) variantArches="$(sed <<<" $variantArches " -e 's/ s390x / /g')" ;; - esac - fi - sharedTags=() for windowsShared in windowsservercore nanoserver; do if [[ "$variant" == "$windowsShared"* ]]; then From e4ab0fe5ef4df797ed09883becf983a56ab97eca Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 9 Oct 2025 08:49:21 -0700 Subject: [PATCH 06/76] Update 3.12 to 3.12.12 --- 3.12/alpine3.21/Dockerfile | 4 ++-- 3.12/alpine3.22/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 4 ++-- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.12/alpine3.21/Dockerfile b/3.12/alpine3.21/Dockerfile index 4f98f359a..f5ed1422c 100644 --- a/3.12/alpine3.21/Dockerfile +++ b/3.12/alpine3.21/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.22/Dockerfile index afac11c47..3d5f9a26d 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index 78869e6d4..5f51a938b 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index e8d80c657..28ea81d7e 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index e1aac06b9..f473b4619 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index 70b55a175..c384b1a45 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.11 -ENV PYTHON_SHA256 c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb +ENV PYTHON_VERSION 3.12.12 +ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index ac0c4e8cb..ce3d425d9 100644 --- a/versions.json +++ b/versions.json @@ -40,7 +40,7 @@ "3.12": { "checksums": { "source": { - "sha256": "c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb" + "sha256": "fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4" } }, "variants": [ @@ -51,7 +51,7 @@ "alpine3.22", "alpine3.21" ], - "version": "3.12.11" + "version": "3.12.12" }, "3.13": { "checksums": { From 00c4cce6b91488475bfaf85921bae12604a56d4a Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 9 Oct 2025 10:36:41 -0700 Subject: [PATCH 07/76] Update 3.9 to 3.9.24, setuptools 79.0.1 --- 3.9/alpine3.21/Dockerfile | 6 +++--- 3.9/alpine3.22/Dockerfile | 6 +++--- 3.9/bookworm/Dockerfile | 6 +++--- 3.9/slim-bookworm/Dockerfile | 6 +++--- 3.9/slim-trixie/Dockerfile | 6 +++--- 3.9/trixie/Dockerfile | 6 +++--- versions.json | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/3.9/alpine3.21/Dockerfile b/3.9/alpine3.21/Dockerfile index 38b800a15..397b93bcf 100644 --- a/3.9/alpine3.21/Dockerfile +++ b/3.9/alpine3.21/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -121,7 +121,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.9/alpine3.22/Dockerfile b/3.9/alpine3.22/Dockerfile index ff29c909d..c0a72de76 100644 --- a/3.9/alpine3.22/Dockerfile +++ b/3.9/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -121,7 +121,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.9/bookworm/Dockerfile b/3.9/bookworm/Dockerfile index 6a6de6111..33d6c53cc 100644 --- a/3.9/bookworm/Dockerfile +++ b/3.9/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -94,7 +94,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.9/slim-bookworm/Dockerfile b/3.9/slim-bookworm/Dockerfile index ffd7ab6fd..01649c2e1 100644 --- a/3.9/slim-bookworm/Dockerfile +++ b/3.9/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -128,7 +128,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.9/slim-trixie/Dockerfile b/3.9/slim-trixie/Dockerfile index 62aee2c10..ddf9a7244 100644 --- a/3.9/slim-trixie/Dockerfile +++ b/3.9/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -128,7 +128,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.9/trixie/Dockerfile b/3.9/trixie/Dockerfile index 7aa7aa387..34e6ff6d2 100644 --- a/3.9/trixie/Dockerfile +++ b/3.9/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.23 -ENV PYTHON_SHA256 61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9 +ENV PYTHON_VERSION 3.9.24 +ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a RUN set -eux; \ \ @@ -94,7 +94,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==58.1.0' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/versions.json b/versions.json index ce3d425d9..37e2b477d 100644 --- a/versions.json +++ b/versions.json @@ -98,11 +98,11 @@ "3.9": { "checksums": { "source": { - "sha256": "61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9" + "sha256": "668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a" } }, "setuptools": { - "version": "58.1.0" + "version": "79.0.1" }, "variants": [ "trixie", @@ -112,6 +112,6 @@ "alpine3.22", "alpine3.21" ], - "version": "3.9.23" + "version": "3.9.24" } } From 54a65f4ff531391810946ee17b0806accbda0fae Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Thu, 9 Oct 2025 14:41:57 -0700 Subject: [PATCH 08/76] Bump 3.10 and 3.11 drop now unneeded part of versions.sh --- 3.10/alpine3.21/Dockerfile | 6 +++--- 3.10/alpine3.22/Dockerfile | 6 +++--- 3.10/bookworm/Dockerfile | 6 +++--- 3.10/slim-bookworm/Dockerfile | 6 +++--- 3.10/slim-trixie/Dockerfile | 6 +++--- 3.10/trixie/Dockerfile | 6 +++--- 3.11/alpine3.21/Dockerfile | 6 +++--- 3.11/alpine3.22/Dockerfile | 6 +++--- 3.11/bookworm/Dockerfile | 6 +++--- 3.11/slim-bookworm/Dockerfile | 6 +++--- 3.11/slim-trixie/Dockerfile | 6 +++--- 3.11/trixie/Dockerfile | 6 +++--- versions.json | 12 ++++++------ versions.sh | 5 ----- 14 files changed, 42 insertions(+), 47 deletions(-) diff --git a/3.10/alpine3.21/Dockerfile b/3.10/alpine3.21/Dockerfile index e91793cfa..276fd33fa 100644 --- a/3.10/alpine3.21/Dockerfile +++ b/3.10/alpine3.21/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -122,7 +122,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.10/alpine3.22/Dockerfile b/3.10/alpine3.22/Dockerfile index 820b51313..9d8817fb7 100644 --- a/3.10/alpine3.22/Dockerfile +++ b/3.10/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -122,7 +122,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index ec5fb35b7..5d4e0db90 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -95,7 +95,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index a947bef2c..9fac25174 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -129,7 +129,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index 1077d95c6..9c27605a7 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -129,7 +129,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index 416147445..a0b09dab9 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.18 -ENV PYTHON_SHA256 ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f +ENV PYTHON_VERSION 3.10.19 +ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 RUN set -eux; \ \ @@ -95,7 +95,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/alpine3.21/Dockerfile b/3.11/alpine3.21/Dockerfile index a1f465616..4192f0960 100644 --- a/3.11/alpine3.21/Dockerfile +++ b/3.11/alpine3.21/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -122,7 +122,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/alpine3.22/Dockerfile b/3.11/alpine3.22/Dockerfile index 73b6d1ea8..a88b9e328 100644 --- a/3.11/alpine3.22/Dockerfile +++ b/3.11/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -122,7 +122,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index 6f09b8e9d..6b9158d70 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -95,7 +95,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index 1bdaf3136..9137579df 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -129,7 +129,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 7c6f288a8..43add477a 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -129,7 +129,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index a9a3d7637..4daf9651d 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.13 -ENV PYTHON_SHA256 8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a +ENV PYTHON_VERSION 3.11.14 +ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 RUN set -eux; \ \ @@ -95,7 +95,7 @@ RUN set -eux; \ --disable-pip-version-check \ --no-cache-dir \ --no-compile \ - 'setuptools==65.5.1' \ + 'setuptools==79.0.1' \ # https://github.com/docker-library/python/issues/1023 'wheel<0.46' \ ; \ diff --git a/versions.json b/versions.json index 37e2b477d..2fce14a35 100644 --- a/versions.json +++ b/versions.json @@ -2,11 +2,11 @@ "3.10": { "checksums": { "source": { - "sha256": "ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefae3817f" + "sha256": "c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076" } }, "setuptools": { - "version": "65.5.1" + "version": "79.0.1" }, "variants": [ "trixie", @@ -16,16 +16,16 @@ "alpine3.22", "alpine3.21" ], - "version": "3.10.18" + "version": "3.10.19" }, "3.11": { "checksums": { "source": { - "sha256": "8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a" + "sha256": "8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78" } }, "setuptools": { - "version": "65.5.1" + "version": "79.0.1" }, "variants": [ "trixie", @@ -35,7 +35,7 @@ "alpine3.22", "alpine3.21" ], - "version": "3.11.13" + "version": "3.11.14" }, "3.12": { "checksums": { diff --git a/versions.sh b/versions.sh index 6b2ad252a..73af73d37 100755 --- a/versions.sh +++ b/versions.sh @@ -171,11 +171,6 @@ for version in "${versions[@]}"; do echo >&2 "error: $version: setuptools version ($setuptoolsVersion) seems to be invalid?" exit 1 fi - - # https://github.com/docker-library/python/issues/781 (TODO remove this if 3.10 and 3.11 embed a newer setuptools and this section no longer applies) - if [ "$setuptoolsVersion" = '65.5.0' ]; then - setuptoolsVersion='65.5.1' - fi ;; *) From 303456576fd52b3e000639d5cfdf384442e730d7 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Tue, 14 Oct 2025 19:14:03 +0200 Subject: [PATCH 09/76] Add 3.15-rc variants --- 3.15-rc/alpine3.21/Dockerfile | 138 +++++++++++++++++ 3.15-rc/alpine3.22/Dockerfile | 138 +++++++++++++++++ 3.15-rc/bookworm/Dockerfile | 130 ++++++++++++++++ 3.15-rc/slim-bookworm/Dockerfile | 145 ++++++++++++++++++ 3.15-rc/slim-trixie/Dockerfile | 145 ++++++++++++++++++ 3.15-rc/trixie/Dockerfile | 130 ++++++++++++++++ .../windowsservercore-ltsc2022/Dockerfile | 65 ++++++++ .../windowsservercore-ltsc2025/Dockerfile | 65 ++++++++ versions.json | 21 +++ 9 files changed, 977 insertions(+) create mode 100644 3.15-rc/alpine3.21/Dockerfile create mode 100644 3.15-rc/alpine3.22/Dockerfile create mode 100644 3.15-rc/bookworm/Dockerfile create mode 100644 3.15-rc/slim-bookworm/Dockerfile create mode 100644 3.15-rc/slim-trixie/Dockerfile create mode 100644 3.15-rc/trixie/Dockerfile create mode 100644 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile create mode 100644 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile diff --git a/3.15-rc/alpine3.21/Dockerfile b/3.15-rc/alpine3.21/Dockerfile new file mode 100644 index 000000000..3348b3b02 --- /dev/null +++ b/3.15-rc/alpine3.21/Dockerfile @@ -0,0 +1,138 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM alpine:3.21 + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apk add --no-cache \ + ca-certificates \ + tzdata \ + ; + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + bluez-dev \ + bzip2-dev \ + dpkg-dev dpkg \ + findutils \ + gcc \ + gdbm-dev \ + gnupg \ + libc-dev \ + libffi-dev \ + libnsl-dev \ + libtirpc-dev \ + linux-headers \ + make \ + ncurses-dev \ + openssl-dev \ + pax-utils \ + readline-dev \ + sqlite-dev \ + tar \ + tcl-dev \ + tk \ + tk-dev \ + util-linux-dev \ + xz \ + xz-dev \ + zlib-dev \ + zstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ +# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() +# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 + EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ + LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + arch="$(apk --print-arch)"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + | xargs -rt apk add --no-network --virtual .python-rundeps \ + ; \ + apk del --no-network .build-deps; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile new file mode 100644 index 000000000..ef2eeb252 --- /dev/null +++ b/3.15-rc/alpine3.22/Dockerfile @@ -0,0 +1,138 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM alpine:3.22 + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apk add --no-cache \ + ca-certificates \ + tzdata \ + ; + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + bluez-dev \ + bzip2-dev \ + dpkg-dev dpkg \ + findutils \ + gcc \ + gdbm-dev \ + gnupg \ + libc-dev \ + libffi-dev \ + libnsl-dev \ + libtirpc-dev \ + linux-headers \ + make \ + ncurses-dev \ + openssl-dev \ + pax-utils \ + readline-dev \ + sqlite-dev \ + tar \ + tcl-dev \ + tk \ + tk-dev \ + util-linux-dev \ + xz \ + xz-dev \ + zlib-dev \ + zstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ +# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() +# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 + EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ + LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + arch="$(apk --print-arch)"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + | xargs -rt apk add --no-network --virtual .python-rundeps \ + ; \ + apk del --no-network .build-deps; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile new file mode 100644 index 000000000..857dc42b2 --- /dev/null +++ b/3.15-rc/bookworm/Dockerfile @@ -0,0 +1,130 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM buildpack-deps:bookworm + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libbluetooth-dev \ + tk-dev \ + uuid-dev \ + ; \ + rm -rf /var/lib/apt/lists/* + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ +# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 + bin="$(readlink -ve /usr/local/bin/python3)"; \ + dir="$(dirname "$bin")"; \ + mkdir -p "/usr/share/gdb/auto-load/$dir"; \ + cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/*; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile new file mode 100644 index 000000000..5f9e76b44 --- /dev/null +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -0,0 +1,145 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM debian:bookworm-slim + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + ca-certificates \ + netbase \ + tzdata \ + ; \ + rm -rf /var/lib/apt/lists/* + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + dpkg-dev \ + gcc \ + gnupg \ + libbluetooth-dev \ + libbz2-dev \ + libc6-dev \ + libdb-dev \ + libffi-dev \ + libgdbm-dev \ + liblzma-dev \ + libncursesw5-dev \ + libreadline-dev \ + libsqlite3-dev \ + libssl-dev \ + libzstd-dev \ + make \ + tk-dev \ + uuid-dev \ + wget \ + xz-utils \ + zlib1g-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/*; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile new file mode 100644 index 000000000..75f9eb810 --- /dev/null +++ b/3.15-rc/slim-trixie/Dockerfile @@ -0,0 +1,145 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM debian:trixie-slim + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + ca-certificates \ + netbase \ + tzdata \ + ; \ + apt-get dist-clean + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + dpkg-dev \ + gcc \ + gnupg \ + libbluetooth-dev \ + libbz2-dev \ + libc6-dev \ + libdb-dev \ + libffi-dev \ + libgdbm-dev \ + liblzma-dev \ + libncursesw5-dev \ + libreadline-dev \ + libsqlite3-dev \ + libssl-dev \ + libzstd-dev \ + make \ + tk-dev \ + uuid-dev \ + wget \ + xz-utils \ + zlib1g-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + apt-get dist-clean; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile new file mode 100644 index 000000000..f08c12d91 --- /dev/null +++ b/3.15-rc/trixie/Dockerfile @@ -0,0 +1,130 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM buildpack-deps:trixie + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libbluetooth-dev \ + tk-dev \ + uuid-dev \ + ; \ + apt-get dist-clean + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ +# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 + bin="$(readlink -ve /usr/local/bin/python3)"; \ + dir="$(dirname "$bin")"; \ + mkdir -p "/usr/share/gdb/auto-load/$dir"; \ + cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + apt-get dist-clean; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile new file mode 100644 index 000000000..da05a9c20 --- /dev/null +++ b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile @@ -0,0 +1,65 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM mcr.microsoft.com/windows/servercore:ltsc2022 + +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# https://github.com/docker-library/python/pull/557 +ENV PYTHONIOENCODING UTF-8 + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb + +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); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ + Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ + \ + Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ + if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ + Write-Host 'FAILED!'; \ + exit 1; \ + }; \ + \ + Write-Host 'Installing ...'; \ +# https://docs.python.org/3/using/windows.html#installing-without-ui + $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru \ + -ArgumentList @( \ + '/quiet', \ + 'InstallAllUsers=1', \ + 'TargetDir=C:\Python', \ + 'PrependPath=1', \ + 'Shortcuts=0', \ + 'Include_doc=0', \ + 'Include_pip=1', \ + 'Include_test=0' \ + ) \ + ).ExitCode; \ + if ($exitCode -ne 0) { \ + Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); \ + Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; \ + exit $exitCode; \ + } \ + \ +# the installer updated PATH, so we should refresh our local value + $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ + \ + Write-Host 'Verifying install ...'; \ + Write-Host ' python --version'; python --version; \ + \ + Write-Host 'Removing ...'; \ + Remove-Item python.exe -Force; \ + Remove-Item $env:TEMP/Python*.log -Force; \ + \ + $env:PYTHONDONTWRITEBYTECODE = '1'; \ + \ + Write-Host 'Verifying pip install ...'; \ + pip --version; \ + \ + Write-Host 'Complete.' + +CMD ["python"] diff --git a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile new file mode 100644 index 000000000..9424923b3 --- /dev/null +++ b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile @@ -0,0 +1,65 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM mcr.microsoft.com/windows/servercore:ltsc2025 + +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# https://github.com/docker-library/python/pull/557 +ENV PYTHONIOENCODING UTF-8 + +ENV PYTHON_VERSION 3.15.0a1 +ENV PYTHON_SHA256 376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb + +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); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ + Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ + \ + Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ + if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ + Write-Host 'FAILED!'; \ + exit 1; \ + }; \ + \ + Write-Host 'Installing ...'; \ +# https://docs.python.org/3/using/windows.html#installing-without-ui + $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru \ + -ArgumentList @( \ + '/quiet', \ + 'InstallAllUsers=1', \ + 'TargetDir=C:\Python', \ + 'PrependPath=1', \ + 'Shortcuts=0', \ + 'Include_doc=0', \ + 'Include_pip=1', \ + 'Include_test=0' \ + ) \ + ).ExitCode; \ + if ($exitCode -ne 0) { \ + Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); \ + Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; \ + exit $exitCode; \ + } \ + \ +# the installer updated PATH, so we should refresh our local value + $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ + \ + Write-Host 'Verifying install ...'; \ + Write-Host ' python --version'; python --version; \ + \ + Write-Host 'Removing ...'; \ + Remove-Item python.exe -Force; \ + Remove-Item $env:TEMP/Python*.log -Force; \ + \ + $env:PYTHONDONTWRITEBYTECODE = '1'; \ + \ + Write-Host 'Verifying pip install ...'; \ + pip --version; \ + \ + Write-Host 'Complete.' + +CMD ["python"] diff --git a/versions.json b/versions.json index 2fce14a35..271adca08 100644 --- a/versions.json +++ b/versions.json @@ -95,6 +95,27 @@ ], "version": "3.14.0" }, + "3.15-rc": { + "checksums": { + "source": { + "sha256": "3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4" + }, + "windows": { + "sha256": "376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb" + } + }, + "variants": [ + "trixie", + "slim-trixie", + "bookworm", + "slim-bookworm", + "alpine3.22", + "alpine3.21", + "windows/windowsservercore-ltsc2025", + "windows/windowsservercore-ltsc2022" + ], + "version": "3.15.0a1" + }, "3.9": { "checksums": { "source": { From 3f2d7e4c339ab883455b81a873519f1d0f2cd80a Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 14 Oct 2025 14:49:24 -0700 Subject: [PATCH 10/76] Update 3.13 to 3.13.9 --- 3.13/alpine3.21/Dockerfile | 4 ++-- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.21/Dockerfile b/3.13/alpine3.21/Dockerfile index 676dd7adf..0da00a21b 100644 --- a/3.13/alpine3.21/Dockerfile +++ b/3.13/alpine3.21/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 19acd8c79..686d76b83 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 8b970193f..4c7bfd25b 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index c1ae13ef5..d3f2f8e87 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 4a1525f2b..e3fe308be 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 943231b87..8fc726c70 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.8 -ENV PYTHON_SHA256 b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 63f924b43..16345ede9 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.8 -ENV PYTHON_SHA256 f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index f13c7cf46..d212b8529 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.8 -ENV PYTHON_SHA256 f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14 +ENV PYTHON_VERSION 3.13.9 +ENV PYTHON_SHA256 200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5 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/versions.json b/versions.json index 271adca08..bafd85867 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "b9910730526b298299b46b35595ced9055722df60c06ad6301f6a4e2c728a252" + "sha256": "ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66" }, "windows": { - "sha256": "f17f216f057ed805b653f80a607c0d97d52884b4ed00380acabf199f0c025b14" + "sha256": "200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.8" + "version": "3.13.9" }, "3.14": { "checksums": { From 38aab6a1ab1db813a35d91953eb03283dc5bf0c6 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 31 Oct 2025 13:37:20 -0700 Subject: [PATCH 11/76] Update 3.9 to 3.9.25 --- 3.9/alpine3.21/Dockerfile | 4 ++-- 3.9/alpine3.22/Dockerfile | 4 ++-- 3.9/bookworm/Dockerfile | 4 ++-- 3.9/slim-bookworm/Dockerfile | 4 ++-- 3.9/slim-trixie/Dockerfile | 4 ++-- 3.9/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.9/alpine3.21/Dockerfile b/3.9/alpine3.21/Dockerfile index 397b93bcf..6b848aac1 100644 --- a/3.9/alpine3.21/Dockerfile +++ b/3.9/alpine3.21/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/3.9/alpine3.22/Dockerfile b/3.9/alpine3.22/Dockerfile index c0a72de76..0d3cd33b4 100644 --- a/3.9/alpine3.22/Dockerfile +++ b/3.9/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/3.9/bookworm/Dockerfile b/3.9/bookworm/Dockerfile index 33d6c53cc..5cc86d074 100644 --- a/3.9/bookworm/Dockerfile +++ b/3.9/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/3.9/slim-bookworm/Dockerfile b/3.9/slim-bookworm/Dockerfile index 01649c2e1..189f6b2c8 100644 --- a/3.9/slim-bookworm/Dockerfile +++ b/3.9/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/3.9/slim-trixie/Dockerfile b/3.9/slim-trixie/Dockerfile index ddf9a7244..2eac0a2be 100644 --- a/3.9/slim-trixie/Dockerfile +++ b/3.9/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/3.9/trixie/Dockerfile b/3.9/trixie/Dockerfile index 34e6ff6d2..a4d40bd98 100644 --- a/3.9/trixie/Dockerfile +++ b/3.9/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.24 -ENV PYTHON_SHA256 668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a +ENV PYTHON_VERSION 3.9.25 +ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index bafd85867..ee8e011ad 100644 --- a/versions.json +++ b/versions.json @@ -119,7 +119,7 @@ "3.9": { "checksums": { "source": { - "sha256": "668391afabd5083faafa4543753d190f82f33ce6ba22d6e9ac728b43644b278a" + "sha256": "00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834" } }, "setuptools": { @@ -133,6 +133,6 @@ "alpine3.22", "alpine3.21" ], - "version": "3.9.24" + "version": "3.9.25" } } From 59e4abf1fb132d2f7be0b808bdc0b3e616519eeb Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 31 Oct 2025 16:57:36 -0700 Subject: [PATCH 12/76] Remove all traces of the now-EOL 3.9 release series See https://devguide.python.org/versions/ and https://www.python.org/downloads/ especially: > end of life, last release was 3.9.25 --- 3.9/alpine3.21/Dockerfile | 139 -------------------------------- 3.9/alpine3.22/Dockerfile | 139 -------------------------------- 3.9/bookworm/Dockerfile | 112 -------------------------- 3.9/slim-bookworm/Dockerfile | 146 ---------------------------------- 3.9/slim-trixie/Dockerfile | 146 ---------------------------------- 3.9/trixie/Dockerfile | 112 -------------------------- Dockerfile-linux.template | 21 ++--- generate-stackbrew-library.sh | 5 +- versions.json | 19 ----- versions.sh | 2 +- 10 files changed, 8 insertions(+), 833 deletions(-) delete mode 100644 3.9/alpine3.21/Dockerfile delete mode 100644 3.9/alpine3.22/Dockerfile delete mode 100644 3.9/bookworm/Dockerfile delete mode 100644 3.9/slim-bookworm/Dockerfile delete mode 100644 3.9/slim-trixie/Dockerfile delete mode 100644 3.9/trixie/Dockerfile diff --git a/3.9/alpine3.21/Dockerfile b/3.9/alpine3.21/Dockerfile deleted file mode 100644 index 6b848aac1..000000000 --- a/3.9/alpine3.21/Dockerfile +++ /dev/null @@ -1,139 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.21 - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apk add --no-cache \ - ca-certificates \ - tzdata \ - ; - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - apk add --no-cache --virtual .build-deps \ - bluez-dev \ - bzip2-dev \ - dpkg-dev dpkg \ - findutils \ - gcc \ - gdbm-dev \ - gnupg \ - libc-dev \ - libffi-dev \ - libnsl-dev \ - libtirpc-dev \ - linux-headers \ - make \ - ncurses-dev \ - openssl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tar \ - tcl-dev \ - tk \ - tk-dev \ - util-linux-dev \ - xz \ - xz-dev \ - zlib-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ -# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() -# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 - EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ - | tr ',' '\n' \ - | sort -u \ - | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ - | xargs -rt apk add --no-network --virtual .python-rundeps \ - ; \ - apk del --no-network .build-deps; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.9/alpine3.22/Dockerfile b/3.9/alpine3.22/Dockerfile deleted file mode 100644 index 0d3cd33b4..000000000 --- a/3.9/alpine3.22/Dockerfile +++ /dev/null @@ -1,139 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.22 - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apk add --no-cache \ - ca-certificates \ - tzdata \ - ; - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - apk add --no-cache --virtual .build-deps \ - bluez-dev \ - bzip2-dev \ - dpkg-dev dpkg \ - findutils \ - gcc \ - gdbm-dev \ - gnupg \ - libc-dev \ - libffi-dev \ - libnsl-dev \ - libtirpc-dev \ - linux-headers \ - make \ - ncurses-dev \ - openssl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tar \ - tcl-dev \ - tk \ - tk-dev \ - util-linux-dev \ - xz \ - xz-dev \ - zlib-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ -# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() -# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 - EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ - | tr ',' '\n' \ - | sort -u \ - | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ - | xargs -rt apk add --no-network --virtual .python-rundeps \ - ; \ - apk del --no-network .build-deps; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.9/bookworm/Dockerfile b/3.9/bookworm/Dockerfile deleted file mode 100644 index 5cc86d074..000000000 --- a/3.9/bookworm/Dockerfile +++ /dev/null @@ -1,112 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:bookworm - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libbluetooth-dev \ - tk-dev \ - uuid-dev \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ -# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 - bin="$(readlink -ve /usr/local/bin/python3)"; \ - dir="$(dirname "$bin")"; \ - mkdir -p "/usr/share/gdb/auto-load/$dir"; \ - cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.9/slim-bookworm/Dockerfile b/3.9/slim-bookworm/Dockerfile deleted file mode 100644 index 189f6b2c8..000000000 --- a/3.9/slim-bookworm/Dockerfile +++ /dev/null @@ -1,146 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:bookworm-slim - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - netbase \ - tzdata \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - dpkg-dev \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.9/slim-trixie/Dockerfile b/3.9/slim-trixie/Dockerfile deleted file mode 100644 index 2eac0a2be..000000000 --- a/3.9/slim-trixie/Dockerfile +++ /dev/null @@ -1,146 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:trixie-slim - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - netbase \ - tzdata \ - ; \ - apt-get dist-clean - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - dpkg-dev \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - apt-get dist-clean; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.9/trixie/Dockerfile b/3.9/trixie/Dockerfile deleted file mode 100644 index a4d40bd98..000000000 --- a/3.9/trixie/Dockerfile +++ /dev/null @@ -1,112 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:trixie - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libbluetooth-dev \ - tk-dev \ - uuid-dev \ - ; \ - apt-get dist-clean - -ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568 -ENV PYTHON_VERSION 3.9.25 -ENV PYTHON_SHA256 00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834 - -RUN set -eux; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ -# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 - bin="$(readlink -ve /usr/local/bin/python3)"; \ - dir="$(dirname "$bin")"; \ - mkdir -p "/usr/share/gdb/auto-load/$dir"; \ - cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index d58480c09..0810a4ed0 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -25,7 +25,7 @@ FROM buildpack-deps:{{ env.variant }} # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH -{{ if rcVersion | IN("3.9", "3.10", "3.11", "3.12") then ( -}} +{{ if rcVersion | IN("3.10", "3.11", "3.12") then ( -}} {{ # only set LANG on versions less than 3.13 -}} # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed # last attempted removal of LANG broke many users: @@ -62,15 +62,11 @@ RUN set -eux; \ # https://github.com/docker-library/python/issues/977 # https://peps.python.org/pep-0761/ # https://discuss.python.org/t/pep-761-deprecating-pgp-signatures-for-cpython-artifacts/67180 - rcVersion | IN("3.9", "3.10", "3.11", "3.12", "3.13") + rcVersion | IN("3.10", "3.11", "3.12", "3.13") -}} {{ if should_pgp then ( -}} ENV GPG_KEY {{ { - # gpg: key B26995E310250568: public key "\xc5\x81ukasz Langa (GPG langa.pl) " imported - "3.9": "E3FF2839C048B25C084DEBE9B26995E310250568", - # https://peps.python.org/pep-0596/#release-manager-and-crew - # gpg: key 64E628F8D684696D: public key "Pablo Galindo Salgado " imported "3.10": "A035C8C19219BA821ECEA86B64E628F8D684696D", # https://peps.python.org/pep-0619/#release-manager-and-crew @@ -124,7 +120,7 @@ RUN set -eux; \ "xz", "xz-dev", "zlib-dev", - if IN(env.version; "3.9", "3.10", "3.11", "3.12", "3.13") then empty else + if IN(env.version; "3.10", "3.11", "3.12", "3.13") then empty else "zstd-dev" end, empty @@ -152,7 +148,7 @@ RUN set -eux; \ "zlib1g-dev", empty else empty end, - if IN(env.version; "3.9", "3.10", "3.11", "3.12", "3.13") then empty else + if IN(env.version; "3.10", "3.11", "3.12", "3.13") then empty else "libzstd-dev" end, empty @@ -207,13 +203,8 @@ RUN set -eux; \ {{ ) end -}} --enable-option-checking=fatal \ --enable-shared \ -{{ - # <3.10 does not have -fno-semantic-interposition enabled and --with-lto does nothing for performance - # skip LTO on riscv64: https://github.com/docker-library/python/pull/935, https://github.com/docker-library/python/pull/1038 - if rcVersion == "3.9" then "" else ( --}} +{{ # skip LTO on riscv64: https://github.com/docker-library/python/pull/935, https://github.com/docker-library/python/pull/1038 -}} $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ -{{ ) end -}} --with-ensurepip \ ; \ nproc="$(nproc)"; \ @@ -230,7 +221,7 @@ RUN set -eux; \ {{ ) else "" end -}} {{ # Enabling frame-pointers only makes sense for Python 3.12 and newer as those have perf profiler support - if rcVersion | IN("3.9", "3.10", "3.11") then "" else ( + if rcVersion | IN("3.10", "3.11") then "" else ( -}} {{ if is_alpine then ( -}} arch="$(apk --print-arch)"; \ diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index b8f386f2e..cf95fe839 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -137,10 +137,7 @@ for version; do esac # https://github.com/python/cpython/issues/93619 (Linking error when building 3.11 beta on mips64le) + https://peps.python.org/pep-0011/ (mips is not even tier 3) - case "$version" in - 3.9) ;; - *) variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" ;; - esac + variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" sharedTags=() for windowsShared in windowsservercore nanoserver; do diff --git a/versions.json b/versions.json index ee8e011ad..2be9078cc 100644 --- a/versions.json +++ b/versions.json @@ -115,24 +115,5 @@ "windows/windowsservercore-ltsc2022" ], "version": "3.15.0a1" - }, - "3.9": { - "checksums": { - "source": { - "sha256": "00e07d7c0f2f0cc002432d1ee84d2a40dae404a99303e3f97701c10966c91834" - } - }, - "setuptools": { - "version": "79.0.1" - }, - "variants": [ - "trixie", - "slim-trixie", - "bookworm", - "slim-bookworm", - "alpine3.22", - "alpine3.21" - ], - "version": "3.9.25" } } diff --git a/versions.sh b/versions.sh index 73af73d37..9d8c20a24 100755 --- a/versions.sh +++ b/versions.sh @@ -162,7 +162,7 @@ for version in "${versions[@]}"; do # TODO remove setuptools version handling entirely once Python 3.11 is EOL setuptoolsVersion="$(sed -nre 's/^_SETUPTOOLS_VERSION[[:space:]]*=[[:space:]]*"(.*?)".*/\1/p' <<<"$ensurepipVersions")" case "$rcVersion" in - 3.9 | 3.10 | 3.11) + 3.10 | 3.11) if [ -z "$setuptoolsVersion" ]; then echo >&2 "error: $version: missing setuptools version" exit 1 From 625c8d74e2f24d9d4d5eae3f78eeaa06bc27e67d Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 19 Nov 2025 02:49:34 -0800 Subject: [PATCH 13/76] Update 3.15-rc to 3.15.0a2 --- 3.15-rc/alpine3.21/Dockerfile | 4 ++-- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.21/Dockerfile b/3.15-rc/alpine3.21/Dockerfile index 3348b3b02..13071fa9d 100644 --- a/3.15-rc/alpine3.21/Dockerfile +++ b/3.15-rc/alpine3.21/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index ef2eeb252..bf0bb5e96 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 857dc42b2..94fe06186 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 5f9e76b44..735291b76 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 75f9eb810..0a28f4b28 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index f08c12d91..1cc864b12 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a1 -ENV PYTHON_SHA256 3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4 +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index da05a9c20..3cf502737 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a1 -ENV PYTHON_SHA256 376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 9424923b3..8847baa4b 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a1 -ENV PYTHON_SHA256 376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb +ENV PYTHON_VERSION 3.15.0a2 +ENV PYTHON_SHA256 21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e 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/versions.json b/versions.json index 2be9078cc..532a48d04 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "3194939d488eeaeefdcf990d35542d9ad1ce788789c4e2305a2060eb7058e5a4" + "sha256": "d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751" }, "windows": { - "sha256": "376a4b54b3b6fd5b0614b5c0d5a5a3d75b89861102e2f3d6166b2bf5c6d925bb" + "sha256": "21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a1" + "version": "3.15.0a2" } } From ea5fb09c192eb14cf7ac15a642037444aa16a6ad Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 2 Dec 2025 08:49:21 -0800 Subject: [PATCH 14/76] Update 3.13 to 3.13.10 --- 3.13/alpine3.21/Dockerfile | 4 ++-- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.21/Dockerfile b/3.13/alpine3.21/Dockerfile index 0da00a21b..cef514c6c 100644 --- a/3.13/alpine3.21/Dockerfile +++ b/3.13/alpine3.21/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 686d76b83..a15f318c7 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 4c7bfd25b..ece73500e 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index d3f2f8e87..d49cf393f 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index e3fe308be..a0238fca9 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 8fc726c70..d665465cc 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.9 -ENV PYTHON_SHA256 ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 16345ede9..82af8ea54 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.9 -ENV PYTHON_SHA256 200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index d212b8529..f345af2f8 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.9 -ENV PYTHON_SHA256 200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5 +ENV PYTHON_VERSION 3.13.10 +ENV PYTHON_SHA256 e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad 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/versions.json b/versions.json index 532a48d04..9df6d1d4e 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "ed5ef34cda36cfa2f3a340f07cac7e7814f91c7f3c411f6d3562323a866c5c66" + "sha256": "bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77" }, "windows": { - "sha256": "200ddff856bbff949d2cc1be42e8807c07538abd6b6966d5113a094cf628c5c5" + "sha256": "e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.9" + "version": "3.13.10" }, "3.14": { "checksums": { From ab954f1d6ff17d37c0d5c0dbf835d77d5857e4c4 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 2 Dec 2025 10:45:57 -0800 Subject: [PATCH 15/76] Update 3.14 to 3.14.1 --- 3.14/alpine3.21/Dockerfile | 4 ++-- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.21/Dockerfile b/3.14/alpine3.21/Dockerfile index c3788113a..605c76725 100644 --- a/3.14/alpine3.21/Dockerfile +++ b/3.14/alpine3.21/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 86ea2ccc6..593bc637c 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index f802ef786..23d8c1ecf 100644 --- a/3.14/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.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index efc7d3a65..f6706385b 100644 --- a/3.14/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.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 1abf7739d..6a4dd1b79 100644 --- a/3.14/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.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 7aa50e8b8..587874a42 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.0 -ENV PYTHON_SHA256 2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9 +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 29956d22d..77b59ea6c 100644 --- a/3.14/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.0 -ENV PYTHON_SHA256 52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index fc99fa29b..97e1a7849 100644 --- a/3.14/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.0 -ENV PYTHON_SHA256 52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa +ENV PYTHON_VERSION 3.14.1 +ENV PYTHON_SHA256 74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80 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/versions.json b/versions.json index 9df6d1d4e..161baaf83 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9" + "sha256": "8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc" }, "windows": { - "sha256": "52ceb249f65009d936e6504f97cce42870c11358cb6e48825e893f54e11620aa" + "sha256": "74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.0" + "version": "3.14.1" }, "3.15-rc": { "checksums": { From 479bd1eb172bda89edeaef474400cf65ae2b6488 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 2 Dec 2025 16:11:35 -0800 Subject: [PATCH 16/76] Update 3.13 --- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 2 +- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 2 +- versions.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 82af8ea54..4349785aa 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/windows/windowsservercore-ltsc2022/Dockerfile @@ -12,7 +12,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad +ENV PYTHON_SHA256 ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index f345af2f8..f45e0d701 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/windows/windowsservercore-ltsc2025/Dockerfile @@ -12,7 +12,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad +ENV PYTHON_SHA256 ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257 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/versions.json b/versions.json index 161baaf83..ce183bd98 100644 --- a/versions.json +++ b/versions.json @@ -59,7 +59,7 @@ "sha256": "bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77" }, "windows": { - "sha256": "e6e6dbaec482b22bf2651b80ee46bd450fd623a842c0f630a670d1948bbb0dad" + "sha256": "ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257" } }, "variants": [ From aad39d215779f27b410b25f612b6680a75781edb Mon Sep 17 00:00:00 2001 From: Jesper Noordsij Date: Wed, 3 Dec 2025 17:45:33 +0100 Subject: [PATCH 17/76] Add Alpine 3.23 and drop 3.21 --- 3.10/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- 3.11/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- 3.12/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- 3.13/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- 3.14/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- 3.15-rc/{alpine3.21 => alpine3.23}/Dockerfile | 2 +- versions.json | 18 +++++++++--------- versions.sh | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) rename 3.10/{alpine3.21 => alpine3.23}/Dockerfile (99%) rename 3.11/{alpine3.21 => alpine3.23}/Dockerfile (99%) rename 3.12/{alpine3.21 => alpine3.23}/Dockerfile (99%) rename 3.13/{alpine3.21 => alpine3.23}/Dockerfile (99%) rename 3.14/{alpine3.21 => alpine3.23}/Dockerfile (99%) rename 3.15-rc/{alpine3.21 => alpine3.23}/Dockerfile (99%) diff --git a/3.10/alpine3.21/Dockerfile b/3.10/alpine3.23/Dockerfile similarity index 99% rename from 3.10/alpine3.21/Dockerfile rename to 3.10/alpine3.23/Dockerfile index 276fd33fa..bbde97a6f 100644 --- a/3.10/alpine3.21/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.11/alpine3.21/Dockerfile b/3.11/alpine3.23/Dockerfile similarity index 99% rename from 3.11/alpine3.21/Dockerfile rename to 3.11/alpine3.23/Dockerfile index 4192f0960..095e792f4 100644 --- a/3.11/alpine3.21/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.12/alpine3.21/Dockerfile b/3.12/alpine3.23/Dockerfile similarity index 99% rename from 3.12/alpine3.21/Dockerfile rename to 3.12/alpine3.23/Dockerfile index f5ed1422c..5ed1166d5 100644 --- a/3.12/alpine3.21/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.13/alpine3.21/Dockerfile b/3.13/alpine3.23/Dockerfile similarity index 99% rename from 3.13/alpine3.21/Dockerfile rename to 3.13/alpine3.23/Dockerfile index cef514c6c..3b38a174d 100644 --- a/3.13/alpine3.21/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.14/alpine3.21/Dockerfile b/3.14/alpine3.23/Dockerfile similarity index 99% rename from 3.14/alpine3.21/Dockerfile rename to 3.14/alpine3.23/Dockerfile index 605c76725..c10a1a9d7 100644 --- a/3.14/alpine3.21/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.15-rc/alpine3.21/Dockerfile b/3.15-rc/alpine3.23/Dockerfile similarity index 99% rename from 3.15-rc/alpine3.21/Dockerfile rename to 3.15-rc/alpine3.23/Dockerfile index 13071fa9d..9faa7c68f 100644 --- a/3.15-rc/alpine3.21/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.21 +FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/versions.json b/versions.json index ce183bd98..648abffd0 100644 --- a/versions.json +++ b/versions.json @@ -13,8 +13,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.22", - "alpine3.21" + "alpine3.23", + "alpine3.22" ], "version": "3.10.19" }, @@ -32,8 +32,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.22", - "alpine3.21" + "alpine3.23", + "alpine3.22" ], "version": "3.11.14" }, @@ -48,8 +48,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.22", - "alpine3.21" + "alpine3.23", + "alpine3.22" ], "version": "3.12.12" }, @@ -67,8 +67,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.23", "alpine3.22", - "alpine3.21", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], @@ -88,8 +88,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.23", "alpine3.22", - "alpine3.21", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], @@ -109,8 +109,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.23", "alpine3.22", - "alpine3.21", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], diff --git a/versions.sh b/versions.sh index 9d8c20a24..83885bdb4 100755 --- a/versions.sh +++ b/versions.sh @@ -195,8 +195,8 @@ for version in "${versions[@]}"; do empty | ., "slim-" + .), # https://github.com/docker-library/ruby/pull/142#issuecomment-320012893 ( + "3.23", "3.22", - "3.21", empty | "alpine" + .), if env.hasWindows != "" then From 40b30bb99b8ec66eb1412711daa66827022f2593 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 5 Dec 2025 14:49:22 -0800 Subject: [PATCH 18/76] Update 3.13 to 3.13.11 --- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index a15f318c7..b3cc60e8b 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 3b38a174d..98e9509df 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index ece73500e..2f928339a 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index d49cf393f..cce4a3fe2 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index a0238fca9..216acae54 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index d665465cc..8dabd54bc 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.10 -ENV PYTHON_SHA256 bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 4349785aa..b21f0b99b 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.10 -ENV PYTHON_SHA256 ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index f45e0d701..2aa90e2b0 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.10 -ENV PYTHON_SHA256 ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257 +ENV PYTHON_VERSION 3.13.11 +ENV PYTHON_SHA256 30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101 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/versions.json b/versions.json index 648abffd0..bc1582f41 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "bc673c04375a1a3f0808c27ba8f0411ab811ad390a8740318ccb9c60fad8fd77" + "sha256": "16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2" }, "windows": { - "sha256": "ab30cd76655c6c91243b4f4d5a8499020f6503aa58e92b3e2e94ae4af7353257" + "sha256": "30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.10" + "version": "3.13.11" }, "3.14": { "checksums": { From 2fc7ce5fa65ed3321256f9b45054733a6958aebe Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 5 Dec 2025 16:49:08 -0800 Subject: [PATCH 19/76] Update 3.14 to 3.14.2 --- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 593bc637c..e8afd6eff 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index c10a1a9d7..9d3f7fd66 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 23d8c1ecf..122347de9 100644 --- a/3.14/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.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index f6706385b..391b65792 100644 --- a/3.14/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.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 6a4dd1b79..820d32355 100644 --- a/3.14/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.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 587874a42..901ee09be 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.1 -ENV PYTHON_SHA256 8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 77b59ea6c..a5c7b7cfd 100644 --- a/3.14/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.1 -ENV PYTHON_SHA256 74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80 +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index 97e1a7849..b663e4c99 100644 --- a/3.14/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.1 -ENV PYTHON_SHA256 74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80 +ENV PYTHON_VERSION 3.14.2 +ENV PYTHON_SHA256 9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848 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/versions.json b/versions.json index bc1582f41..bcead1882 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "8dfa08b1959d9d15838a1c2dab77dc8d8ff4a553a1ed046dfacbc8095c6d42fc" + "sha256": "ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9" }, "windows": { - "sha256": "74e1516408744190fcc12307c150de30902898444f77f85f4c2ac18f36788a80" + "sha256": "9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.1" + "version": "3.14.2" }, "3.15-rc": { "checksums": { From 4f385dfe2f95c2be5863a4c9af7d78facbf0fbac Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 16 Dec 2025 08:49:28 -0800 Subject: [PATCH 20/76] Update 3.15-rc to 3.15.0a3 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index bf0bb5e96..10ddbd590 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 9faa7c68f..c229284c7 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 94fe06186..165cdad49 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 735291b76..7c45f726e 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 0a28f4b28..319f83216 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 1cc864b12..6427e01b1 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a2 -ENV PYTHON_SHA256 d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751 +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 3cf502737..3c1032a08 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a2 -ENV PYTHON_SHA256 21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 8847baa4b..949ea5a7c 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a2 -ENV PYTHON_SHA256 21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e +ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9 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/versions.json b/versions.json index bcead1882..77b92505d 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "d8a0a2f4a7f3d7090cf195e81814efe95f70554955557f40e149d8694a662751" + "sha256": "6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607" }, "windows": { - "sha256": "21bcbd1e66b16d96e9c90ba3f563f4a09c3e44a4892f93f467f2814117ba244e" + "sha256": "05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a2" + "version": "3.15.0a3" } } From dd5576649f8c821e8557437dbc707724a70572e3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 8 Jan 2026 08:49:27 -0800 Subject: [PATCH 21/76] Update 3.15-rc --- 3.15-rc/alpine3.22/Dockerfile | 2 -- 3.15-rc/alpine3.23/Dockerfile | 2 -- 3.15-rc/bookworm/Dockerfile | 2 -- 3.15-rc/slim-bookworm/Dockerfile | 2 -- 3.15-rc/slim-trixie/Dockerfile | 2 -- 3.15-rc/trixie/Dockerfile | 2 -- versions.json | 3 --- 7 files changed, 15 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 10ddbd590..b17c5fa18 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -17,7 +17,6 @@ RUN set -eux; \ ; ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -52,7 +51,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index c229284c7..cb0e79e6e 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -17,7 +17,6 @@ RUN set -eux; \ ; ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -52,7 +51,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 165cdad49..8f281fd8c 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -20,7 +20,6 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -31,7 +30,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 7c45f726e..13433cdea 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -20,7 +20,6 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -51,7 +50,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 319f83216..ba6c1e185 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -20,7 +20,6 @@ RUN set -eux; \ apt-get dist-clean ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -51,7 +50,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 6427e01b1..20ecc527a 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -20,7 +20,6 @@ RUN set -eux; \ apt-get dist-clean ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -31,7 +30,6 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/versions.json b/versions.json index 77b92505d..0277c83ec 100644 --- a/versions.json +++ b/versions.json @@ -97,9 +97,6 @@ }, "3.15-rc": { "checksums": { - "source": { - "sha256": "6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607" - }, "windows": { "sha256": "05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9" } From ac65a0ec34172eb865a8cef47fed3dc71a38d419 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 8 Jan 2026 14:49:27 -0800 Subject: [PATCH 22/76] Update 3.15-rc --- 3.15-rc/alpine3.22/Dockerfile | 2 ++ 3.15-rc/alpine3.23/Dockerfile | 2 ++ 3.15-rc/bookworm/Dockerfile | 2 ++ 3.15-rc/slim-bookworm/Dockerfile | 2 ++ 3.15-rc/slim-trixie/Dockerfile | 2 ++ 3.15-rc/trixie/Dockerfile | 2 ++ versions.json | 3 +++ 7 files changed, 15 insertions(+) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index b17c5fa18..10ddbd590 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -17,6 +17,7 @@ RUN set -eux; \ ; ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -51,6 +52,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index cb0e79e6e..c229284c7 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -17,6 +17,7 @@ RUN set -eux; \ ; ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -51,6 +52,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 8f281fd8c..165cdad49 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -20,6 +20,7 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -30,6 +31,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 13433cdea..7c45f726e 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -20,6 +20,7 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -50,6 +51,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index ba6c1e185..319f83216 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -20,6 +20,7 @@ RUN set -eux; \ apt-get dist-clean ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -50,6 +51,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 20ecc527a..6427e01b1 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -20,6 +20,7 @@ RUN set -eux; \ apt-get dist-clean ENV PYTHON_VERSION 3.15.0a3 +ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 RUN set -eux; \ \ @@ -30,6 +31,7 @@ RUN set -eux; \ ; \ \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ mkdir -p /usr/src/python; \ tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ rm python.tar.xz; \ diff --git a/versions.json b/versions.json index 0277c83ec..77b92505d 100644 --- a/versions.json +++ b/versions.json @@ -97,6 +97,9 @@ }, "3.15-rc": { "checksums": { + "source": { + "sha256": "6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607" + }, "windows": { "sha256": "05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9" } From d54028322e12e0156b6f36f934d12266d9d90489 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 13 Jan 2026 14:49:31 -0800 Subject: [PATCH 23/76] Update 3.15-rc to 3.15.0a4 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 10ddbd590..bbe0fcd7c 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index c229284c7..2a0554abc 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 165cdad49..3644f088a 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 7c45f726e..a4eaa188c 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 319f83216..53a772fe8 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 6427e01b1..9f797c004 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a3 -ENV PYTHON_SHA256 6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 3c1032a08..0c83a80eb 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a3 -ENV PYTHON_SHA256 05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 949ea5a7c..824f564ab 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a3 -ENV PYTHON_SHA256 05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9 +ENV PYTHON_VERSION 3.15.0a4 +ENV PYTHON_SHA256 4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3 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/versions.json b/versions.json index 77b92505d..2143f76a6 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "6ab02cdac24505779877bb1d9189432d67e90ddf2a9b8b7b373ead54ac07b607" + "sha256": "a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77" }, "windows": { - "sha256": "05d0a8932ca359e349571b193858be1af72a3cff086bfe08cbe6d1e2140726c9" + "sha256": "4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a3" + "version": "3.15.0a4" } } From 34416dc8978516e1aee327d2c1a4ca2b6e871bc2 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 14 Jan 2026 14:49:33 -0800 Subject: [PATCH 24/76] Update 3.15-rc to 3.15.0a5 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index bbe0fcd7c..08bd41af6 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 2a0554abc..caf03e5ed 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 3644f088a..160973db9 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index a4eaa188c..650dd8fd6 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 53a772fe8..604993d1a 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 9f797c004..6a1e063f7 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a4 -ENV PYTHON_SHA256 a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 0c83a80eb..677fdf8d6 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a4 -ENV PYTHON_SHA256 4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 824f564ab..a9d0bdda6 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a4 -ENV PYTHON_SHA256 4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3 +ENV PYTHON_VERSION 3.15.0a5 +ENV PYTHON_SHA256 9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9 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/versions.json b/versions.json index 2143f76a6..5732a154c 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "a0a521d5c480b89979da1aefce29750eb158128c0178728ebfef7511c21b4e77" + "sha256": "fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef" }, "windows": { - "sha256": "4dff016067a5e4888fb49666750f0f1a71f4924e4bc41abe66bd2e966f7fc9d3" + "sha256": "9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a4" + "version": "3.15.0a5" } } From 37025e2ac6c3410c66ec98655af86623d5c0407e Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 20 Jan 2026 11:48:12 -0800 Subject: [PATCH 25/76] Fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our architecture-detection `case` statement was indented too far. 😂 --- 3.12/alpine3.22/Dockerfile | 32 +++++++++++++-------------- 3.12/alpine3.23/Dockerfile | 32 +++++++++++++-------------- 3.12/bookworm/Dockerfile | 32 +++++++++++++-------------- 3.12/slim-bookworm/Dockerfile | 32 +++++++++++++-------------- 3.12/slim-trixie/Dockerfile | 32 +++++++++++++-------------- 3.12/trixie/Dockerfile | 32 +++++++++++++-------------- 3.13/alpine3.22/Dockerfile | 32 +++++++++++++-------------- 3.13/alpine3.23/Dockerfile | 32 +++++++++++++-------------- 3.13/bookworm/Dockerfile | 32 +++++++++++++-------------- 3.13/slim-bookworm/Dockerfile | 32 +++++++++++++-------------- 3.13/slim-trixie/Dockerfile | 32 +++++++++++++-------------- 3.13/trixie/Dockerfile | 32 +++++++++++++-------------- 3.14/alpine3.22/Dockerfile | 32 +++++++++++++-------------- 3.14/alpine3.23/Dockerfile | 32 +++++++++++++-------------- 3.14/bookworm/Dockerfile | 32 +++++++++++++-------------- 3.14/slim-bookworm/Dockerfile | 32 +++++++++++++-------------- 3.14/slim-trixie/Dockerfile | 32 +++++++++++++-------------- 3.14/trixie/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/alpine3.22/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/alpine3.23/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/bookworm/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/slim-bookworm/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/slim-trixie/Dockerfile | 32 +++++++++++++-------------- 3.15-rc/trixie/Dockerfile | 32 +++++++++++++-------------- Dockerfile-linux.template | 38 ++++++++++++++++---------------- 25 files changed, 403 insertions(+), 403 deletions(-) diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.22/Dockerfile index 3d5f9a26d..58d18cbc8 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.22/Dockerfile @@ -83,24 +83,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 5ed1166d5..115a5af3c 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -83,24 +83,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index 5f51a938b..a8444968f 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -56,24 +56,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 28ea81d7e..4f86beb7c 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -82,24 +82,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index f473b4619..306fb08e9 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -82,24 +82,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index c384b1a45..48eff8df3 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -56,24 +56,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index b3cc60e8b..2756eb6dc 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -78,24 +78,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 98e9509df..59c202fdf 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -78,24 +78,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 2f928339a..d1493a1d2 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -51,24 +51,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index cce4a3fe2..ae47d0453 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -77,24 +77,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 216acae54..e8d443e03 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -77,24 +77,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 8dabd54bc..1ad9ffc2a 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -51,24 +51,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index e8afd6eff..407a18c09 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -72,24 +72,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 9d3f7fd66..1e3a7afd6 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -72,24 +72,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 122347de9..16995692d 100644 --- a/3.14/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -50,24 +50,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index 391b65792..9faa2fb5c 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -71,24 +71,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 820d32355..95ad66bdf 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -71,24 +71,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 901ee09be..e70450270 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -50,24 +50,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 08bd41af6..1b10a6e60 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -72,24 +72,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index caf03e5ed..e66f8dd6c 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -72,24 +72,24 @@ RUN set -eux; \ # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - x86_64|aarch64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - x86) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 160973db9..18abaf936 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -50,24 +50,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 650dd8fd6..6bc6b2d9a 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -71,24 +71,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 604993d1a..ee1a2ec86 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -71,24 +71,24 @@ RUN set -eux; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 6a1e063f7..6e3435f52 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -50,24 +50,24 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index 0810a4ed0..3e4b54cfa 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -224,35 +224,35 @@ RUN set -eux; \ if rcVersion | IN("3.10", "3.11") then "" else ( -}} {{ if is_alpine then ( -}} - arch="$(apk --print-arch)"; \ + arch="$(apk --print-arch)"; \ {{ ) else ( -}} - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ {{ ) end -}} # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ + case "$arch" in \ {{ if is_alpine then ( -}} - x86_64|aarch64) \ + x86_64|aarch64) \ {{ ) else ( -}} - amd64|arm64) \ + amd64|arm64) \ {{ ) end -}} - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ {{ if is_alpine then ( -}} - x86) \ + x86) \ {{ ) else ( -}} - i386) \ + i386) \ {{ ) end -}} - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ {{ ) end -}} make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ From 90e9ca41dc404ee7d22c09b894823e8925227c17 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 20 Jan 2026 11:24:46 -0800 Subject: [PATCH 26/76] Use more defensive `LDFLAGS` append method In Debian Trixie and older, `dpkg-buildflags --get LDFLAGS` returns something like `-Wl,-z-relro` and in Forky and newer it looks like `-Wl,-z-relro -fcf-protection`, so instead of relying on that `-Wl` and appending to the existing value, we can (and should) just add new `-Wl` values to the end, which _should_ be combined together correctly by the compiler/linker. --- 3.10/alpine3.22/Dockerfile | 4 ++-- 3.10/alpine3.23/Dockerfile | 4 ++-- 3.10/bookworm/Dockerfile | 2 +- 3.10/slim-bookworm/Dockerfile | 4 ++-- 3.10/slim-trixie/Dockerfile | 4 ++-- 3.10/trixie/Dockerfile | 2 +- 3.11/alpine3.22/Dockerfile | 4 ++-- 3.11/alpine3.23/Dockerfile | 4 ++-- 3.11/bookworm/Dockerfile | 2 +- 3.11/slim-bookworm/Dockerfile | 4 ++-- 3.11/slim-trixie/Dockerfile | 4 ++-- 3.11/trixie/Dockerfile | 2 +- 3.12/alpine3.22/Dockerfile | 4 ++-- 3.12/alpine3.23/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 2 +- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 2 +- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 2 +- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 2 +- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 2 +- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 2 +- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 2 +- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 2 +- Dockerfile-linux.template | 4 ++-- 37 files changed, 62 insertions(+), 62 deletions(-) diff --git a/3.10/alpine3.22/Dockerfile b/3.10/alpine3.22/Dockerfile index 9d8817fb7..36c6bc92e 100644 --- a/3.10/alpine3.22/Dockerfile +++ b/3.10/alpine3.22/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -92,7 +92,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index bbde97a6f..c38dc49a3 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -92,7 +92,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index 5d4e0db90..b9879f453 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -65,7 +65,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index 9fac25174..e380e755a 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -91,7 +91,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index 9c27605a7..54f9a5e59 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -91,7 +91,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index a0b09dab9..d39e2857e 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -65,7 +65,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/alpine3.22/Dockerfile b/3.11/alpine3.22/Dockerfile index a88b9e328..e580e4efb 100644 --- a/3.11/alpine3.22/Dockerfile +++ b/3.11/alpine3.22/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -92,7 +92,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index 095e792f4..a83dd2e4d 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -92,7 +92,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index 6b9158d70..a02baff26 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -65,7 +65,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index 9137579df..c979c6419 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -91,7 +91,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 43add477a..6d346528c 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ "LDFLAGS=${LDFLAGS:-}" \ @@ -91,7 +91,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index 4daf9651d..d9c93cb21 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -65,7 +65,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.22/Dockerfile index 58d18cbc8..278eac91e 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.22/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -110,7 +110,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 115a5af3c..571036dfb 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -82,7 +82,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -110,7 +110,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index a8444968f..904b2b946 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -83,7 +83,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 4f86beb7c..c8debe41a 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -109,7 +109,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index 306fb08e9..b9ff939e4 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -81,7 +81,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -109,7 +109,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index 48eff8df3..d2b592bae 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -83,7 +83,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 2756eb6dc..5f4e534c5 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -105,7 +105,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 59c202fdf..88e61ae92 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -105,7 +105,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index d1493a1d2..ec3a15967 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -78,7 +78,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index ae47d0453..046a2d7e1 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -76,7 +76,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -104,7 +104,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index e8d443e03..aeb98251f 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -76,7 +76,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -104,7 +104,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 1ad9ffc2a..cf709d74d 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -78,7 +78,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 407a18c09..e32939bfd 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -71,7 +71,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -99,7 +99,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 1e3a7afd6..b2d530afc 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -71,7 +71,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -99,7 +99,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 16995692d..4c3b74a15 100644 --- a/3.14/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index 9faa2fb5c..c957d0906 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -70,7 +70,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -98,7 +98,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 95ad66bdf..552a9e64b 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -70,7 +70,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -98,7 +98,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index e70450270..b10f61355 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 1b10a6e60..379607cbc 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -71,7 +71,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -99,7 +99,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index e66f8dd6c..29770b3a7 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -71,7 +71,7 @@ RUN set -eux; \ # set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() # https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(apk --print-arch)"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -99,7 +99,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 18abaf936..7be6c0497 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 6bc6b2d9a..c9750daec 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -70,7 +70,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -98,7 +98,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index ee1a2ec86..8243a5ffe 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -70,7 +70,7 @@ RUN set -eux; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ # https://docs.python.org/3.12/howto/perf_profiling.html # https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 @@ -98,7 +98,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 6e3435f52..e83cdde1e 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -77,7 +77,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index 3e4b54cfa..92cc4f2b5 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -217,7 +217,7 @@ RUN set -eux; \ LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ {{ ) end -}} {{ if is_slim or is_alpine then ( -}} - LDFLAGS="${LDFLAGS:--Wl},--strip-all"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ {{ ) else "" end -}} {{ # Enabling frame-pointers only makes sense for Python 3.12 and newer as those have perf profiler support @@ -263,7 +263,7 @@ RUN set -eux; \ rm python; \ make -j "$nproc" \ "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ python \ ; \ make install; \ From d7d46d97a9ffd58269d8d1d0218ce959362b4298 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 3 Feb 2026 14:49:25 -0800 Subject: [PATCH 27/76] Update 3.13 to 3.13.12 --- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 5f4e534c5..46edc2a72 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 88e61ae92..e345da2a5 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index ec3a15967..8af9bc3f2 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index 046a2d7e1..a591d854d 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index aeb98251f..ed91c73d6 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index cf709d74d..abd88f85c 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.11 -ENV PYTHON_SHA256 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index b21f0b99b..683afe3c0 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.11 -ENV PYTHON_SHA256 30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index 2aa90e2b0..6df4dd864 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.11 -ENV PYTHON_SHA256 30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101 +ENV PYTHON_VERSION 3.13.12 +ENV PYTHON_SHA256 96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981 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/versions.json b/versions.json index 5732a154c..315a9bf92 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2" + "sha256": "2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593" }, "windows": { - "sha256": "30d4654b3eac7ddfdf2682db4c8dcb490f3055f4f33c6906d6b828f680152101" + "sha256": "96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.11" + "version": "3.13.12" }, "3.14": { "checksums": { From ce782e2435387d50d3a21a29c76d0eb4115057d3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 3 Feb 2026 16:46:51 -0800 Subject: [PATCH 28/76] Update 3.14 to 3.14.3 --- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index e32939bfd..0c83b4535 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index b2d530afc..739e4aa89 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 4c3b74a15..030ac52be 100644 --- a/3.14/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.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index c957d0906..dd2dbb6bf 100644 --- a/3.14/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.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 552a9e64b..d9f37d851 100644 --- a/3.14/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.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index b10f61355..3771a8dce 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.2 -ENV PYTHON_SHA256 ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index a5c7b7cfd..0bbda7710 100644 --- a/3.14/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.2 -ENV PYTHON_SHA256 9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index b663e4c99..ba13e8ef0 100644 --- a/3.14/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.2 -ENV PYTHON_SHA256 9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848 +ENV PYTHON_VERSION 3.14.3 +ENV PYTHON_SHA256 b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0 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/versions.json b/versions.json index 315a9bf92..22097ecb0 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "ce543ab854bc256b61b71e9b27f831ffd1bfd60a479d639f8be7f9757cf573e9" + "sha256": "a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b" }, "windows": { - "sha256": "9db919cefe30a0051658c600a9912acb0cd2b872aaf35842c9ec2bf401efa848" + "sha256": "b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.2" + "version": "3.14.3" }, "3.15-rc": { "checksums": { From 719683e893c4b63cd9133d4c12ae33790ac1abec Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 11 Feb 2026 08:49:31 -0800 Subject: [PATCH 29/76] Update 3.15-rc to 3.15.0a6 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 379607cbc..9a41b3ee7 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 29770b3a7..fd7b8883f 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 7be6c0497..7bf819c77 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index c9750daec..8a8505095 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 8243a5ffe..9a60b4574 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index e83cdde1e..785689ee1 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a5 -ENV PYTHON_SHA256 fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 677fdf8d6..a67adc5ac 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a5 -ENV PYTHON_SHA256 9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9 +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index a9d0bdda6..0643097a6 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a5 -ENV PYTHON_SHA256 9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9 +ENV PYTHON_VERSION 3.15.0a6 +ENV PYTHON_SHA256 6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3 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/versions.json b/versions.json index 22097ecb0..14b8ba590 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "fee40da6450b67547c079dcb2852e8a03db6d57e06415466b2d3294449db22ef" + "sha256": "8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989" }, "windows": { - "sha256": "9cf3a702a049e3b8da1d05fc733415c6839f2c142d59ba1f5e89aa3c6520c2a9" + "sha256": "6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a5" + "version": "3.15.0a6" } } From e4727fdefd2cd6f2713e67ddc8f18ad7027245a3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Mon, 2 Mar 2026 18:49:11 -0800 Subject: [PATCH 30/76] Update 3.10 to 3.10.20 --- 3.10/alpine3.22/Dockerfile | 4 ++-- 3.10/alpine3.23/Dockerfile | 4 ++-- 3.10/bookworm/Dockerfile | 4 ++-- 3.10/slim-bookworm/Dockerfile | 4 ++-- 3.10/slim-trixie/Dockerfile | 4 ++-- 3.10/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.10/alpine3.22/Dockerfile b/3.10/alpine3.22/Dockerfile index 36c6bc92e..e3be8f98a 100644 --- a/3.10/alpine3.22/Dockerfile +++ b/3.10/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index c38dc49a3..79b0e3ec2 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index b9879f453..63792f437 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index e380e755a..bd2968c14 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index 54f9a5e59..f4c7fbb07 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index d39e2857e..edb9616d9 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.19 -ENV PYTHON_SHA256 c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076 +ENV PYTHON_VERSION 3.10.20 +ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 14b8ba590..a5ad72873 100644 --- a/versions.json +++ b/versions.json @@ -2,7 +2,7 @@ "3.10": { "checksums": { "source": { - "sha256": "c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076" + "sha256": "de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505" } }, "setuptools": { @@ -16,7 +16,7 @@ "alpine3.23", "alpine3.22" ], - "version": "3.10.19" + "version": "3.10.20" }, "3.11": { "checksums": { From c859f2b9e567f72c94e00c969f916d3f92ae52a7 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Mon, 2 Mar 2026 20:21:44 -0800 Subject: [PATCH 31/76] Update 3.11 to 3.11.15 --- 3.11/alpine3.22/Dockerfile | 4 ++-- 3.11/alpine3.23/Dockerfile | 4 ++-- 3.11/bookworm/Dockerfile | 4 ++-- 3.11/slim-bookworm/Dockerfile | 4 ++-- 3.11/slim-trixie/Dockerfile | 4 ++-- 3.11/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.11/alpine3.22/Dockerfile b/3.11/alpine3.22/Dockerfile index e580e4efb..d43ba24b8 100644 --- a/3.11/alpine3.22/Dockerfile +++ b/3.11/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index a83dd2e4d..9a4d0c7ad 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index a02baff26..2968b791e 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index c979c6419..db4b9d00b 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 6d346528c..2a24cfdf4 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index d9c93cb21..efd749b62 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.14 -ENV PYTHON_SHA256 8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78 +ENV PYTHON_VERSION 3.11.15 +ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index a5ad72873..7594dfb12 100644 --- a/versions.json +++ b/versions.json @@ -21,7 +21,7 @@ "3.11": { "checksums": { "source": { - "sha256": "8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78" + "sha256": "272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625" } }, "setuptools": { @@ -35,7 +35,7 @@ "alpine3.23", "alpine3.22" ], - "version": "3.11.14" + "version": "3.11.15" }, "3.12": { "checksums": { From 3362634339580d3232e65a66dd5a36c47ae7ff14 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 3 Mar 2026 06:49:17 -0800 Subject: [PATCH 32/76] Update 3.12 to 3.12.13 --- 3.12/alpine3.22/Dockerfile | 4 ++-- 3.12/alpine3.23/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 4 ++-- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.22/Dockerfile index 278eac91e..37c814fee 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.22/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 571036dfb..91342ac4d 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index 904b2b946..e84b5f8af 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index c8debe41a..7039a72d5 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index b9ff939e4..e9c8ec000 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index d2b592bae..683a96eb4 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.12 -ENV PYTHON_SHA256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 +ENV PYTHON_VERSION 3.12.13 +ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 7594dfb12..53bcfac81 100644 --- a/versions.json +++ b/versions.json @@ -40,7 +40,7 @@ "3.12": { "checksums": { "source": { - "sha256": "fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4" + "sha256": "c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684" } }, "variants": [ @@ -51,7 +51,7 @@ "alpine3.23", "alpine3.22" ], - "version": "3.12.12" + "version": "3.12.13" }, "3.13": { "checksums": { From 50e3f493467278f72b4d79e0d54a69711b1d7bcf Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 10 Mar 2026 07:49:28 -0700 Subject: [PATCH 33/76] Update 3.15-rc to 3.15.0a7 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 9a41b3ee7..2960eb96a 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index fd7b8883f..2c76b46a4 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 7bf819c77..61732936f 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 8a8505095..cbc3ffc49 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 9a60b4574..5c68c3841 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 785689ee1..46959be2a 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a6 -ENV PYTHON_SHA256 8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index a67adc5ac..62b571a30 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a6 -ENV PYTHON_SHA256 6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 0643097a6..16af096b2 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a6 -ENV PYTHON_SHA256 6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3 +ENV PYTHON_VERSION 3.15.0a7 +ENV PYTHON_SHA256 d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c 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/versions.json b/versions.json index 53bcfac81..22cd4c7cd 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "8e2a4e1b2afb93a84d659d431b1f384544b3da00a4b8ff5bf3580f07ad4ff989" + "sha256": "8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7" }, "windows": { - "sha256": "6ace2216361f81a286f5957f522e7a212f400ab3f2055f6aa1c84e605a5c55c3" + "sha256": "d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a6" + "version": "3.15.0a7" } } From 6cc07b27ad0df3769bbd1a2a1000a842634681d2 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 7 Apr 2026 13:49:25 -0700 Subject: [PATCH 34/76] Update 3.14 to 3.14.4 --- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 0c83b4535..e35cf38d9 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 739e4aa89..3b4640365 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 030ac52be..682968972 100644 --- a/3.14/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.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index dd2dbb6bf..466d4c886 100644 --- a/3.14/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.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index d9f37d851..3a619e2cc 100644 --- a/3.14/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.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 3771a8dce..c4d418952 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.3 -ENV PYTHON_SHA256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 0bbda7710..31c999e52 100644 --- a/3.14/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.3 -ENV PYTHON_SHA256 b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0 +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index ba13e8ef0..e12aa7bc0 100644 --- a/3.14/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.3 -ENV PYTHON_SHA256 b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0 +ENV PYTHON_VERSION 3.14.4 +ENV PYTHON_SHA256 b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b 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/versions.json b/versions.json index 22cd4c7cd..b9ebe9aad 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b" + "sha256": "d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8" }, "windows": { - "sha256": "b68ad91421afbbd1a628105199c8c5f6179b21ba799067a8d8c0bbac3b7defb0" + "sha256": "b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.3" + "version": "3.14.4" }, "3.15-rc": { "checksums": { From 858441ad34107c179c8b83c3e8e33f36ee509bcb Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 7 Apr 2026 15:25:39 -0700 Subject: [PATCH 35/76] Update 3.15-rc to 3.15.0a8 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 2960eb96a..85a6d83d6 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 2c76b46a4..5bf4d7371 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 61732936f..3f99ba88e 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index cbc3ffc49..b83e6ee46 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 5c68c3841..36dc3229b 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 46959be2a..9bfb87495 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a7 -ENV PYTHON_SHA256 8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7 +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 62b571a30..e4f25d4e3 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a7 -ENV PYTHON_SHA256 d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 16af096b2..52beaf9ec 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a7 -ENV PYTHON_SHA256 d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c +ENV PYTHON_VERSION 3.15.0a8 +ENV PYTHON_SHA256 ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5 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/versions.json b/versions.json index b9ebe9aad..f5edea79f 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "8f590c428b7f0d406df928b85737e7a3afa28eddd4d1419410ea809687ed1ea7" + "sha256": "28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69" }, "windows": { - "sha256": "d756f2fade118cf01bb7a0bc2bf0feb36fffee99ae92bb92b75a455d70fecb3c" + "sha256": "ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a7" + "version": "3.15.0a8" } } From ced4ac7ca9f8f8bdbb113f06fe02c42895875aa4 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 7 Apr 2026 19:49:26 -0700 Subject: [PATCH 36/76] Update 3.13 to 3.13.13 --- 3.13/alpine3.22/Dockerfile | 4 ++-- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.22/Dockerfile index 46edc2a72..886d59a79 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.22/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index e345da2a5..6505bf3e7 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 8af9bc3f2..7f51c6722 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index a591d854d..f3b5851c9 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index ed91c73d6..fc559c904 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index abd88f85c..ea7235eb8 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.12 -ENV PYTHON_SHA256 2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 683afe3c0..2d1524df7 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.12 -ENV PYTHON_SHA256 96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index 6df4dd864..7ef5895fb 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.12 -ENV PYTHON_SHA256 96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981 +ENV PYTHON_VERSION 3.13.13 +ENV PYTHON_SHA256 3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00 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/versions.json b/versions.json index f5edea79f..83f28174d 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "2a84cd31dd8d8ea8aaff75de66fc1b4b0127dd5799aa50a64ae9a313885b4593" + "sha256": "2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71" }, "windows": { - "sha256": "96159fcb523ae404b707186a75b4104ee23851e476a5e838e14584cf1e03f981" + "sha256": "3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.12" + "version": "3.13.13" }, "3.14": { "checksums": { From f181470d004208f54ca0ca5f0d1894ac45518788 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 7 May 2026 13:49:32 -0700 Subject: [PATCH 37/76] Update 3.15-rc to 3.15.0b1 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 85a6d83d6..83437a015 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 5bf4d7371..1b4dad77d 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 3f99ba88e..801dede2d 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index b83e6ee46..4d4d54d09 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 36dc3229b..4a2ac1afc 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 9bfb87495..9d0f49506 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0a8 -ENV PYTHON_SHA256 28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index e4f25d4e3..afdfc1a19 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0a8 -ENV PYTHON_SHA256 ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 52beaf9ec..b6cb97af0 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0a8 -ENV PYTHON_SHA256 ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5 +ENV PYTHON_VERSION 3.15.0b1 +ENV PYTHON_SHA256 de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957 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/versions.json b/versions.json index 83f28174d..20de68d9c 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "28f1b6358609042ebcc81488ec24569519f50804bb07dc23cc707b281b031c69" + "sha256": "d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c" }, "windows": { - "sha256": "ff7c6f5012cee08ed9a63fdfae4a3e22e927a32112de723b3777710a52391ea5" + "sha256": "de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0a8" + "version": "3.15.0b1" } } From 078b07840dfee55993c57dada1e5cf99ebd16dce Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Sun, 10 May 2026 07:49:27 -0700 Subject: [PATCH 38/76] Update 3.14 to 3.14.5 --- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index e35cf38d9..2d3671809 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 3b4640365..b85b88aeb 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 682968972..ce5caff27 100644 --- a/3.14/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.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index 466d4c886..f0f3b8f86 100644 --- a/3.14/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.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 3a619e2cc..f0df9e6fd 100644 --- a/3.14/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.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index c4d418952..0b8ebb4e0 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.4 -ENV PYTHON_SHA256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 31c999e52..739eac5c3 100644 --- a/3.14/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.4 -ENV PYTHON_SHA256 b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index e12aa7bc0..00143dfc5 100644 --- a/3.14/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.4 -ENV PYTHON_SHA256 b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b +ENV PYTHON_VERSION 3.14.5 +ENV PYTHON_SHA256 f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d 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/versions.json b/versions.json index 20de68d9c..63e8cdf5d 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8" + "sha256": "7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6" }, "windows": { - "sha256": "b571567bd11ea98fd7a2cf85791d2c8557a63b1e04e9d1dae665a275cac87f1b" + "sha256": "f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.4" + "version": "3.14.5" }, "3.15-rc": { "checksums": { From f53ba9b418f4959ab2c8672cf4a966675772800b Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 2 Jun 2026 13:49:28 -0700 Subject: [PATCH 39/76] Update 3.15-rc to 3.15.0b2 --- 3.15-rc/alpine3.22/Dockerfile | 4 ++-- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.22/Dockerfile index 83437a015..6dcf70638 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 1b4dad77d..9ce29ec77 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 801dede2d..cc87ddb04 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 4d4d54d09..7cd5e9c25 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 4a2ac1afc..d5ebe0ef7 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 9d0f49506..33599d5fa 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b1 -ENV PYTHON_SHA256 d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index afdfc1a19..492b71f45 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0b1 -ENV PYTHON_SHA256 de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957 +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index b6cb97af0..2bfd48fcd 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0b1 -ENV PYTHON_SHA256 de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957 +ENV PYTHON_VERSION 3.15.0b2 +ENV PYTHON_SHA256 f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89 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/versions.json b/versions.json index 63e8cdf5d..ff6d26c9d 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "d4d52ccfa1d727ef5235fbb7d70fa1dbacf10b8b3760db622875da05acbe437c" + "sha256": "d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71" }, "windows": { - "sha256": "de7f62783f765061c7e97ed7b30f780c3d15de5b3154e88b2f9cb92ce1df6957" + "sha256": "f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0b1" + "version": "3.15.0b2" } } From 7914d06b7ddb34b99975318016ab5b9c18264015 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 10 Jun 2026 07:49:26 -0700 Subject: [PATCH 40/76] Update 3.14 to 3.14.6 --- 3.14/alpine3.22/Dockerfile | 4 ++-- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.22/Dockerfile index 2d3671809..e5cbb3957 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.22/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index b85b88aeb..581312461 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index ce5caff27..9d7e3216d 100644 --- a/3.14/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.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index f0f3b8f86..e48f6fe70 100644 --- a/3.14/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.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index f0df9e6fd..1784e1880 100644 --- a/3.14/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.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 0b8ebb4e0..0f7714626 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.5 -ENV PYTHON_SHA256 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 739eac5c3..225b15840 100644 --- a/3.14/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.5 -ENV PYTHON_SHA256 f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index 00143dfc5..d66415097 100644 --- a/3.14/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.5 -ENV PYTHON_SHA256 f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d +ENV PYTHON_VERSION 3.14.6 +ENV PYTHON_SHA256 14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd 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/versions.json b/versions.json index ff6d26c9d..4941b038d 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6" + "sha256": "143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63" }, "windows": { - "sha256": "f9c09f5ed6f796fd1a8bc5ddfa41715a494b453c4781f0e35d5077cf9fa58f6d" + "sha256": "14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.5" + "version": "3.14.6" }, "3.15-rc": { "checksums": { From bb96c631cdae148eec0aca3fd0cbe15f485a61c2 Mon Sep 17 00:00:00 2001 From: Jenthe Noordsij Date: Wed, 10 Jun 2026 09:17:07 +0200 Subject: [PATCH 41/76] Add Alpine 3.24 and drop 3.22 --- 3.10/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- 3.11/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- 3.12/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- 3.13/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- 3.14/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- 3.15-rc/{alpine3.22 => alpine3.24}/Dockerfile | 2 +- versions.json | 18 +++++++++--------- versions.sh | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) rename 3.10/{alpine3.22 => alpine3.24}/Dockerfile (99%) rename 3.11/{alpine3.22 => alpine3.24}/Dockerfile (99%) rename 3.12/{alpine3.22 => alpine3.24}/Dockerfile (99%) rename 3.13/{alpine3.22 => alpine3.24}/Dockerfile (99%) rename 3.14/{alpine3.22 => alpine3.24}/Dockerfile (99%) rename 3.15-rc/{alpine3.22 => alpine3.24}/Dockerfile (99%) diff --git a/3.10/alpine3.22/Dockerfile b/3.10/alpine3.24/Dockerfile similarity index 99% rename from 3.10/alpine3.22/Dockerfile rename to 3.10/alpine3.24/Dockerfile index e3be8f98a..c124d2671 100644 --- a/3.10/alpine3.22/Dockerfile +++ b/3.10/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.11/alpine3.22/Dockerfile b/3.11/alpine3.24/Dockerfile similarity index 99% rename from 3.11/alpine3.22/Dockerfile rename to 3.11/alpine3.24/Dockerfile index d43ba24b8..2242114ab 100644 --- a/3.11/alpine3.22/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.12/alpine3.22/Dockerfile b/3.12/alpine3.24/Dockerfile similarity index 99% rename from 3.12/alpine3.22/Dockerfile rename to 3.12/alpine3.24/Dockerfile index 37c814fee..0cc30e764 100644 --- a/3.12/alpine3.22/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.13/alpine3.22/Dockerfile b/3.13/alpine3.24/Dockerfile similarity index 99% rename from 3.13/alpine3.22/Dockerfile rename to 3.13/alpine3.24/Dockerfile index 886d59a79..7869cdda1 100644 --- a/3.13/alpine3.22/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.14/alpine3.22/Dockerfile b/3.14/alpine3.24/Dockerfile similarity index 99% rename from 3.14/alpine3.22/Dockerfile rename to 3.14/alpine3.24/Dockerfile index e5cbb3957..3002c9b24 100644 --- a/3.14/alpine3.22/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/3.15-rc/alpine3.22/Dockerfile b/3.15-rc/alpine3.24/Dockerfile similarity index 99% rename from 3.15-rc/alpine3.22/Dockerfile rename to 3.15-rc/alpine3.24/Dockerfile index 6dcf70638..5a781b622 100644 --- a/3.15-rc/alpine3.22/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -4,7 +4,7 @@ # PLEASE DO NOT EDIT IT DIRECTLY. # -FROM alpine:3.22 +FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH diff --git a/versions.json b/versions.json index 4941b038d..33f30103e 100644 --- a/versions.json +++ b/versions.json @@ -13,8 +13,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.23", - "alpine3.22" + "alpine3.24", + "alpine3.23" ], "version": "3.10.20" }, @@ -32,8 +32,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.23", - "alpine3.22" + "alpine3.24", + "alpine3.23" ], "version": "3.11.15" }, @@ -48,8 +48,8 @@ "slim-trixie", "bookworm", "slim-bookworm", - "alpine3.23", - "alpine3.22" + "alpine3.24", + "alpine3.23" ], "version": "3.12.13" }, @@ -67,8 +67,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.24", "alpine3.23", - "alpine3.22", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], @@ -88,8 +88,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.24", "alpine3.23", - "alpine3.22", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], @@ -109,8 +109,8 @@ "slim-trixie", "bookworm", "slim-bookworm", + "alpine3.24", "alpine3.23", - "alpine3.22", "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], diff --git a/versions.sh b/versions.sh index 83885bdb4..750fe82d3 100755 --- a/versions.sh +++ b/versions.sh @@ -195,8 +195,8 @@ for version in "${versions[@]}"; do empty | ., "slim-" + .), # https://github.com/docker-library/ruby/pull/142#issuecomment-320012893 ( + "3.24", "3.23", - "3.22", empty | "alpine" + .), if env.hasWindows != "" then From f79aea5b8f6b2d65b31ba2bb3f69c0c2083345c8 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 10 Jun 2026 10:09:48 -0700 Subject: [PATCH 42/76] Update 3.13 to 3.13.14 --- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/alpine3.24/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 6505bf3e7..d33ca3cff 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 7869cdda1..33e8613b5 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 7f51c6722..ecb8c0bdd 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index f3b5851c9..e6eedf918 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index fc559c904..569efcb9a 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index ea7235eb8..ad7bb977b 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.13 -ENV PYTHON_SHA256 2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 2d1524df7..c3ca5b1e6 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.13 -ENV PYTHON_SHA256 3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index 7ef5895fb..fc69661cc 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.13 -ENV PYTHON_SHA256 3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00 +ENV PYTHON_VERSION 3.13.14 +ENV PYTHON_SHA256 c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0 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/versions.json b/versions.json index 33f30103e..69b72f314 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "2ab91ff401783ccca64f75d10c882e957bdfd60e2bf5a72f8421793729b78a71" + "sha256": "639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690" }, "windows": { - "sha256": "3c9c81d80f91c002ced86d645422d81432c68c7d9b6b0e974768ca2e449a4d00" + "sha256": "c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.13" + "version": "3.13.14" }, "3.14": { "checksums": { From 4d216ad3beb5b697c4049071c82fc375acb8abad Mon Sep 17 00:00:00 2001 From: Caleb Heinz Date: Mon, 15 Jun 2026 18:44:35 -0400 Subject: [PATCH 43/76] Pinning wheel at version 0.46.3 --- 3.10/alpine3.23/Dockerfile | 3 +-- 3.10/alpine3.24/Dockerfile | 3 +-- 3.10/bookworm/Dockerfile | 3 +-- 3.10/slim-bookworm/Dockerfile | 3 +-- 3.10/slim-trixie/Dockerfile | 3 +-- 3.10/trixie/Dockerfile | 3 +-- 3.11/alpine3.23/Dockerfile | 3 +-- 3.11/alpine3.24/Dockerfile | 3 +-- 3.11/bookworm/Dockerfile | 3 +-- 3.11/slim-bookworm/Dockerfile | 3 +-- 3.11/slim-trixie/Dockerfile | 3 +-- 3.11/trixie/Dockerfile | 3 +-- Dockerfile-linux.template | 3 +-- 13 files changed, 13 insertions(+), 26 deletions(-) diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index 79b0e3ec2..7fe5c7fda 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -123,8 +123,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.10/alpine3.24/Dockerfile b/3.10/alpine3.24/Dockerfile index c124d2671..4436b37a3 100644 --- a/3.10/alpine3.24/Dockerfile +++ b/3.10/alpine3.24/Dockerfile @@ -123,8 +123,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index 63792f437..3bfa6746b 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -96,8 +96,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index bd2968c14..4dcc7a0d2 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -130,8 +130,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index f4c7fbb07..5c77b6d1b 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -130,8 +130,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index edb9616d9..76ff93658 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -96,8 +96,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index 9a4d0c7ad..573f70d72 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -123,8 +123,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index 2242114ab..9d7bc1717 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -123,8 +123,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index 2968b791e..bd4ace5ce 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -96,8 +96,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index db4b9d00b..2d99f2a89 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -130,8 +130,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 2a24cfdf4..b6ebeb9b6 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -130,8 +130,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index efd749b62..0dba28083 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -96,8 +96,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ 'setuptools==79.0.1' \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ pip3 --version diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index 92cc4f2b5..bfbe644e3 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -323,8 +323,7 @@ RUN set -eux; \ --no-cache-dir \ --no-compile \ {{ "setuptools==\( .setuptools.version )" | @sh }} \ - # https://github.com/docker-library/python/issues/1023 - 'wheel<0.46' \ + 'wheel==0.46.3' \ ; \ {{ ) else "" end -}} pip3 --version From 4f07059567fa61c80397126e8063dbbde011b794 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 23 Jun 2026 07:49:27 -0700 Subject: [PATCH 44/76] Update 3.15-rc to 3.15.0b3 --- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/alpine3.24/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 9ce29ec77..75350b418 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index 5a781b622..659871464 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index cc87ddb04..17fd89898 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 7cd5e9c25..ecc0293d3 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index d5ebe0ef7..caa156e38 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 33599d5fa..b521d11be 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b2 -ENV PYTHON_SHA256 d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 492b71f45..5601c4c52 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0b2 -ENV PYTHON_SHA256 f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 2bfd48fcd..9ee5180ad 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0b2 -ENV PYTHON_SHA256 f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89 +ENV PYTHON_VERSION 3.15.0b3 +ENV PYTHON_SHA256 8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38 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/versions.json b/versions.json index 69b72f314..163c15711 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71" + "sha256": "6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127" }, "windows": { - "sha256": "f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89" + "sha256": "8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0b2" + "version": "3.15.0b3" } } From f3d4e7c4e6d553fa55e9a95871d8ee4bf9d814f8 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Sat, 18 Jul 2026 07:49:25 -0700 Subject: [PATCH 45/76] Update 3.15-rc to 3.15.0b4 --- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/alpine3.24/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 75350b418..3fcdc1b98 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index 659871464..516793931 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 17fd89898..4b1b713d4 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index ecc0293d3..edd8f61c6 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index caa156e38..15efa5a60 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index b521d11be..96ae88000 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b3 -ENV PYTHON_SHA256 6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 5601c4c52..49013ed57 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0b3 -ENV PYTHON_SHA256 8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 9ee5180ad..ecc5cc890 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0b3 -ENV PYTHON_SHA256 8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38 +ENV PYTHON_VERSION 3.15.0b4 +ENV PYTHON_SHA256 56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295 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/versions.json b/versions.json index 163c15711..a7fa6ce21 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "6a935ae234a67e6549894373b0cfeb8361182d03b21442328ae9598ab7422127" + "sha256": "93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a" }, "windows": { - "sha256": "8002dbdf7277964a3c50f5deef090dfcd0769647a35aec97999f63d5f2903d38" + "sha256": "56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0b3" + "version": "3.15.0b4" } } From e34bccdb4a8d9590e0cb76483fa6289ba8097e21 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 3 Aug 2026 16:29:07 -0700 Subject: [PATCH 46/76] Remove mips64le special case This architecture is no longer supported by the base images (or the DOI program). --- generate-stackbrew-library.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index cf95fe839..7f8bf34ab 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -136,9 +136,6 @@ for version; do ;; esac - # https://github.com/python/cpython/issues/93619 (Linking error when building 3.11 beta on mips64le) + https://peps.python.org/pep-0011/ (mips is not even tier 3) - variantArches="$(sed <<<" $variantArches " -e 's/ mips64le / /g')" - sharedTags=() for windowsShared in windowsservercore nanoserver; do if [[ "$variant" == "$windowsShared"* ]]; then From 9950175fe6f74b450230a95a31d7afca1adfbce7 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 4 Aug 2026 07:49:28 -0700 Subject: [PATCH 47/76] Update 3.15-rc to 3.15.0rc1 --- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/alpine3.24/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 3fcdc1b98..5a597b9bf 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index 516793931..404482b04 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 4b1b713d4..2d1b9b773 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index edd8f61c6..d5687dcd0 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 15efa5a60..fe1884ea2 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 96ae88000..84ee01557 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0b4 -ENV PYTHON_SHA256 93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index 49013ed57..de5b67d4f 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0b4 -ENV PYTHON_SHA256 56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295 +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index ecc5cc890..d5030935a 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0b4 -ENV PYTHON_SHA256 56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295 +ENV PYTHON_VERSION 3.15.0rc1 +ENV PYTHON_SHA256 be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e 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/versions.json b/versions.json index a7fa6ce21..5ab131e88 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "93efb9c88d7b6633368e7f7b8f8db6e98988f7f761c09b77849447262841ce3a" + "sha256": "f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07" }, "windows": { - "sha256": "56387cf17effe4ae5464c3af0fa2f74758cbfaddcd1d30b0dd29afdf0e5b4295" + "sha256": "be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0b4" + "version": "3.15.0rc1" } } From 228f71e70a42ba9f9a092321b971031603bb88ff Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 5 Aug 2026 07:49:26 -0700 Subject: [PATCH 48/76] Update 3.14 to 3.14.7 --- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/alpine3.24/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 581312461..d4270fd74 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index 3002c9b24..4b66c5394 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 9d7e3216d..78eae81bb 100644 --- a/3.14/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.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index e48f6fe70..dc0def7c0 100644 --- a/3.14/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.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 1784e1880..3b629a4f5 100644 --- a/3.14/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.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 0f7714626..fec591465 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.6 -ENV PYTHON_SHA256 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 225b15840..53212b7ad 100644 --- a/3.14/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.6 -ENV PYTHON_SHA256 14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index d66415097..60eedcf4b 100644 --- a/3.14/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.6 -ENV PYTHON_SHA256 14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd +ENV PYTHON_VERSION 3.14.7 +ENV PYTHON_SHA256 9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649 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/versions.json b/versions.json index 5ab131e88..a6c28c64f 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63" + "sha256": "3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81" }, "windows": { - "sha256": "14b3e9a710a3fcf0bd9b55ab6b60412bd91227563f813fc49040cabc0209e0bd" + "sha256": "9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.6" + "version": "3.14.7" }, "3.15-rc": { "checksums": { From 3cb2fbae63fab2184343a01e4bd63a7540462999 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 5 Aug 2026 13:49:27 -0700 Subject: [PATCH 49/76] Update 3.13 to 3.13.15 --- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/alpine3.24/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index d33ca3cff..a5701f2d7 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 33e8613b5..668ec2e33 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index ecb8c0bdd..9c16ceb2a 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index e6eedf918..10427de90 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 569efcb9a..9d427cdab 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index ad7bb977b..77eca7b3f 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.14 -ENV PYTHON_SHA256 639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index c3ca5b1e6..485f15fa4 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.14 -ENV PYTHON_SHA256 c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index fc69661cc..784cd845e 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.14 -ENV PYTHON_SHA256 c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0 +ENV PYTHON_VERSION 3.13.15 +ENV PYTHON_SHA256 edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403 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/versions.json b/versions.json index a6c28c64f..65e1d77f8 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690" + "sha256": "1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76" }, "windows": { - "sha256": "c54d9b9bbb8a36e6489363ddd01139707fd781d72f1f9e90c7ec65d0061368e0" + "sha256": "edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.14" + "version": "3.13.15" }, "3.14": { "checksums": { From c6f8aefd7764bf9943d8ecb62696666503514b34 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 12 Aug 2026 19:49:11 -0700 Subject: [PATCH 50/76] Update 3.10 to 3.10.21 --- 3.10/alpine3.23/Dockerfile | 4 ++-- 3.10/alpine3.24/Dockerfile | 4 ++-- 3.10/bookworm/Dockerfile | 4 ++-- 3.10/slim-bookworm/Dockerfile | 4 ++-- 3.10/slim-trixie/Dockerfile | 4 ++-- 3.10/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index 7fe5c7fda..3f889862e 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/3.10/alpine3.24/Dockerfile b/3.10/alpine3.24/Dockerfile index 4436b37a3..076497899 100644 --- a/3.10/alpine3.24/Dockerfile +++ b/3.10/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index 3bfa6746b..3fdcaec59 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index 4dcc7a0d2..20b354403 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index 5c77b6d1b..1f78f4950 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index 76ff93658..203d4a141 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.20 -ENV PYTHON_SHA256 de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505 +ENV PYTHON_VERSION 3.10.21 +ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 65e1d77f8..23d86e23b 100644 --- a/versions.json +++ b/versions.json @@ -2,7 +2,7 @@ "3.10": { "checksums": { "source": { - "sha256": "de6517421601e39a9a3bc3e1bc4c7b2f239297423ee05e282598c83ec0647505" + "sha256": "a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04" } }, "setuptools": { @@ -16,7 +16,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.10.20" + "version": "3.10.21" }, "3.11": { "checksums": { From fe89472bda6128fef7e964d1f1991534e32dcfb7 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 12 Aug 2026 21:09:47 -0700 Subject: [PATCH 51/76] Update 3.11 to 3.11.16 --- 3.11/alpine3.23/Dockerfile | 4 ++-- 3.11/alpine3.24/Dockerfile | 4 ++-- 3.11/bookworm/Dockerfile | 4 ++-- 3.11/slim-bookworm/Dockerfile | 4 ++-- 3.11/slim-trixie/Dockerfile | 4 ++-- 3.11/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index 573f70d72..e694294b6 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index 9d7bc1717..cdf83c9a1 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index bd4ace5ce..1f73dbc36 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index 2d99f2a89..a08eaead0 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index b6ebeb9b6..88903017b 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index 0dba28083..bd3b8e305 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.15 -ENV PYTHON_SHA256 272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625 +ENV PYTHON_VERSION 3.11.16 +ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 23d86e23b..7d44e0c15 100644 --- a/versions.json +++ b/versions.json @@ -21,7 +21,7 @@ "3.11": { "checksums": { "source": { - "sha256": "272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625" + "sha256": "91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8" } }, "setuptools": { @@ -35,7 +35,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.11.15" + "version": "3.11.16" }, "3.12": { "checksums": { From f2c5d1b8a6adecb5b00b3c9331d4f863beade6b3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 12 Aug 2026 23:05:22 -0700 Subject: [PATCH 52/76] Update 3.12 to 3.12.14 --- 3.12/alpine3.23/Dockerfile | 4 ++-- 3.12/alpine3.24/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 4 ++-- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 91342ac4d..3b8920894 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/3.12/alpine3.24/Dockerfile b/3.12/alpine3.24/Dockerfile index 0cc30e764..06caed6d1 100644 --- a/3.12/alpine3.24/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index e84b5f8af..631a071df 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 7039a72d5..05b4b6259 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index e9c8ec000..192e5cef9 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index 683a96eb4..bf8484199 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.13 -ENV PYTHON_SHA256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 +ENV PYTHON_VERSION 3.12.14 +ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 7d44e0c15..c4a39dd53 100644 --- a/versions.json +++ b/versions.json @@ -40,7 +40,7 @@ "3.12": { "checksums": { "source": { - "sha256": "c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684" + "sha256": "5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a" } }, "variants": [ @@ -51,7 +51,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.12.13" + "version": "3.12.14" }, "3.13": { "checksums": { From 688a0b86bb44289df16a363e9f41d90514c1a5f9 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Fri, 28 Aug 2026 10:45:39 -0700 Subject: [PATCH 53/76] Add g++ to fix extension builds --- 3.10/alpine3.23/Dockerfile | 1 + 3.10/alpine3.24/Dockerfile | 1 + 3.10/slim-bookworm/Dockerfile | 1 + 3.10/slim-trixie/Dockerfile | 1 + 3.11/alpine3.23/Dockerfile | 1 + 3.11/alpine3.24/Dockerfile | 1 + 3.11/slim-bookworm/Dockerfile | 1 + 3.11/slim-trixie/Dockerfile | 1 + 3.12/alpine3.23/Dockerfile | 1 + 3.12/alpine3.24/Dockerfile | 1 + 3.12/slim-bookworm/Dockerfile | 1 + 3.12/slim-trixie/Dockerfile | 1 + 3.13/alpine3.23/Dockerfile | 1 + 3.13/alpine3.24/Dockerfile | 1 + 3.13/slim-bookworm/Dockerfile | 1 + 3.13/slim-trixie/Dockerfile | 1 + 3.14/alpine3.23/Dockerfile | 1 + 3.14/alpine3.24/Dockerfile | 1 + 3.14/slim-bookworm/Dockerfile | 1 + 3.14/slim-trixie/Dockerfile | 1 + 3.15-rc/alpine3.23/Dockerfile | 1 + 3.15-rc/alpine3.24/Dockerfile | 1 + 3.15-rc/slim-bookworm/Dockerfile | 1 + 3.15-rc/slim-trixie/Dockerfile | 1 + Dockerfile-linux.template | 2 ++ 25 files changed, 26 insertions(+) diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index 3f889862e..802ff3d0c 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.10/alpine3.24/Dockerfile b/3.10/alpine3.24/Dockerfile index 076497899..a861dab35 100644 --- a/3.10/alpine3.24/Dockerfile +++ b/3.10/alpine3.24/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index 20b354403..15fe53a14 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index 1f78f4950..d3028d39a 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index e694294b6..c247bc08d 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index cdf83c9a1..3e539dfd8 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index a08eaead0..e2581bc01 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 88903017b..eda5a90fd 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 3b8920894..1c0641046 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.12/alpine3.24/Dockerfile b/3.12/alpine3.24/Dockerfile index 06caed6d1..50fae0e77 100644 --- a/3.12/alpine3.24/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -32,6 +32,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 05b4b6259..316f39f68 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index 192e5cef9..ebb0864ce 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index a5701f2d7..c3ac21989 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -27,6 +27,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 668ec2e33..1977444e3 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -27,6 +27,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index 10427de90..8115f6374 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -29,6 +29,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 9d427cdab..540d7f33e 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -29,6 +29,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index d4270fd74..e6869b622 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -26,6 +26,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index 4b66c5394..8e7a922a8 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -26,6 +26,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index dc0def7c0..df2dff460 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -28,6 +28,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 3b629a4f5..9a1ba78fe 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -28,6 +28,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 5a597b9bf..34a18526c 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -26,6 +26,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index 404482b04..87b00f4c4 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -26,6 +26,7 @@ RUN set -eux; \ bzip2-dev \ dpkg-dev dpkg \ findutils \ + g++ \ gcc \ gdbm-dev \ gnupg \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index d5687dcd0..930dc660a 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -28,6 +28,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index fe1884ea2..ec3381ce4 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -28,6 +28,7 @@ RUN set -eux; \ apt-get update; \ apt-get install -y --no-install-recommends \ dpkg-dev \ + g++ \ gcc \ gnupg \ libbluetooth-dev \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index bfbe644e3..1cdb3dbe1 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -98,6 +98,7 @@ RUN set -eux; \ "bzip2-dev", "dpkg-dev dpkg", "findutils", + "g++", "gcc", "gdbm-dev", "gnupg", @@ -127,6 +128,7 @@ RUN set -eux; \ else if is_slim then "dpkg-dev", + "g++", "gcc", "gnupg", "libbluetooth-dev", From 8f2cb2e1c9cae4d8f772fe61f1427c96acea3257 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 1 Sep 2026 07:49:30 -0700 Subject: [PATCH 54/76] Update 3.15-rc to 3.15.0rc2 --- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/alpine3.24/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 34a18526c..66561ecdd 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index 87b00f4c4..f4c65cf98 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 2d1b9b773..85f71b573 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index 930dc660a..fb761d58f 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index ec3381ce4..8ea27b1fb 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index 84ee01557..aaf226fbe 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc1 -ENV PYTHON_SHA256 f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07 +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index de5b67d4f..a06ac23be 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0rc1 -ENV PYTHON_SHA256 be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index d5030935a..62f941226 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0rc1 -ENV PYTHON_SHA256 be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e +ENV PYTHON_VERSION 3.15.0rc2 +ENV PYTHON_SHA256 a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da 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/versions.json b/versions.json index c4a39dd53..551ec1735 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07" + "sha256": "8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7" }, "windows": { - "sha256": "be7efa348927146eec51e3f8fd8381a92882ff6e4275c7a2fe003624719e6e5e" + "sha256": "a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0rc1" + "version": "3.15.0rc2" } } From 31a6d5e069fd199a791d183071ef75d3c17e3cd3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 30 Sep 2026 19:49:10 -0700 Subject: [PATCH 55/76] Update 3.10 to 3.10.22 --- 3.10/alpine3.23/Dockerfile | 4 ++-- 3.10/alpine3.24/Dockerfile | 4 ++-- 3.10/bookworm/Dockerfile | 4 ++-- 3.10/slim-bookworm/Dockerfile | 4 ++-- 3.10/slim-trixie/Dockerfile | 4 ++-- 3.10/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile index 802ff3d0c..286a7df68 100644 --- a/3.10/alpine3.23/Dockerfile +++ b/3.10/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/3.10/alpine3.24/Dockerfile b/3.10/alpine3.24/Dockerfile index a861dab35..2aa44468b 100644 --- a/3.10/alpine3.24/Dockerfile +++ b/3.10/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile index 3fdcaec59..73fa701de 100644 --- a/3.10/bookworm/Dockerfile +++ b/3.10/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile index 15fe53a14..965c3ed1d 100644 --- a/3.10/slim-bookworm/Dockerfile +++ b/3.10/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile index d3028d39a..558259665 100644 --- a/3.10/slim-trixie/Dockerfile +++ b/3.10/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile index 203d4a141..d0735361a 100644 --- a/3.10/trixie/Dockerfile +++ b/3.10/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.21 -ENV PYTHON_SHA256 a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04 +ENV PYTHON_VERSION 3.10.22 +ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 551ec1735..54a5b4323 100644 --- a/versions.json +++ b/versions.json @@ -2,7 +2,7 @@ "3.10": { "checksums": { "source": { - "sha256": "a0da1e72132e950154eca0f6f47d5db828454700de20e5113667940d81e0db04" + "sha256": "c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543" } }, "setuptools": { @@ -16,7 +16,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.10.21" + "version": "3.10.22" }, "3.11": { "checksums": { From cede844ace77284e32c03b61ebc35cdfc945e862 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 30 Sep 2026 21:00:55 -0700 Subject: [PATCH 56/76] Update 3.11 to 3.11.17 --- 3.11/alpine3.23/Dockerfile | 4 ++-- 3.11/alpine3.24/Dockerfile | 4 ++-- 3.11/bookworm/Dockerfile | 4 ++-- 3.11/slim-bookworm/Dockerfile | 4 ++-- 3.11/slim-trixie/Dockerfile | 4 ++-- 3.11/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index c247bc08d..21fd4c70c 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index 3e539dfd8..76e41d417 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index 1f73dbc36..106e28002 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index e2581bc01..6fc35c4d5 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index eda5a90fd..3629f7644 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index bd3b8e305..d90fb640a 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.16 -ENV PYTHON_SHA256 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8 +ENV PYTHON_VERSION 3.11.17 +ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 54a5b4323..25d45b0c0 100644 --- a/versions.json +++ b/versions.json @@ -21,7 +21,7 @@ "3.11": { "checksums": { "source": { - "sha256": "91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8" + "sha256": "bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599" } }, "setuptools": { @@ -35,7 +35,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.11.16" + "version": "3.11.17" }, "3.12": { "checksums": { From 2a3b794c223ab067d122719541cdd54a068732a5 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 30 Sep 2026 22:36:24 -0700 Subject: [PATCH 57/76] Update 3.12 to 3.12.15 --- 3.12/alpine3.23/Dockerfile | 4 ++-- 3.12/alpine3.24/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 4 ++-- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 1c0641046..0379fb14b 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/3.12/alpine3.24/Dockerfile b/3.12/alpine3.24/Dockerfile index 50fae0e77..9470bbab6 100644 --- a/3.12/alpine3.24/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -22,8 +22,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index 631a071df..a580001dd 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 316f39f68..0658ea6df 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index ebb0864ce..b184625b8 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index bf8484199..409c1452c 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.14 -ENV PYTHON_SHA256 5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a +ENV PYTHON_VERSION 3.12.15 +ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 25d45b0c0..ded64885b 100644 --- a/versions.json +++ b/versions.json @@ -40,7 +40,7 @@ "3.12": { "checksums": { "source": { - "sha256": "5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a" + "sha256": "c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a" } }, "variants": [ @@ -51,7 +51,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.12.14" + "version": "3.12.15" }, "3.13": { "checksums": { From d2a898cb88e46203577eabc62cdcf6e92aaee176 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 1 Oct 2026 00:20:47 -0700 Subject: [PATCH 58/76] Update 3.13 to 3.13.16 --- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/alpine3.24/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index c3ac21989..cc0403135 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 1977444e3..44d4e6a1e 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 9c16ceb2a..5839bd33b 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index 8115f6374..e45bce987 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 540d7f33e..53cadb612 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 77eca7b3f..74720d998 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.15 -ENV PYTHON_SHA256 1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 485f15fa4..7a0b4ad46 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.15 -ENV PYTHON_SHA256 edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index 784cd845e..b50614f59 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.15 -ENV PYTHON_SHA256 edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403 +ENV PYTHON_VERSION 3.13.16 +ENV PYTHON_SHA256 fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b 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/versions.json b/versions.json index ded64885b..6579a5171 100644 --- a/versions.json +++ b/versions.json @@ -56,10 +56,10 @@ "3.13": { "checksums": { "source": { - "sha256": "1e66a7945a48390ee4c2a4268a0e4185884059a13c4aab6d148aa208deea4a76" + "sha256": "f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d" }, "windows": { - "sha256": "edec09c4853aeae9ac36efb8c9f95b6b8e2fee65eee56d9767a8b7c69c574403" + "sha256": "fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b" } }, "variants": [ @@ -72,7 +72,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.15" + "version": "3.13.16" }, "3.14": { "checksums": { From 7cc547b3ff8d45d540cd23144227af126a79d60c Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 1 Oct 2026 02:14:17 -0700 Subject: [PATCH 59/76] Update 3.14 to 3.14.8 --- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/alpine3.24/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index e6869b622..cf636572f 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index 8e7a922a8..fa9425a50 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 78eae81bb..6536a6dfa 100644 --- a/3.14/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.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index df2dff460..b97aa049f 100644 --- a/3.14/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.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 9a1ba78fe..a25f41540 100644 --- a/3.14/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.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index fec591465..56375fb42 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.7 -ENV PYTHON_SHA256 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 53212b7ad..6cc5ae63b 100644 --- a/3.14/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.7 -ENV PYTHON_SHA256 9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index 60eedcf4b..fea2c978d 100644 --- a/3.14/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.7 -ENV PYTHON_SHA256 9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649 +ENV PYTHON_VERSION 3.14.8 +ENV PYTHON_SHA256 759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef 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/versions.json b/versions.json index 6579a5171..37c43e2a3 100644 --- a/versions.json +++ b/versions.json @@ -77,10 +77,10 @@ "3.14": { "checksums": { "source": { - "sha256": "3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81" + "sha256": "c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73" }, "windows": { - "sha256": "9d9eb2709ef81bf5cd30db3c2096bdbc4ea10087c22e62f27d356b36f6ae9649" + "sha256": "759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef" } }, "variants": [ @@ -93,7 +93,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.7" + "version": "3.14.8" }, "3.15-rc": { "checksums": { From 109436bfb53652160f97f26604155a4190b088e1 Mon Sep 17 00:00:00 2001 From: Jenthe Noordsij Date: Thu, 1 Oct 2026 12:45:47 +0200 Subject: [PATCH 60/76] Drop Python 3.10 (EOL) --- 3.10/alpine3.23/Dockerfile | 140 -------------------------------- 3.10/alpine3.24/Dockerfile | 140 -------------------------------- 3.10/bookworm/Dockerfile | 112 -------------------------- 3.10/slim-bookworm/Dockerfile | 147 ---------------------------------- 3.10/slim-trixie/Dockerfile | 147 ---------------------------------- 3.10/trixie/Dockerfile | 112 -------------------------- Dockerfile-linux.template | 14 ++-- versions.json | 19 ----- versions.sh | 2 +- 9 files changed, 6 insertions(+), 827 deletions(-) delete mode 100644 3.10/alpine3.23/Dockerfile delete mode 100644 3.10/alpine3.24/Dockerfile delete mode 100644 3.10/bookworm/Dockerfile delete mode 100644 3.10/slim-bookworm/Dockerfile delete mode 100644 3.10/slim-trixie/Dockerfile delete mode 100644 3.10/trixie/Dockerfile diff --git a/3.10/alpine3.23/Dockerfile b/3.10/alpine3.23/Dockerfile deleted file mode 100644 index 286a7df68..000000000 --- a/3.10/alpine3.23/Dockerfile +++ /dev/null @@ -1,140 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.23 - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apk add --no-cache \ - ca-certificates \ - tzdata \ - ; - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - apk add --no-cache --virtual .build-deps \ - bluez-dev \ - bzip2-dev \ - dpkg-dev dpkg \ - findutils \ - g++ \ - gcc \ - gdbm-dev \ - gnupg \ - libc-dev \ - libffi-dev \ - libnsl-dev \ - libtirpc-dev \ - linux-headers \ - make \ - ncurses-dev \ - openssl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tar \ - tcl-dev \ - tk \ - tk-dev \ - util-linux-dev \ - xz \ - xz-dev \ - zlib-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ -# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() -# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 - EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ - | tr ',' '\n' \ - | sort -u \ - | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ - | xargs -rt apk add --no-network --virtual .python-rundeps \ - ; \ - apk del --no-network .build-deps; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.10/alpine3.24/Dockerfile b/3.10/alpine3.24/Dockerfile deleted file mode 100644 index 2aa44468b..000000000 --- a/3.10/alpine3.24/Dockerfile +++ /dev/null @@ -1,140 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM alpine:3.24 - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apk add --no-cache \ - ca-certificates \ - tzdata \ - ; - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - apk add --no-cache --virtual .build-deps \ - bluez-dev \ - bzip2-dev \ - dpkg-dev dpkg \ - findutils \ - g++ \ - gcc \ - gdbm-dev \ - gnupg \ - libc-dev \ - libffi-dev \ - libnsl-dev \ - libtirpc-dev \ - linux-headers \ - make \ - ncurses-dev \ - openssl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tar \ - tcl-dev \ - tk \ - tk-dev \ - util-linux-dev \ - xz \ - xz-dev \ - zlib-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ -# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() -# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 - EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ - LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ - | tr ',' '\n' \ - | sort -u \ - | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ - | xargs -rt apk add --no-network --virtual .python-rundeps \ - ; \ - apk del --no-network .build-deps; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.10/bookworm/Dockerfile b/3.10/bookworm/Dockerfile deleted file mode 100644 index 73fa701de..000000000 --- a/3.10/bookworm/Dockerfile +++ /dev/null @@ -1,112 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:bookworm - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libbluetooth-dev \ - tk-dev \ - uuid-dev \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ -# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 - bin="$(readlink -ve /usr/local/bin/python3)"; \ - dir="$(dirname "$bin")"; \ - mkdir -p "/usr/share/gdb/auto-load/$dir"; \ - cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.10/slim-bookworm/Dockerfile b/3.10/slim-bookworm/Dockerfile deleted file mode 100644 index 965c3ed1d..000000000 --- a/3.10/slim-bookworm/Dockerfile +++ /dev/null @@ -1,147 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:bookworm-slim - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - netbase \ - tzdata \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - dpkg-dev \ - g++ \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.10/slim-trixie/Dockerfile b/3.10/slim-trixie/Dockerfile deleted file mode 100644 index 558259665..000000000 --- a/3.10/slim-trixie/Dockerfile +++ /dev/null @@ -1,147 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:trixie-slim - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - netbase \ - tzdata \ - ; \ - apt-get dist-clean - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - dpkg-dev \ - g++ \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - apt-get dist-clean; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.10/trixie/Dockerfile b/3.10/trixie/Dockerfile deleted file mode 100644 index d0735361a..000000000 --- a/3.10/trixie/Dockerfile +++ /dev/null @@ -1,112 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:trixie - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed -# last attempted removal of LANG broke many users: -# https://github.com/docker-library/python/pull/570 -ENV LANG C.UTF-8 - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libbluetooth-dev \ - tk-dev \ - uuid-dev \ - ; \ - apt-get dist-clean - -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.10.22 -ENV PYTHON_SHA256 c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543 - -RUN set -eux; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ - GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \ - gpg --batch --verify python.tar.xz.asc python.tar.xz; \ - gpgconf --kill all; \ - rm -rf "$GNUPGHOME" python.tar.xz.asc; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ -# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 - bin="$(readlink -ve /usr/local/bin/python3)"; \ - dir="$(dirname "$bin")"; \ - mkdir -p "/usr/share/gdb/auto-load/$dir"; \ - cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - \ - pip3 install \ - --disable-pip-version-check \ - --no-cache-dir \ - --no-compile \ - 'setuptools==79.0.1' \ - 'wheel==0.46.3' \ - ; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index 1cdb3dbe1..b3f9886d4 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -25,7 +25,7 @@ FROM buildpack-deps:{{ env.variant }} # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH -{{ if rcVersion | IN("3.10", "3.11", "3.12") then ( -}} +{{ if rcVersion | IN("3.11", "3.12") then ( -}} {{ # only set LANG on versions less than 3.13 -}} # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed # last attempted removal of LANG broke many users: @@ -62,15 +62,11 @@ RUN set -eux; \ # https://github.com/docker-library/python/issues/977 # https://peps.python.org/pep-0761/ # https://discuss.python.org/t/pep-761-deprecating-pgp-signatures-for-cpython-artifacts/67180 - rcVersion | IN("3.10", "3.11", "3.12", "3.13") + rcVersion | IN("3.11", "3.12", "3.13") -}} {{ if should_pgp then ( -}} ENV GPG_KEY {{ { - # gpg: key 64E628F8D684696D: public key "Pablo Galindo Salgado " imported - "3.10": "A035C8C19219BA821ECEA86B64E628F8D684696D", - # https://peps.python.org/pep-0619/#release-manager-and-crew - # gpg: key 64E628F8D684696D: public key "Pablo Galindo Salgado " imported "3.11": "A035C8C19219BA821ECEA86B64E628F8D684696D", # https://peps.python.org/pep-0664/#release-manager-and-crew @@ -121,7 +117,7 @@ RUN set -eux; \ "xz", "xz-dev", "zlib-dev", - if IN(env.version; "3.10", "3.11", "3.12", "3.13") then empty else + if IN(env.version; "3.11", "3.12", "3.13") then empty else "zstd-dev" end, empty @@ -150,7 +146,7 @@ RUN set -eux; \ "zlib1g-dev", empty else empty end, - if IN(env.version; "3.10", "3.11", "3.12", "3.13") then empty else + if IN(env.version; "3.11", "3.12", "3.13") then empty else "libzstd-dev" end, empty @@ -223,7 +219,7 @@ RUN set -eux; \ {{ ) else "" end -}} {{ # Enabling frame-pointers only makes sense for Python 3.12 and newer as those have perf profiler support - if rcVersion | IN("3.10", "3.11") then "" else ( + if rcVersion | IN("3.11") then "" else ( -}} {{ if is_alpine then ( -}} arch="$(apk --print-arch)"; \ diff --git a/versions.json b/versions.json index 37c43e2a3..c6f498b82 100644 --- a/versions.json +++ b/versions.json @@ -1,23 +1,4 @@ { - "3.10": { - "checksums": { - "source": { - "sha256": "c61fe9b1a1a7ec2a0b0388e664187c378a5325a89e3606d220abf5bdfccb2543" - } - }, - "setuptools": { - "version": "79.0.1" - }, - "variants": [ - "trixie", - "slim-trixie", - "bookworm", - "slim-bookworm", - "alpine3.24", - "alpine3.23" - ], - "version": "3.10.22" - }, "3.11": { "checksums": { "source": { diff --git a/versions.sh b/versions.sh index 750fe82d3..ea74dd774 100755 --- a/versions.sh +++ b/versions.sh @@ -162,7 +162,7 @@ for version in "${versions[@]}"; do # TODO remove setuptools version handling entirely once Python 3.11 is EOL setuptoolsVersion="$(sed -nre 's/^_SETUPTOOLS_VERSION[[:space:]]*=[[:space:]]*"(.*?)".*/\1/p' <<<"$ensurepipVersions")" case "$rcVersion" in - 3.10 | 3.11) + 3.11) if [ -z "$setuptoolsVersion" ]; then echo >&2 "error: $version: missing setuptools version" exit 1 From 496ece1bae134063d73efab7ac8cf265fcb855fa Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 2 Oct 2026 19:49:25 -0700 Subject: [PATCH 61/76] Update 3.15-rc to 3.15.0rc3 --- 3.15-rc/alpine3.23/Dockerfile | 4 ++-- 3.15-rc/alpine3.24/Dockerfile | 4 ++-- 3.15-rc/bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-bookworm/Dockerfile | 4 ++-- 3.15-rc/slim-trixie/Dockerfile | 4 ++-- 3.15-rc/trixie/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15-rc/alpine3.23/Dockerfile index 66561ecdd..90f3ce75e 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15-rc/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15-rc/alpine3.24/Dockerfile index f4c65cf98..640a78fee 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15-rc/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15-rc/bookworm/Dockerfile index 85f71b573..cbcf9bcb9 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15-rc/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15-rc/slim-bookworm/Dockerfile index fb761d58f..d70588490 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15-rc/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15-rc/slim-trixie/Dockerfile index 8ea27b1fb..7d1f05ecd 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15-rc/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15-rc/trixie/Dockerfile index aaf226fbe..cfdde4f4b 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15-rc/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc2 -ENV PYTHON_SHA256 8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7 +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile index a06ac23be..ec7ecbcb1 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15-rc/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.15.0rc2 -ENV PYTHON_SHA256 a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile index 62f941226..be8f11790 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15-rc/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.15.0rc2 -ENV PYTHON_SHA256 a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da +ENV PYTHON_VERSION 3.15.0rc3 +ENV PYTHON_SHA256 b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de 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/versions.json b/versions.json index 37c43e2a3..da38dd969 100644 --- a/versions.json +++ b/versions.json @@ -98,10 +98,10 @@ "3.15-rc": { "checksums": { "source": { - "sha256": "8d93af5eaaaea5adfd41bd786a7ba3f03f2ad1ab57c6a65e0b963deab91d5ad7" + "sha256": "506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49" }, "windows": { - "sha256": "a74bf15b3184ea885d39b4eb9b6fc4ac0a696d7bb605d879c024af4433fa72da" + "sha256": "b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de" } }, "variants": [ @@ -114,6 +114,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0rc2" + "version": "3.15.0rc3" } } From 8d16399b7cb34ec79bf73aed3176ed351d156502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Mon, 12 Oct 2026 12:22:54 -0600 Subject: [PATCH 62/76] Add Python 3.15 GA release (#1134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Edgar Ramírez Mondragón --- {3.15-rc => 3.15}/alpine3.23/Dockerfile | 4 ++-- {3.15-rc => 3.15}/alpine3.24/Dockerfile | 4 ++-- {3.15-rc => 3.15}/bookworm/Dockerfile | 4 ++-- {3.15-rc => 3.15}/slim-bookworm/Dockerfile | 4 ++-- {3.15-rc => 3.15}/slim-trixie/Dockerfile | 4 ++-- {3.15-rc => 3.15}/trixie/Dockerfile | 4 ++-- .../windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- .../windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- generate-stackbrew-library.sh | 2 +- versions.json | 8 ++++---- 10 files changed, 21 insertions(+), 21 deletions(-) rename {3.15-rc => 3.15}/alpine3.23/Dockerfile (97%) rename {3.15-rc => 3.15}/alpine3.24/Dockerfile (97%) rename {3.15-rc => 3.15}/bookworm/Dockerfile (97%) rename {3.15-rc => 3.15}/slim-bookworm/Dockerfile (97%) rename {3.15-rc => 3.15}/slim-trixie/Dockerfile (97%) rename {3.15-rc => 3.15}/trixie/Dockerfile (97%) rename {3.15-rc => 3.15}/windows/windowsservercore-ltsc2022/Dockerfile (94%) rename {3.15-rc => 3.15}/windows/windowsservercore-ltsc2025/Dockerfile (94%) diff --git a/3.15-rc/alpine3.23/Dockerfile b/3.15/alpine3.23/Dockerfile similarity index 97% rename from 3.15-rc/alpine3.23/Dockerfile rename to 3.15/alpine3.23/Dockerfile index 90f3ce75e..aca825d29 100644 --- a/3.15-rc/alpine3.23/Dockerfile +++ b/3.15/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/alpine3.24/Dockerfile b/3.15/alpine3.24/Dockerfile similarity index 97% rename from 3.15-rc/alpine3.24/Dockerfile rename to 3.15/alpine3.24/Dockerfile index 640a78fee..84515c4dd 100644 --- a/3.15-rc/alpine3.24/Dockerfile +++ b/3.15/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/bookworm/Dockerfile b/3.15/bookworm/Dockerfile similarity index 97% rename from 3.15-rc/bookworm/Dockerfile rename to 3.15/bookworm/Dockerfile index cbcf9bcb9..964b856ce 100644 --- a/3.15-rc/bookworm/Dockerfile +++ b/3.15/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/slim-bookworm/Dockerfile b/3.15/slim-bookworm/Dockerfile similarity index 97% rename from 3.15-rc/slim-bookworm/Dockerfile rename to 3.15/slim-bookworm/Dockerfile index d70588490..50179ed28 100644 --- a/3.15-rc/slim-bookworm/Dockerfile +++ b/3.15/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/slim-trixie/Dockerfile b/3.15/slim-trixie/Dockerfile similarity index 97% rename from 3.15-rc/slim-trixie/Dockerfile rename to 3.15/slim-trixie/Dockerfile index 7d1f05ecd..f3b8d94f0 100644 --- a/3.15-rc/slim-trixie/Dockerfile +++ b/3.15/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/trixie/Dockerfile b/3.15/trixie/Dockerfile similarity index 97% rename from 3.15-rc/trixie/Dockerfile rename to 3.15/trixie/Dockerfile index cfdde4f4b..48c815cab 100644 --- a/3.15-rc/trixie/Dockerfile +++ b/3.15/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0rc3 -ENV PYTHON_SHA256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 RUN set -eux; \ \ diff --git a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.15/windows/windowsservercore-ltsc2022/Dockerfile similarity index 94% rename from 3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile rename to 3.15/windows/windowsservercore-ltsc2022/Dockerfile index ec7ecbcb1..3506c557b 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15/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.15.0rc3 -ENV PYTHON_SHA256 b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f 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.15-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.15/windows/windowsservercore-ltsc2025/Dockerfile similarity index 94% rename from 3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile rename to 3.15/windows/windowsservercore-ltsc2025/Dockerfile index be8f11790..1c34e88d3 100644 --- a/3.15-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15/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.15.0rc3 -ENV PYTHON_SHA256 b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de +ENV PYTHON_VERSION 3.15.0 +ENV PYTHON_SHA256 67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f 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/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 7f8bf34ab..dd54dfedf 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -2,7 +2,7 @@ set -Eeuo pipefail declare -A aliases=( - [3.14]='3 latest' + [3.15]='3 latest' ) self="$(basename "$BASH_SOURCE")" diff --git a/versions.json b/versions.json index e63ed3486..6aabbaac0 100644 --- a/versions.json +++ b/versions.json @@ -76,13 +76,13 @@ ], "version": "3.14.8" }, - "3.15-rc": { + "3.15": { "checksums": { "source": { - "sha256": "506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49" + "sha256": "ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575" }, "windows": { - "sha256": "b4e9f53f4c930e04db445de94675d8306674b4734dd1a81777418cff6136c4de" + "sha256": "67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f" } }, "variants": [ @@ -95,6 +95,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0rc3" + "version": "3.15.0" } } From 2a9714b5e382f6ee60b070580ea4cf2ce1596659 Mon Sep 17 00:00:00 2001 From: Jenthe Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Wed, 14 Oct 2026 22:06:14 +0200 Subject: [PATCH 63/76] Add non-Windows 3.16-rc variants (#1135) --- 3.16-rc/alpine3.23/Dockerfile | 139 +++++++++++++++++++++++++++++ 3.16-rc/alpine3.24/Dockerfile | 139 +++++++++++++++++++++++++++++ 3.16-rc/bookworm/Dockerfile | 130 +++++++++++++++++++++++++++ 3.16-rc/slim-bookworm/Dockerfile | 146 +++++++++++++++++++++++++++++++ 3.16-rc/slim-trixie/Dockerfile | 146 +++++++++++++++++++++++++++++++ 3.16-rc/trixie/Dockerfile | 130 +++++++++++++++++++++++++++ versions.json | 16 ++++ 7 files changed, 846 insertions(+) create mode 100644 3.16-rc/alpine3.23/Dockerfile create mode 100644 3.16-rc/alpine3.24/Dockerfile create mode 100644 3.16-rc/bookworm/Dockerfile create mode 100644 3.16-rc/slim-bookworm/Dockerfile create mode 100644 3.16-rc/slim-trixie/Dockerfile create mode 100644 3.16-rc/trixie/Dockerfile diff --git a/3.16-rc/alpine3.23/Dockerfile b/3.16-rc/alpine3.23/Dockerfile new file mode 100644 index 000000000..cbdbab738 --- /dev/null +++ b/3.16-rc/alpine3.23/Dockerfile @@ -0,0 +1,139 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM alpine:3.23 + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apk add --no-cache \ + ca-certificates \ + tzdata \ + ; + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + bluez-dev \ + bzip2-dev \ + dpkg-dev dpkg \ + findutils \ + g++ \ + gcc \ + gdbm-dev \ + gnupg \ + libc-dev \ + libffi-dev \ + libnsl-dev \ + libtirpc-dev \ + linux-headers \ + make \ + ncurses-dev \ + openssl-dev \ + pax-utils \ + readline-dev \ + sqlite-dev \ + tar \ + tcl-dev \ + tk \ + tk-dev \ + util-linux-dev \ + xz \ + xz-dev \ + zlib-dev \ + zstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ +# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() +# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 + EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ + arch="$(apk --print-arch)"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + | xargs -rt apk add --no-network --virtual .python-rundeps \ + ; \ + apk del --no-network .build-deps; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.16-rc/alpine3.24/Dockerfile b/3.16-rc/alpine3.24/Dockerfile new file mode 100644 index 000000000..e187aa140 --- /dev/null +++ b/3.16-rc/alpine3.24/Dockerfile @@ -0,0 +1,139 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM alpine:3.24 + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apk add --no-cache \ + ca-certificates \ + tzdata \ + ; + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + bluez-dev \ + bzip2-dev \ + dpkg-dev dpkg \ + findutils \ + g++ \ + gcc \ + gdbm-dev \ + gnupg \ + libc-dev \ + libffi-dev \ + libnsl-dev \ + libtirpc-dev \ + linux-headers \ + make \ + ncurses-dev \ + openssl-dev \ + pax-utils \ + readline-dev \ + sqlite-dev \ + tar \ + tcl-dev \ + tk \ + tk-dev \ + util-linux-dev \ + xz \ + xz-dev \ + zlib-dev \ + zstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ +# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit() +# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0 + EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ + arch="$(apk --print-arch)"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + x86_64|aarch64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + x86) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + | xargs -rt apk add --no-network --virtual .python-rundeps \ + ; \ + apk del --no-network .build-deps; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.16-rc/bookworm/Dockerfile b/3.16-rc/bookworm/Dockerfile new file mode 100644 index 000000000..3241c347a --- /dev/null +++ b/3.16-rc/bookworm/Dockerfile @@ -0,0 +1,130 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM buildpack-deps:bookworm + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libbluetooth-dev \ + tk-dev \ + uuid-dev \ + ; \ + rm -rf /var/lib/apt/lists/* + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ +# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 + bin="$(readlink -ve /usr/local/bin/python3)"; \ + dir="$(dirname "$bin")"; \ + mkdir -p "/usr/share/gdb/auto-load/$dir"; \ + cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/*; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.16-rc/slim-bookworm/Dockerfile b/3.16-rc/slim-bookworm/Dockerfile new file mode 100644 index 000000000..56009c04c --- /dev/null +++ b/3.16-rc/slim-bookworm/Dockerfile @@ -0,0 +1,146 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM debian:bookworm-slim + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + ca-certificates \ + netbase \ + tzdata \ + ; \ + rm -rf /var/lib/apt/lists/* + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + dpkg-dev \ + g++ \ + gcc \ + gnupg \ + libbluetooth-dev \ + libbz2-dev \ + libc6-dev \ + libdb-dev \ + libffi-dev \ + libgdbm-dev \ + liblzma-dev \ + libncursesw5-dev \ + libreadline-dev \ + libsqlite3-dev \ + libssl-dev \ + libzstd-dev \ + make \ + tk-dev \ + uuid-dev \ + wget \ + xz-utils \ + zlib1g-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/*; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.16-rc/slim-trixie/Dockerfile b/3.16-rc/slim-trixie/Dockerfile new file mode 100644 index 000000000..f660c47c2 --- /dev/null +++ b/3.16-rc/slim-trixie/Dockerfile @@ -0,0 +1,146 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM debian:trixie-slim + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + ca-certificates \ + netbase \ + tzdata \ + ; \ + apt-get dist-clean + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + dpkg-dev \ + g++ \ + gcc \ + gnupg \ + libbluetooth-dev \ + libbz2-dev \ + libc6-dev \ + libdb-dev \ + libffi-dev \ + libgdbm-dev \ + liblzma-dev \ + libncursesw5-dev \ + libreadline-dev \ + libsqlite3-dev \ + libssl-dev \ + libzstd-dev \ + make \ + tk-dev \ + uuid-dev \ + wget \ + xz-utils \ + zlib1g-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + apt-get dist-clean; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/3.16-rc/trixie/Dockerfile b/3.16-rc/trixie/Dockerfile new file mode 100644 index 000000000..b924fa30f --- /dev/null +++ b/3.16-rc/trixie/Dockerfile @@ -0,0 +1,130 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM buildpack-deps:trixie + +# ensure local python is preferred over distribution python +ENV PATH /usr/local/bin:$PATH + +# runtime dependencies +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libbluetooth-dev \ + tk-dev \ + uuid-dev \ + ; \ + apt-get dist-clean + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 + +RUN set -eux; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libzstd-dev \ + ; \ + \ + wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ + echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ + mkdir -p /usr/src/python; \ + tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ + rm python.tar.xz; \ + \ + cd /usr/src/python; \ + gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ + ./configure \ + --build="$gnuArch" \ + --enable-loadable-sqlite-extensions \ + --enable-optimizations \ + --enable-option-checking=fatal \ + --enable-shared \ + $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ + --with-ensurepip \ + ; \ + nproc="$(nproc)"; \ + EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ + arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ +# https://docs.python.org/3.12/howto/perf_profiling.html +# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 + case "$arch" in \ + amd64|arm64) \ + # only add "-mno-omit-leaf" on arches that support it + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 + # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ + ;; \ + i386) \ + # don't enable frame-pointers on 32bit x86 due to performance drop. + ;; \ + *) \ + # other arches don't support "-mno-omit-leaf" + EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ + ;; \ + esac; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-}" \ + ; \ +# https://github.com/docker-library/python/issues/784 +# prevent accidental usage of a system installed libpython of the same version + rm python; \ + make -j "$nproc" \ + "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ + "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ + python \ + ; \ + make install; \ + \ +# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 + bin="$(readlink -ve /usr/local/bin/python3)"; \ + dir="$(dirname "$bin")"; \ + mkdir -p "/usr/share/gdb/auto-load/$dir"; \ + cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ + \ + cd /; \ + rm -rf /usr/src/python; \ + \ + find /usr/local -depth \ + \( \ + \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ + -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ + \) -exec rm -rf '{}' + \ + ; \ + \ + ldconfig; \ + \ + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -rt dpkg-query --search \ +# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) + | awk 'sub(":$", "", $1) { print $1 }' \ + | sort -u \ + | xargs -r apt-mark manual \ + ; \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + apt-get dist-clean; \ + \ + export PYTHONDONTWRITEBYTECODE=1; \ + python3 --version; \ + pip3 --version + +# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) +RUN set -eux; \ + for src in idle3 pip3 pydoc3 python3 python3-config; do \ + dst="$(echo "$src" | tr -d 3)"; \ + [ -s "/usr/local/bin/$src" ]; \ + [ ! -e "/usr/local/bin/$dst" ]; \ + ln -svT "$src" "/usr/local/bin/$dst"; \ + done + +CMD ["python3"] diff --git a/versions.json b/versions.json index 6aabbaac0..29f6731c9 100644 --- a/versions.json +++ b/versions.json @@ -96,5 +96,21 @@ "windows/windowsservercore-ltsc2022" ], "version": "3.15.0" + }, + "3.16-rc": { + "checksums": { + "source": { + "sha256": "dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9" + } + }, + "variants": [ + "trixie", + "slim-trixie", + "bookworm", + "slim-bookworm", + "alpine3.24", + "alpine3.23" + ], + "version": "3.16.0a1" } } From ce73ea7cebf01824125c30c20cd1acbde9b364ec Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 16 Oct 2026 14:44:20 -0700 Subject: [PATCH 64/76] Add "libmpdec" to build deps on 3.15+ (#1137) * Add "libmpdec" to build deps on 3.15+ This unlocks the `_decimal` fast-path for the `decimal` stdlib module, making Decimal arithmetic ~16x faster (or rather, avoiding a 16x slowdown regression compared to 3.14 and below). * Ditch bookworm for 3.16+, `--without-system-libmpdec` for 3.15 bookworm --- 3.15/alpine3.23/Dockerfile | 1 + 3.15/alpine3.24/Dockerfile | 1 + 3.15/bookworm/Dockerfile | 2 + 3.15/slim-bookworm/Dockerfile | 2 + 3.15/slim-trixie/Dockerfile | 1 + 3.15/trixie/Dockerfile | 1 + 3.16-rc/alpine3.23/Dockerfile | 1 + 3.16-rc/alpine3.24/Dockerfile | 1 + 3.16-rc/bookworm/Dockerfile | 130 --------------------------- 3.16-rc/slim-bookworm/Dockerfile | 146 ------------------------------- 3.16-rc/slim-trixie/Dockerfile | 1 + 3.16-rc/trixie/Dockerfile | 1 + Dockerfile-linux.template | 14 +++ versions.json | 2 - versions.sh | 5 +- 15 files changed, 30 insertions(+), 279 deletions(-) delete mode 100644 3.16-rc/bookworm/Dockerfile delete mode 100644 3.16-rc/slim-bookworm/Dockerfile diff --git a/3.15/alpine3.23/Dockerfile b/3.15/alpine3.23/Dockerfile index aca825d29..649a3e89a 100644 --- a/3.15/alpine3.23/Dockerfile +++ b/3.15/alpine3.23/Dockerfile @@ -36,6 +36,7 @@ RUN set -eux; \ libtirpc-dev \ linux-headers \ make \ + mpdecimal-dev \ ncurses-dev \ openssl-dev \ pax-utils \ diff --git a/3.15/alpine3.24/Dockerfile b/3.15/alpine3.24/Dockerfile index 84515c4dd..4c3f6d8e7 100644 --- a/3.15/alpine3.24/Dockerfile +++ b/3.15/alpine3.24/Dockerfile @@ -36,6 +36,7 @@ RUN set -eux; \ libtirpc-dev \ linux-headers \ make \ + mpdecimal-dev \ ncurses-dev \ openssl-dev \ pax-utils \ diff --git a/3.15/bookworm/Dockerfile b/3.15/bookworm/Dockerfile index 964b856ce..d56e300f4 100644 --- a/3.15/bookworm/Dockerfile +++ b/3.15/bookworm/Dockerfile @@ -46,6 +46,8 @@ RUN set -eux; \ --enable-shared \ $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ --with-ensurepip \ +# https://github.com/docker-library/python/pull/1137#issuecomment-6180817683 + --without-system-libmpdec \ ; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ diff --git a/3.15/slim-bookworm/Dockerfile b/3.15/slim-bookworm/Dockerfile index 50179ed28..798980b0a 100644 --- a/3.15/slim-bookworm/Dockerfile +++ b/3.15/slim-bookworm/Dockerfile @@ -67,6 +67,8 @@ RUN set -eux; \ --enable-shared \ $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ --with-ensurepip \ +# https://github.com/docker-library/python/pull/1137#issuecomment-6180817683 + --without-system-libmpdec \ ; \ nproc="$(nproc)"; \ EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ diff --git a/3.15/slim-trixie/Dockerfile b/3.15/slim-trixie/Dockerfile index f3b8d94f0..56a988b40 100644 --- a/3.15/slim-trixie/Dockerfile +++ b/3.15/slim-trixie/Dockerfile @@ -38,6 +38,7 @@ RUN set -eux; \ libffi-dev \ libgdbm-dev \ liblzma-dev \ + libmpdec-dev \ libncursesw5-dev \ libreadline-dev \ libsqlite3-dev \ diff --git a/3.15/trixie/Dockerfile b/3.15/trixie/Dockerfile index 48c815cab..d643bc79c 100644 --- a/3.15/trixie/Dockerfile +++ b/3.15/trixie/Dockerfile @@ -27,6 +27,7 @@ RUN set -eux; \ savedAptMark="$(apt-mark showmanual)"; \ apt-get update; \ apt-get install -y --no-install-recommends \ + libmpdec-dev \ libzstd-dev \ ; \ \ diff --git a/3.16-rc/alpine3.23/Dockerfile b/3.16-rc/alpine3.23/Dockerfile index cbdbab738..935da0f4b 100644 --- a/3.16-rc/alpine3.23/Dockerfile +++ b/3.16-rc/alpine3.23/Dockerfile @@ -36,6 +36,7 @@ RUN set -eux; \ libtirpc-dev \ linux-headers \ make \ + mpdecimal-dev \ ncurses-dev \ openssl-dev \ pax-utils \ diff --git a/3.16-rc/alpine3.24/Dockerfile b/3.16-rc/alpine3.24/Dockerfile index e187aa140..b9a7af65d 100644 --- a/3.16-rc/alpine3.24/Dockerfile +++ b/3.16-rc/alpine3.24/Dockerfile @@ -36,6 +36,7 @@ RUN set -eux; \ libtirpc-dev \ linux-headers \ make \ + mpdecimal-dev \ ncurses-dev \ openssl-dev \ pax-utils \ diff --git a/3.16-rc/bookworm/Dockerfile b/3.16-rc/bookworm/Dockerfile deleted file mode 100644 index 3241c347a..000000000 --- a/3.16-rc/bookworm/Dockerfile +++ /dev/null @@ -1,130 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM buildpack-deps:bookworm - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libbluetooth-dev \ - tk-dev \ - uuid-dev \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - libzstd-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ -# https://docs.python.org/3.12/howto/perf_profiling.html -# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ -# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701 - bin="$(readlink -ve /usr/local/bin/python3)"; \ - dir="$(dirname "$bin")"; \ - mkdir -p "/usr/share/gdb/auto-load/$dir"; \ - cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.16-rc/slim-bookworm/Dockerfile b/3.16-rc/slim-bookworm/Dockerfile deleted file mode 100644 index 56009c04c..000000000 --- a/3.16-rc/slim-bookworm/Dockerfile +++ /dev/null @@ -1,146 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM debian:bookworm-slim - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# runtime dependencies -RUN set -eux; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - netbase \ - tzdata \ - ; \ - rm -rf /var/lib/apt/lists/* - -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 - -RUN set -eux; \ - \ - savedAptMark="$(apt-mark showmanual)"; \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - dpkg-dev \ - g++ \ - gcc \ - gnupg \ - libbluetooth-dev \ - libbz2-dev \ - libc6-dev \ - libdb-dev \ - libffi-dev \ - libgdbm-dev \ - liblzma-dev \ - libncursesw5-dev \ - libreadline-dev \ - libsqlite3-dev \ - libssl-dev \ - libzstd-dev \ - make \ - tk-dev \ - uuid-dev \ - wget \ - xz-utils \ - zlib1g-dev \ - ; \ - \ - wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ - echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \ - mkdir -p /usr/src/python; \ - tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \ - rm python.tar.xz; \ - \ - cd /usr/src/python; \ - gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ - ./configure \ - --build="$gnuArch" \ - --enable-loadable-sqlite-extensions \ - --enable-optimizations \ - --enable-option-checking=fatal \ - --enable-shared \ - $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ - --with-ensurepip \ - ; \ - nproc="$(nproc)"; \ - EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; \ - LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; \ - LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; \ - arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; \ -# https://docs.python.org/3.12/howto/perf_profiling.html -# https://github.com/docker-library/python/pull/1000#issuecomment-2597021615 - case "$arch" in \ - amd64|arm64) \ - # only add "-mno-omit-leaf" on arches that support it - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/x86-Options.html#index-momit-leaf-frame-pointer-2 - # https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/AArch64-Options.html#index-momit-leaf-frame-pointer - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; \ - ;; \ - i386) \ - # don't enable frame-pointers on 32bit x86 due to performance drop. - ;; \ - *) \ - # other arches don't support "-mno-omit-leaf" - EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; \ - ;; \ - esac; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-}" \ - ; \ -# https://github.com/docker-library/python/issues/784 -# prevent accidental usage of a system installed libpython of the same version - rm python; \ - make -j "$nproc" \ - "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" \ - "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" \ - python \ - ; \ - make install; \ - \ - cd /; \ - rm -rf /usr/src/python; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ - -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \ - \) -exec rm -rf '{}' + \ - ; \ - \ - ldconfig; \ - \ - apt-mark auto '.*' > /dev/null; \ - apt-mark manual $savedAptMark; \ - find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' \ - | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ - | sort -u \ - | xargs -rt dpkg-query --search \ -# https://manpages.debian.org/bookworm/dpkg/dpkg-query.1.en.html#S (we ignore diversions and it'll be really unusual for more than one package to provide any given .so file) - | awk 'sub(":$", "", $1) { print $1 }' \ - | sort -u \ - | xargs -r apt-mark manual \ - ; \ - apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ - rm -rf /var/lib/apt/lists/*; \ - \ - export PYTHONDONTWRITEBYTECODE=1; \ - python3 --version; \ - pip3 --version - -# make some useful symlinks that are expected to exist ("/usr/local/bin/python" and friends) -RUN set -eux; \ - for src in idle3 pip3 pydoc3 python3 python3-config; do \ - dst="$(echo "$src" | tr -d 3)"; \ - [ -s "/usr/local/bin/$src" ]; \ - [ ! -e "/usr/local/bin/$dst" ]; \ - ln -svT "$src" "/usr/local/bin/$dst"; \ - done - -CMD ["python3"] diff --git a/3.16-rc/slim-trixie/Dockerfile b/3.16-rc/slim-trixie/Dockerfile index f660c47c2..8dca73628 100644 --- a/3.16-rc/slim-trixie/Dockerfile +++ b/3.16-rc/slim-trixie/Dockerfile @@ -38,6 +38,7 @@ RUN set -eux; \ libffi-dev \ libgdbm-dev \ liblzma-dev \ + libmpdec-dev \ libncursesw5-dev \ libreadline-dev \ libsqlite3-dev \ diff --git a/3.16-rc/trixie/Dockerfile b/3.16-rc/trixie/Dockerfile index b924fa30f..45055a827 100644 --- a/3.16-rc/trixie/Dockerfile +++ b/3.16-rc/trixie/Dockerfile @@ -27,6 +27,7 @@ RUN set -eux; \ savedAptMark="$(apt-mark showmanual)"; \ apt-get update; \ apt-get install -y --no-install-recommends \ + libmpdec-dev \ libzstd-dev \ ; \ \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index b3f9886d4..f95548890 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -120,6 +120,11 @@ RUN set -eux; \ if IN(env.version; "3.11", "3.12", "3.13") then empty else "zstd-dev" end, + if IN(env.version; "3.11", "3.12", "3.13", "3.14") then empty else + # https://github.com/docker-library/python/issues/1136 + # https://github.com/python/cpython/issues/115119 + "mpdecimal-dev" + end, empty else if is_slim then @@ -149,6 +154,11 @@ RUN set -eux; \ if IN(env.version; "3.11", "3.12", "3.13") then empty else "libzstd-dev" end, + if IN(env.version; "3.11", "3.12", "3.13", "3.14") then empty elif env.variant | contains("bookworm") then empty else + # https://github.com/docker-library/python/issues/1136 + # https://github.com/python/cpython/issues/115119 + "libmpdec-dev" + end, empty end ] -}} @@ -204,6 +214,10 @@ RUN set -eux; \ {{ # skip LTO on riscv64: https://github.com/docker-library/python/pull/935, https://github.com/docker-library/python/pull/1038 -}} $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') \ --with-ensurepip \ +{{ if env.version == "3.15" and (env.variant | contains("bookworm")) then ( -}} +# https://github.com/docker-library/python/pull/1137#issuecomment-6180817683 + --without-system-libmpdec \ +{{ ) else "" end -}} ; \ nproc="$(nproc)"; \ {{ if is_alpine then ( -}} diff --git a/versions.json b/versions.json index 29f6731c9..3afc8591b 100644 --- a/versions.json +++ b/versions.json @@ -106,8 +106,6 @@ "variants": [ "trixie", "slim-trixie", - "bookworm", - "slim-bookworm", "alpine3.24", "alpine3.23" ], diff --git a/versions.sh b/versions.sh index ea74dd774..781a5e544 100755 --- a/versions.sh +++ b/versions.sh @@ -191,7 +191,10 @@ for version in "${versions[@]}"; do variants: [ ( "trixie", - "bookworm", + if IN(env.rcVersion; "3.11", "3.12", "3.13", "3.14", "3.15") then + # https://github.com/docker-library/python/pull/1137#issuecomment-6180817683 + "bookworm" + else empty end, empty | ., "slim-" + .), # https://github.com/docker-library/ruby/pull/142#issuecomment-320012893 ( From 601f8899c1bf9f94d598a9bb36bd9192bd0292d3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 21 Oct 2026 07:49:20 -0700 Subject: [PATCH 65/76] Update 3.14 to 3.14.9 --- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/alpine3.24/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index cf636572f..fcbccaa81 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index fa9425a50..50bdfb6ff 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 6536a6dfa..df08d2388 100644 --- a/3.14/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.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index b97aa049f..39192728d 100644 --- a/3.14/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.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index a25f41540..7425a1e18 100644 --- a/3.14/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.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 56375fb42..492e66405 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.8 -ENV PYTHON_SHA256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 6cc5ae63b..619122749 100644 --- a/3.14/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.8 -ENV PYTHON_SHA256 759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 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/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index fea2c978d..d1bf7d489 100644 --- a/3.14/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.8 -ENV PYTHON_SHA256 759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef +ENV PYTHON_VERSION 3.14.9 +ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 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/versions.json b/versions.json index 3afc8591b..287374996 100644 --- a/versions.json +++ b/versions.json @@ -58,10 +58,10 @@ "3.14": { "checksums": { "source": { - "sha256": "c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73" + "sha256": "e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53" }, "windows": { - "sha256": "759be887b96e736a3ca886daf8d575f18fcae1a09efab6902f42d59e8999f8ef" + "sha256": "a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394" } }, "variants": [ @@ -74,7 +74,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.8" + "version": "3.14.9" }, "3.15": { "checksums": { From 5da18d3627f545dda6dac7908004db5193f694d7 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 21 Oct 2026 09:15:17 -0700 Subject: [PATCH 66/76] Update 3.15 to 3.15.1 --- 3.15/alpine3.23/Dockerfile | 4 ++-- 3.15/alpine3.24/Dockerfile | 4 ++-- 3.15/bookworm/Dockerfile | 4 ++-- 3.15/slim-bookworm/Dockerfile | 4 ++-- 3.15/slim-trixie/Dockerfile | 4 ++-- 3.15/trixie/Dockerfile | 4 ++-- 3.15/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.15/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.15/alpine3.23/Dockerfile b/3.15/alpine3.23/Dockerfile index 649a3e89a..7544dec24 100644 --- a/3.15/alpine3.23/Dockerfile +++ b/3.15/alpine3.23/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/alpine3.24/Dockerfile b/3.15/alpine3.24/Dockerfile index 4c3f6d8e7..daad35628 100644 --- a/3.15/alpine3.24/Dockerfile +++ b/3.15/alpine3.24/Dockerfile @@ -16,8 +16,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/bookworm/Dockerfile b/3.15/bookworm/Dockerfile index d56e300f4..9428aad02 100644 --- a/3.15/bookworm/Dockerfile +++ b/3.15/bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/slim-bookworm/Dockerfile b/3.15/slim-bookworm/Dockerfile index 798980b0a..f9bc43c52 100644 --- a/3.15/slim-bookworm/Dockerfile +++ b/3.15/slim-bookworm/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/slim-trixie/Dockerfile b/3.15/slim-trixie/Dockerfile index 56a988b40..409e58c59 100644 --- a/3.15/slim-trixie/Dockerfile +++ b/3.15/slim-trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/trixie/Dockerfile b/3.15/trixie/Dockerfile index d643bc79c..525464355 100644 --- a/3.15/trixie/Dockerfile +++ b/3.15/trixie/Dockerfile @@ -19,8 +19,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.0 -ENV PYTHON_SHA256 ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575 +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b RUN set -eux; \ \ diff --git a/3.15/windows/windowsservercore-ltsc2022/Dockerfile b/3.15/windows/windowsservercore-ltsc2022/Dockerfile index 3506c557b..e90326edb 100644 --- a/3.15/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15/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.15.0 -ENV PYTHON_SHA256 67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db 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.15/windows/windowsservercore-ltsc2025/Dockerfile b/3.15/windows/windowsservercore-ltsc2025/Dockerfile index 1c34e88d3..ba12eb40c 100644 --- a/3.15/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15/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.15.0 -ENV PYTHON_SHA256 67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f +ENV PYTHON_VERSION 3.15.1 +ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db 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/versions.json b/versions.json index 287374996..db8e004bc 100644 --- a/versions.json +++ b/versions.json @@ -79,10 +79,10 @@ "3.15": { "checksums": { "source": { - "sha256": "ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575" + "sha256": "673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b" }, "windows": { - "sha256": "67d9a63eb145a34aa939f02eadbf8c57f21fcdd6decb901ccac578d2d1f01d6f" + "sha256": "8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db" } }, "variants": [ @@ -95,7 +95,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.0" + "version": "3.15.1" }, "3.16-rc": { "checksums": { From e316b6c5b88b7c8e4806aa7626060c9bd8227e66 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 21 Oct 2026 14:27:58 -0700 Subject: [PATCH 67/76] Update 3.13 to 3.13.17 --- 3.13/alpine3.23/Dockerfile | 4 ++-- 3.13/alpine3.24/Dockerfile | 4 ++-- 3.13/bookworm/Dockerfile | 4 ++-- 3.13/slim-bookworm/Dockerfile | 4 ++-- 3.13/slim-trixie/Dockerfile | 4 ++-- 3.13/trixie/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2022/Dockerfile | 4 ++-- 3.13/windows/windowsservercore-ltsc2025/Dockerfile | 4 ++-- versions.json | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index cc0403135..424eb6f9d 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 44d4e6a1e..14788257f 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -17,8 +17,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 5839bd33b..0152e0195 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index e45bce987..046330be9 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index 53cadb612..f32081f1c 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 74720d998..eaf1e181c 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -20,8 +20,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.16 -ENV PYTHON_SHA256 f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 7a0b4ad46..1c7fc0a9a 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/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.13.16 -ENV PYTHON_SHA256 fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 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.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index b50614f59..aa32e868b 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/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.13.16 -ENV PYTHON_SHA256 fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b +ENV PYTHON_VERSION 3.13.17 +ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 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/versions.json b/versions.json index db8e004bc..7fb41316f 100644 --- a/versions.json +++ b/versions.json @@ -37,10 +37,10 @@ "3.13": { "checksums": { "source": { - "sha256": "f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d" + "sha256": "6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7" }, "windows": { - "sha256": "fb4f9f5d438b2396da0086dc70b935c530cb578e37adc6d354f7ad2037fee83b" + "sha256": "5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190" } }, "variants": [ @@ -53,7 +53,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.13.16" + "version": "3.13.17" }, "3.14": { "checksums": { From bd0f6ae1c9a8f41b735de02c1100e996938157ae Mon Sep 17 00:00:00 2001 From: yosifkit Date: Fri, 23 Oct 2026 11:52:13 -0700 Subject: [PATCH 68/76] Add 3.16-rc windows variants (#1139) --- .../windowsservercore-ltsc2022/Dockerfile | 8 +-- .../windowsservercore-ltsc2025/Dockerfile | 8 +-- .../windowsservercore-ltsc2022/Dockerfile | 8 +-- .../windowsservercore-ltsc2025/Dockerfile | 8 +-- .../windowsservercore-ltsc2022/Dockerfile | 8 +-- .../windowsservercore-ltsc2025/Dockerfile | 8 +-- .../windowsservercore-ltsc2022/Dockerfile | 58 +++++++++++++++++++ .../windowsservercore-ltsc2025/Dockerfile | 58 +++++++++++++++++++ Dockerfile-windows.template | 48 +++++++++++++-- versions.json | 17 ++++-- versions.sh | 17 ++++-- 11 files changed, 208 insertions(+), 38 deletions(-) create mode 100644 3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile create mode 100644 3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile index 1c7fc0a9a..a1323dfac 100644 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.13/windows/windowsservercore-ltsc2022/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.13.17 ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile index aa32e868b..e777f6d6f 100644 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.13/windows/windowsservercore-ltsc2025/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.13.17 ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 619122749..15df3b1d0 100644 --- a/3.14/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2022/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.14.9 ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.14/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index d1bf7d489..1d78d66bb 100644 --- a/3.14/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2025/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.14.9 ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.15/windows/windowsservercore-ltsc2022/Dockerfile b/3.15/windows/windowsservercore-ltsc2022/Dockerfile index e90326edb..7b6e13225 100644 --- a/3.15/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15/windows/windowsservercore-ltsc2022/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.15.1 ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.15/windows/windowsservercore-ltsc2025/Dockerfile b/3.15/windows/windowsservercore-ltsc2025/Dockerfile index ba12eb40c..5264c0502 100644 --- a/3.15/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15/windows/windowsservercore-ltsc2025/Dockerfile @@ -14,7 +14,7 @@ ENV PYTHONIOENCODING UTF-8 ENV PYTHON_VERSION 3.15.1 ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db -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); \ +RUN $url = 'https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ @@ -48,13 +48,13 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ Write-Host 'Verifying pip install ...'; \ diff --git a/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile new file mode 100644 index 000000000..3a56cfc71 --- /dev/null +++ b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile @@ -0,0 +1,58 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM mcr.microsoft.com/windows/servercore:ltsc2022 + +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# https://github.com/docker-library/python/pull/557 +ENV PYTHONIOENCODING UTF-8 + +# PATH isn't actually set in the Docker image, so we have to set it from within the container +RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ + Write-Host ('Updating PATH: {0}' -f $newPath); \ + [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); \ + Write-Host 'Complete.' +# doing this first to share cache across versions more aggressively + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454 + +RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip'; \ + Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ + Invoke-WebRequest -Uri $url -OutFile 'python.zip'; \ + \ + Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ + if ((Get-FileHash python.zip -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ + Write-Host 'FAILED!'; \ + exit 1; \ + }; \ + \ + Write-Host 'Expanding ...'; \ + Expand-Archive python.zip -DestinationPath C:\Python\; \ + \ + Write-Host 'Removing ...'; \ + Remove-Item python.zip -Force; \ + \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ + $env:PYTHONDONTWRITEBYTECODE = '1'; \ + \ + Write-Host 'Re-Installing pip ...'; \ + # remove zip-provided pip so that we can reinstall and get the exe in c:\Python\Scripts + Remove-Item -Recurse C:\Python\Lib\site-packages\pip; \ + Remove-Item -Recurse C:\Python\Lib\site-packages\pip-*; \ + # install pip again + python -m ensurepip --default-pip; \ + \ + Write-Host 'Verifying pip install ...'; \ + pip --version; \ + \ + Write-Host 'Complete.' + +CMD ["python"] diff --git a/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile new file mode 100644 index 000000000..266324f93 --- /dev/null +++ b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile @@ -0,0 +1,58 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM mcr.microsoft.com/windows/servercore:ltsc2025 + +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# https://github.com/docker-library/python/pull/557 +ENV PYTHONIOENCODING UTF-8 + +# PATH isn't actually set in the Docker image, so we have to set it from within the container +RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ + Write-Host ('Updating PATH: {0}' -f $newPath); \ + [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); \ + Write-Host 'Complete.' +# doing this first to share cache across versions more aggressively + +ENV PYTHON_VERSION 3.16.0a1 +ENV PYTHON_SHA256 d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454 + +RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip'; \ + Write-Host ('Downloading {0} ...' -f $url); \ + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ + Invoke-WebRequest -Uri $url -OutFile 'python.zip'; \ + \ + Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ + if ((Get-FileHash python.zip -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ + Write-Host 'FAILED!'; \ + exit 1; \ + }; \ + \ + Write-Host 'Expanding ...'; \ + Expand-Archive python.zip -DestinationPath C:\Python\; \ + \ + Write-Host 'Removing ...'; \ + Remove-Item python.zip -Force; \ + \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ + \ + $env:PYTHONDONTWRITEBYTECODE = '1'; \ + \ + Write-Host 'Re-Installing pip ...'; \ + # remove zip-provided pip so that we can reinstall and get the exe in c:\Python\Scripts + Remove-Item -Recurse C:\Python\Lib\site-packages\pip; \ + Remove-Item -Recurse C:\Python\Lib\site-packages\pip-*; \ + # install pip again + python -m ensurepip --default-pip; \ + \ + Write-Host 'Verifying pip install ...'; \ + pip --version; \ + \ + Write-Host 'Complete.' + +CMD ["python"] diff --git a/Dockerfile-windows.template b/Dockerfile-windows.template index add70eac7..bd69262f4 100644 --- a/Dockerfile-windows.template +++ b/Dockerfile-windows.template @@ -1,28 +1,54 @@ +{{ + def extension: + .checksums.windows.url | split(".")[-1] + ; + def is_windows_zip: + extension == "zip" +-}} FROM mcr.microsoft.com/windows/{{ env.windowsVariant }}:{{ env.windowsRelease }} SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 +{{ + # installer sets path for older python, but needs to be set for the zip download + if is_windows_zip then ( +-}} + +# PATH isn't actually set in the Docker image, so we have to set it from within the container +RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ + Write-Host ('Updating PATH: {0}' -f $newPath); \ + [Environment]::SetEnvironmentVariable('PATH', $newPath, [EnvironmentVariableTarget]::Machine); \ + Write-Host 'Complete.' +# doing this first to share cache across versions more aggressively +{{ ) else "" end -}} ENV PYTHON_VERSION {{ .version }} {{ if .checksums.windows.sha256 then ( -}} ENV PYTHON_SHA256 {{ .checksums.windows.sha256 }} {{ ) else "" end -}} -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); \ +RUN $url = '{{ .checksums.windows.url | gsub("'"; "''") }}'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ + Invoke-WebRequest -Uri $url -OutFile 'python.{{ extension }}'; \ {{ if .checksums.windows.sha256 then ( -}} \ Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ - if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ + if ((Get-FileHash python.{{ extension }} -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ Write-Host 'FAILED!'; \ exit 1; \ }; \ {{ ) else "" end -}} \ +{{ if is_windows_zip then ( -}} + Write-Host 'Expanding ...'; \ + Expand-Archive python.zip -DestinationPath C:\Python\; \ + \ + Write-Host 'Removing ...'; \ + Remove-Item python.zip -Force; \ +{{ ) else ( -}} Write-Host 'Installing ...'; \ # https://docs.python.org/3/using/windows.html#installing-without-ui $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru \ @@ -46,15 +72,25 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f ($en # the installer updated PATH, so we should refresh our local value $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ \ - Write-Host 'Verifying install ...'; \ - Write-Host ' python --version'; python --version; \ - \ Write-Host 'Removing ...'; \ Remove-Item python.exe -Force; \ Remove-Item $env:TEMP/Python*.log -Force; \ +{{ ) end -}} + \ + Write-Host 'Verifying install ("python --version") ...'; \ + python --version; \ \ $env:PYTHONDONTWRITEBYTECODE = '1'; \ \ +{{ if is_windows_zip then ( -}} + Write-Host 'Re-Installing pip ...'; \ + # remove zip-provided pip so that we can reinstall and get the exe in c:\Python\Scripts + Remove-Item -Recurse C:\Python\Lib\site-packages\pip; \ + Remove-Item -Recurse C:\Python\Lib\site-packages\pip-*; \ + # install pip again + python -m ensurepip --default-pip; \ + \ +{{ ) else "" end -}} Write-Host 'Verifying pip install ...'; \ pip --version; \ \ diff --git a/versions.json b/versions.json index 7fb41316f..117b703d2 100644 --- a/versions.json +++ b/versions.json @@ -40,7 +40,8 @@ "sha256": "6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7" }, "windows": { - "sha256": "5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190" + "sha256": "5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190", + "url": "https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe" } }, "variants": [ @@ -61,7 +62,8 @@ "sha256": "e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53" }, "windows": { - "sha256": "a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394" + "sha256": "a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394", + "url": "https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe" } }, "variants": [ @@ -82,7 +84,8 @@ "sha256": "673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b" }, "windows": { - "sha256": "8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db" + "sha256": "8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db", + "url": "https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe" } }, "variants": [ @@ -101,13 +104,19 @@ "checksums": { "source": { "sha256": "dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9" + }, + "windows": { + "sha256": "d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454", + "url": "https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip" } }, "variants": [ "trixie", "slim-trixie", "alpine3.24", - "alpine3.23" + "alpine3.23", + "windows/windowsservercore-ltsc2025", + "windows/windowsservercore-ltsc2022" ], "version": "3.16.0a1" } diff --git a/versions.sh b/versions.sh index 781a5e544..386549441 100755 --- a/versions.sh +++ b/versions.sh @@ -21,7 +21,16 @@ check_file() { local filename="Python-$fullVersion.tar.xz" if [ "$type" = 'windows' ]; then - filename="python-$fullVersion-amd64.exe" + # > phase out the traditional installer by Python 3.16 + # https://peps.python.org/pep-0773/#replacing-other-installers + case "${fullVersion}" in + 3.11.*|3.12.*|3.13.*|3.14.*|3.15.*) + filename="python-$fullVersion-amd64.exe" + ;; + *) + filename="python-$fullVersion-amd64.zip" + ;; + esac fi local url="https://www.python.org/ftp/python/$dirVersion/$filename" @@ -36,11 +45,11 @@ check_file() { ' )" && [ -n "$sigstore" ]; then sigstore="$(base64 -d <<<"$sigstore" | hexdump -ve '/1 "%02x"')" - checksums["$fullVersion"]="$(jq <<<"${checksums["$fullVersion"]:-null}" --arg type "$type" --arg sha256 "$sigstore" '.[$type].sha256 = $sha256')" + checksums["$fullVersion"]="$(jq <<<"${checksums["$fullVersion"]:-null}" --arg type "$type" --arg sha256 "$sigstore" --arg url "$url" '.[$type].sha256 = $sha256 | if $type == "windows" then .[$type].url = $url else . end')" return 0 fi - # TODO is this even necessary/useful? the sigstore-based version above is *much* faster, supports all current versions (not just 3.12+ like this), *and* should be more reliable 🤔 + # while the sigstore-based version above is *much* faster and supports all current versions (not just 3.12+ like this), the zips for 3.16+ don't have a '.sigstore' file local sbom if sbom="$( wget -qO- -o/dev/null "$url.spdx.json" \ @@ -66,7 +75,7 @@ check_file() { end ' )" && [ -n "sbom" ]; then - checksums["$fullVersion"]="$(jq <<<"${checksums["$fullVersion"]:-null}" --arg type "$type" --argjson sums "$sbom" '.[$type] += $sums')" + checksums["$fullVersion"]="$(jq <<<"${checksums["$fullVersion"]:-null}" --arg type "$type" --argjson sums "$sbom" --arg url "$url" '.[$type] += $sums | if $type == "windows" then .[$type].url = $url else . end')" return 0 fi From 6c812a5b7579fcade54fd6c637e18434c9c29b72 Mon Sep 17 00:00:00 2001 From: Jenthe Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Sat, 24 Oct 2026 00:57:52 +0200 Subject: [PATCH 69/76] Drop PYTHONIOENCODING for Python >= 3.16 (#1144) --- 3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile | 3 --- 3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile | 3 --- Dockerfile-windows.template | 8 ++++++++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile index 3a56cfc71..76d3db465 100644 --- a/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile @@ -8,9 +8,6 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2022 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] -# https://github.com/docker-library/python/pull/557 -ENV PYTHONIOENCODING UTF-8 - # PATH isn't actually set in the Docker image, so we have to set it from within the container RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ Write-Host ('Updating PATH: {0}' -f $newPath); \ diff --git a/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile index 266324f93..0fd8f90f4 100644 --- a/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile @@ -8,9 +8,6 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2025 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] -# https://github.com/docker-library/python/pull/557 -ENV PYTHONIOENCODING UTF-8 - # PATH isn't actually set in the Docker image, so we have to set it from within the container RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ Write-Host ('Updating PATH: {0}' -f $newPath); \ diff --git a/Dockerfile-windows.template b/Dockerfile-windows.template index bd69262f4..38ba650fe 100644 --- a/Dockerfile-windows.template +++ b/Dockerfile-windows.template @@ -1,4 +1,7 @@ {{ + def rcVersion: + env.version | rtrimstr("-rc") + ; def extension: .checksums.windows.url | split(".")[-1] ; @@ -8,9 +11,14 @@ FROM mcr.microsoft.com/windows/{{ env.windowsVariant }}:{{ env.windowsRelease }} SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] +{{ if rcVersion | IN("3.11", "3.12", "3.13", "3.14", "3.15") then ( -}} +{{ # only set PYTHONIOENCODING on versions less than 3.16 -}} # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 +{{ # reproducer: docker run --rm python:{{ env.version }}-windowsservercore-{{ env.windowsRelease }} python -c 'print(chr(0x4e2d))' -}} +{{ # https://github.com/docker-library/python/pull/1144#pullrequestreview-5634536246 -}} +{{ ) else "" end -}} {{ # installer sets path for older python, but needs to be set for the zip download if is_windows_zip then ( From d01180b5d8b1664a9b87862e3cafeafbe87383c6 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 23 Oct 2026 16:43:40 -0700 Subject: [PATCH 70/76] Set LANG on all Linux variants again, including 3.13+ (#1145) Restore `ENV LANG C.UTF-8` on 3.13 and later, undoing the 3.13+ part of 0d539116. Without it, two groups of users break: embedded interpreters (uWSGI, mod_wsgi) before 3.15, which fall back to ASCII filesystem and stdio encodings because they don't get the locale coercion and UTF-8 mode that the `python` CLI does, and alpine on every version through 3.16-rc, where musl never gets `LC_CTYPE` set so libraries that read locale environment variables (babel) find nothing. This is the same class of failure that got the original removal reverted in f871d043. Replace the template comment with those concrete reasons, and add a one-line `docker run` reproducer for the embedded case. Regenerate the Dockerfiles. Co-authored-by: Tianon Gravi --- 3.11/alpine3.23/Dockerfile | 4 ++++ 3.11/alpine3.24/Dockerfile | 4 ++++ 3.11/bookworm/Dockerfile | 4 ++++ 3.11/slim-bookworm/Dockerfile | 4 ++++ 3.11/slim-trixie/Dockerfile | 4 ++++ 3.11/trixie/Dockerfile | 4 ++++ 3.12/alpine3.23/Dockerfile | 4 ++++ 3.12/alpine3.24/Dockerfile | 4 ++++ 3.12/bookworm/Dockerfile | 4 ++++ 3.12/slim-bookworm/Dockerfile | 4 ++++ 3.12/slim-trixie/Dockerfile | 4 ++++ 3.12/trixie/Dockerfile | 4 ++++ 3.13/alpine3.23/Dockerfile | 9 +++++++++ 3.13/alpine3.24/Dockerfile | 9 +++++++++ 3.13/bookworm/Dockerfile | 9 +++++++++ 3.13/slim-bookworm/Dockerfile | 9 +++++++++ 3.13/slim-trixie/Dockerfile | 9 +++++++++ 3.13/trixie/Dockerfile | 9 +++++++++ 3.14/alpine3.23/Dockerfile | 9 +++++++++ 3.14/alpine3.24/Dockerfile | 9 +++++++++ 3.14/bookworm/Dockerfile | 9 +++++++++ 3.14/slim-bookworm/Dockerfile | 9 +++++++++ 3.14/slim-trixie/Dockerfile | 9 +++++++++ 3.14/trixie/Dockerfile | 9 +++++++++ 3.15/alpine3.23/Dockerfile | 9 +++++++++ 3.15/alpine3.24/Dockerfile | 9 +++++++++ 3.15/bookworm/Dockerfile | 9 +++++++++ 3.15/slim-bookworm/Dockerfile | 9 +++++++++ 3.15/slim-trixie/Dockerfile | 9 +++++++++ 3.15/trixie/Dockerfile | 9 +++++++++ 3.16-rc/alpine3.23/Dockerfile | 9 +++++++++ 3.16-rc/alpine3.24/Dockerfile | 9 +++++++++ 3.16-rc/slim-trixie/Dockerfile | 9 +++++++++ 3.16-rc/trixie/Dockerfile | 9 +++++++++ Dockerfile-linux.template | 7 ++++--- 35 files changed, 250 insertions(+), 3 deletions(-) diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index 21fd4c70c..517c5c645 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -10,8 +10,12 @@ FROM alpine:3.23 ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index 76e41d417..2d9b4c568 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -10,8 +10,12 @@ FROM alpine:3.24 ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index 106e28002..d5007a081 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -10,8 +10,12 @@ FROM buildpack-deps:bookworm ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index 6fc35c4d5..7b5f38efc 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -10,8 +10,12 @@ FROM debian:bookworm-slim ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index 3629f7644..d480e5e51 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -10,8 +10,12 @@ FROM debian:trixie-slim ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index d90fb640a..3d4ae0d23 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -10,8 +10,12 @@ FROM buildpack-deps:trixie ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.11 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 0379fb14b..7e9434031 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -10,8 +10,12 @@ FROM alpine:3.23 ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/alpine3.24/Dockerfile b/3.12/alpine3.24/Dockerfile index 9470bbab6..66b4e977e 100644 --- a/3.12/alpine3.24/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -10,8 +10,12 @@ FROM alpine:3.24 ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index a580001dd..77161177a 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -10,8 +10,12 @@ FROM buildpack-deps:bookworm ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 0658ea6df..474bb4d25 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -10,8 +10,12 @@ FROM debian:bookworm-slim ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index b184625b8..6851c2efc 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -10,8 +10,12 @@ FROM debian:trixie-slim ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index 409c1452c..fef58139b 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -10,8 +10,12 @@ FROM buildpack-deps:trixie ENV PATH /usr/local/bin:$PATH # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.12 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 # runtime dependencies diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index 424eb6f9d..c88143d9f 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 14788257f..720a773fa 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 0152e0195..4c7599475 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:bookworm # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index 046330be9..6bbeaea52 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM debian:bookworm-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index f32081f1c..aa37cc9a5 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -9,6 +9,15 @@ FROM debian:trixie-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index eaf1e181c..342902cd4 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:trixie # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.13 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index fcbccaa81..698552738 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index 50bdfb6ff..9e740e194 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index df08d2388..9b454c937 100644 --- a/3.14/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:bookworm # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index 39192728d..ac87e18f3 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM debian:bookworm-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 7425a1e18..6538b57b7 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -9,6 +9,15 @@ FROM debian:trixie-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 492e66405..9646b9b48 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:trixie # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.14 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.15/alpine3.23/Dockerfile b/3.15/alpine3.23/Dockerfile index 7544dec24..1d917edc0 100644 --- a/3.15/alpine3.23/Dockerfile +++ b/3.15/alpine3.23/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.15/alpine3.24/Dockerfile b/3.15/alpine3.24/Dockerfile index daad35628..da1d2dfc8 100644 --- a/3.15/alpine3.24/Dockerfile +++ b/3.15/alpine3.24/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.15/bookworm/Dockerfile b/3.15/bookworm/Dockerfile index 9428aad02..f002847e0 100644 --- a/3.15/bookworm/Dockerfile +++ b/3.15/bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:bookworm # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.15/slim-bookworm/Dockerfile b/3.15/slim-bookworm/Dockerfile index f9bc43c52..22bbd6542 100644 --- a/3.15/slim-bookworm/Dockerfile +++ b/3.15/slim-bookworm/Dockerfile @@ -9,6 +9,15 @@ FROM debian:bookworm-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.15/slim-trixie/Dockerfile b/3.15/slim-trixie/Dockerfile index 409e58c59..3d9576a9b 100644 --- a/3.15/slim-trixie/Dockerfile +++ b/3.15/slim-trixie/Dockerfile @@ -9,6 +9,15 @@ FROM debian:trixie-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.15/trixie/Dockerfile b/3.15/trixie/Dockerfile index 525464355..1768537cb 100644 --- a/3.15/trixie/Dockerfile +++ b/3.15/trixie/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:trixie # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.15 sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.16-rc/alpine3.23/Dockerfile b/3.16-rc/alpine3.23/Dockerfile index 935da0f4b..bda64853b 100644 --- a/3.16-rc/alpine3.23/Dockerfile +++ b/3.16-rc/alpine3.23/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.23 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.16-rc sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.16-rc/alpine3.24/Dockerfile b/3.16-rc/alpine3.24/Dockerfile index b9a7af65d..25fbda7ce 100644 --- a/3.16-rc/alpine3.24/Dockerfile +++ b/3.16-rc/alpine3.24/Dockerfile @@ -9,6 +9,15 @@ FROM alpine:3.24 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.16-rc sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apk add --no-cache \ diff --git a/3.16-rc/slim-trixie/Dockerfile b/3.16-rc/slim-trixie/Dockerfile index 8dca73628..96a241639 100644 --- a/3.16-rc/slim-trixie/Dockerfile +++ b/3.16-rc/slim-trixie/Dockerfile @@ -9,6 +9,15 @@ FROM debian:trixie-slim # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.16-rc sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/3.16-rc/trixie/Dockerfile b/3.16-rc/trixie/Dockerfile index 45055a827..66264ac4e 100644 --- a/3.16-rc/trixie/Dockerfile +++ b/3.16-rc/trixie/Dockerfile @@ -9,6 +9,15 @@ FROM buildpack-deps:trixie # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH +# cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none +# last attempted removal of LANG broke many users: +# https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:3.16-rc sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' +ENV LANG C.UTF-8 + # runtime dependencies RUN set -eux; \ apt-get update; \ diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index f95548890..2509ecddb 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -25,14 +25,15 @@ FROM buildpack-deps:{{ env.variant }} # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH -{{ if rcVersion | IN("3.11", "3.12") then ( -}} -{{ # only set LANG on versions less than 3.13 -}} # cannot remove LANG even though https://bugs.python.org/issue19846 is fixed +# - embedded interpreters (uWSGI, mod_wsgi, etc) skip locale coercion and UTF-8 mode before Python 3.15, so they fall back to ASCII +# - musl (alpine) never gets LC_CTYPE set, so anything that reads locale environment variables (babel) finds none # last attempted removal of LANG broke many users: # https://github.com/docker-library/python/pull/570 +# embedded interpreter reproducer (fails with UnicodeEncodeError without LANG on 3.14 and earlier, needs a non-slim Debian variant for gcc): +# docker run --rm --env LANG= python:{{ env.version }} sh -c 'printf "#include \nint main(){Py_Initialize();PyRun_SimpleString(\"print(chr(252),flush=True)\");}" | gcc -x c - $(python3-config --embed --cflags --ldflags) && ./a.out' ENV LANG C.UTF-8 -{{ ) else "" end -}} # runtime dependencies {{ if is_alpine then ( -}} RUN set -eux; \ From 3d7e95597e56a415d9e4abc0f15877e005d2cb2e Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Sun, 25 Oct 2026 13:49:13 -0700 Subject: [PATCH 71/76] Update 3.12 to 3.12.16 --- 3.12/alpine3.23/Dockerfile | 4 ++-- 3.12/alpine3.24/Dockerfile | 4 ++-- 3.12/bookworm/Dockerfile | 4 ++-- 3.12/slim-bookworm/Dockerfile | 4 ++-- 3.12/slim-trixie/Dockerfile | 4 ++-- 3.12/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.12/alpine3.23/Dockerfile b/3.12/alpine3.23/Dockerfile index 7e9434031..2814640cb 100644 --- a/3.12/alpine3.23/Dockerfile +++ b/3.12/alpine3.23/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/3.12/alpine3.24/Dockerfile b/3.12/alpine3.24/Dockerfile index 66b4e977e..7133ae8ff 100644 --- a/3.12/alpine3.24/Dockerfile +++ b/3.12/alpine3.24/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/3.12/bookworm/Dockerfile b/3.12/bookworm/Dockerfile index 77161177a..e3e687f55 100644 --- a/3.12/bookworm/Dockerfile +++ b/3.12/bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/3.12/slim-bookworm/Dockerfile b/3.12/slim-bookworm/Dockerfile index 474bb4d25..70d148608 100644 --- a/3.12/slim-bookworm/Dockerfile +++ b/3.12/slim-bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/3.12/slim-trixie/Dockerfile b/3.12/slim-trixie/Dockerfile index 6851c2efc..76678dcf4 100644 --- a/3.12/slim-trixie/Dockerfile +++ b/3.12/slim-trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/3.12/trixie/Dockerfile b/3.12/trixie/Dockerfile index fef58139b..e175d309e 100644 --- a/3.12/trixie/Dockerfile +++ b/3.12/trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.12.15 -ENV PYTHON_SHA256 c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a +ENV PYTHON_VERSION 3.12.16 +ENV PYTHON_SHA256 b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 117b703d2..ab80644b1 100644 --- a/versions.json +++ b/versions.json @@ -21,7 +21,7 @@ "3.12": { "checksums": { "source": { - "sha256": "c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a" + "sha256": "b5796915dc45ff745cfb4e990a7e7c93d6f546328a102ce31448d69ebc37575c" } }, "variants": [ @@ -32,7 +32,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.12.15" + "version": "3.12.16" }, "3.13": { "checksums": { From 152874b138f0b1c4699fbdcb52b174608cfbfff5 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Sun, 25 Oct 2026 15:37:11 -0700 Subject: [PATCH 72/76] Update 3.13 to 3.13.18 --- 3.13/alpine3.23/Dockerfile | 4 +- 3.13/alpine3.24/Dockerfile | 4 +- 3.13/bookworm/Dockerfile | 4 +- 3.13/slim-bookworm/Dockerfile | 4 +- 3.13/slim-trixie/Dockerfile | 4 +- 3.13/trixie/Dockerfile | 4 +- .../windowsservercore-ltsc2022/Dockerfile | 65 ------------------- .../windowsservercore-ltsc2025/Dockerfile | 65 ------------------- versions.json | 12 +--- 9 files changed, 15 insertions(+), 151 deletions(-) delete mode 100644 3.13/windows/windowsservercore-ltsc2022/Dockerfile delete mode 100644 3.13/windows/windowsservercore-ltsc2025/Dockerfile diff --git a/3.13/alpine3.23/Dockerfile b/3.13/alpine3.23/Dockerfile index c88143d9f..ff6245df8 100644 --- a/3.13/alpine3.23/Dockerfile +++ b/3.13/alpine3.23/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/alpine3.24/Dockerfile b/3.13/alpine3.24/Dockerfile index 720a773fa..2048492f4 100644 --- a/3.13/alpine3.24/Dockerfile +++ b/3.13/alpine3.24/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/bookworm/Dockerfile b/3.13/bookworm/Dockerfile index 4c7599475..645eb954e 100644 --- a/3.13/bookworm/Dockerfile +++ b/3.13/bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/slim-bookworm/Dockerfile b/3.13/slim-bookworm/Dockerfile index 6bbeaea52..731ba320c 100644 --- a/3.13/slim-bookworm/Dockerfile +++ b/3.13/slim-bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/slim-trixie/Dockerfile b/3.13/slim-trixie/Dockerfile index aa37cc9a5..5b154dd68 100644 --- a/3.13/slim-trixie/Dockerfile +++ b/3.13/slim-trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/trixie/Dockerfile b/3.13/trixie/Dockerfile index 342902cd4..7988eeeb6 100644 --- a/3.13/trixie/Dockerfile +++ b/3.13/trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305 -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7 +ENV PYTHON_VERSION 3.13.18 +ENV PYTHON_SHA256 abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68 RUN set -eux; \ \ diff --git a/3.13/windows/windowsservercore-ltsc2022/Dockerfile b/3.13/windows/windowsservercore-ltsc2022/Dockerfile deleted file mode 100644 index a1323dfac..000000000 --- a/3.13/windows/windowsservercore-ltsc2022/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2022 - -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -# https://github.com/docker-library/python/pull/557 -ENV PYTHONIOENCODING UTF-8 - -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 - -RUN $url = 'https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe'; \ - Write-Host ('Downloading {0} ...' -f $url); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ - \ - Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ - if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Installing ...'; \ -# https://docs.python.org/3/using/windows.html#installing-without-ui - $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru \ - -ArgumentList @( \ - '/quiet', \ - 'InstallAllUsers=1', \ - 'TargetDir=C:\Python', \ - 'PrependPath=1', \ - 'Shortcuts=0', \ - 'Include_doc=0', \ - 'Include_pip=1', \ - 'Include_test=0' \ - ) \ - ).ExitCode; \ - if ($exitCode -ne 0) { \ - Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); \ - Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; \ - exit $exitCode; \ - } \ - \ -# the installer updated PATH, so we should refresh our local value - $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ - \ - Write-Host 'Removing ...'; \ - Remove-Item python.exe -Force; \ - Remove-Item $env:TEMP/Python*.log -Force; \ - \ - Write-Host 'Verifying install ("python --version") ...'; \ - python --version; \ - \ - $env:PYTHONDONTWRITEBYTECODE = '1'; \ - \ - Write-Host 'Verifying pip install ...'; \ - pip --version; \ - \ - Write-Host 'Complete.' - -CMD ["python"] diff --git a/3.13/windows/windowsservercore-ltsc2025/Dockerfile b/3.13/windows/windowsservercore-ltsc2025/Dockerfile deleted file mode 100644 index e777f6d6f..000000000 --- a/3.13/windows/windowsservercore-ltsc2025/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -# -# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# - -FROM mcr.microsoft.com/windows/servercore:ltsc2025 - -SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] - -# https://github.com/docker-library/python/pull/557 -ENV PYTHONIOENCODING UTF-8 - -ENV PYTHON_VERSION 3.13.17 -ENV PYTHON_SHA256 5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190 - -RUN $url = 'https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe'; \ - Write-Host ('Downloading {0} ...' -f $url); \ - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ - Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ - \ - Write-Host ('Verifying sha256 ({0}) ...' -f $env:PYTHON_SHA256); \ - if ((Get-FileHash python.exe -Algorithm sha256).Hash -ne $env:PYTHON_SHA256) { \ - Write-Host 'FAILED!'; \ - exit 1; \ - }; \ - \ - Write-Host 'Installing ...'; \ -# https://docs.python.org/3/using/windows.html#installing-without-ui - $exitCode = (Start-Process python.exe -Wait -NoNewWindow -PassThru \ - -ArgumentList @( \ - '/quiet', \ - 'InstallAllUsers=1', \ - 'TargetDir=C:\Python', \ - 'PrependPath=1', \ - 'Shortcuts=0', \ - 'Include_doc=0', \ - 'Include_pip=1', \ - 'Include_test=0' \ - ) \ - ).ExitCode; \ - if ($exitCode -ne 0) { \ - Write-Host ('Running python installer failed with exit code: {0}' -f $exitCode); \ - Get-ChildItem $env:TEMP | Sort-Object -Descending -Property LastWriteTime | Select-Object -First 1 | Get-Content; \ - exit $exitCode; \ - } \ - \ -# the installer updated PATH, so we should refresh our local value - $env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \ - \ - Write-Host 'Removing ...'; \ - Remove-Item python.exe -Force; \ - Remove-Item $env:TEMP/Python*.log -Force; \ - \ - Write-Host 'Verifying install ("python --version") ...'; \ - python --version; \ - \ - $env:PYTHONDONTWRITEBYTECODE = '1'; \ - \ - Write-Host 'Verifying pip install ...'; \ - pip --version; \ - \ - Write-Host 'Complete.' - -CMD ["python"] diff --git a/versions.json b/versions.json index ab80644b1..4c8380db4 100644 --- a/versions.json +++ b/versions.json @@ -37,11 +37,7 @@ "3.13": { "checksums": { "source": { - "sha256": "6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7" - }, - "windows": { - "sha256": "5da012101ba2e17113a9a1cd901e9ce1441086f2b7ecb5de06ec94163899a190", - "url": "https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe" + "sha256": "abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68" } }, "variants": [ @@ -50,11 +46,9 @@ "bookworm", "slim-bookworm", "alpine3.24", - "alpine3.23", - "windows/windowsservercore-ltsc2025", - "windows/windowsservercore-ltsc2022" + "alpine3.23" ], - "version": "3.13.17" + "version": "3.13.18" }, "3.14": { "checksums": { From 83054588043b3a7ac1ce8324c9242164b632beb9 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Sun, 25 Oct 2026 19:49:12 -0700 Subject: [PATCH 73/76] Update 3.11 to 3.11.18 --- 3.11/alpine3.23/Dockerfile | 4 ++-- 3.11/alpine3.24/Dockerfile | 4 ++-- 3.11/bookworm/Dockerfile | 4 ++-- 3.11/slim-bookworm/Dockerfile | 4 ++-- 3.11/slim-trixie/Dockerfile | 4 ++-- 3.11/trixie/Dockerfile | 4 ++-- versions.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/3.11/alpine3.23/Dockerfile b/3.11/alpine3.23/Dockerfile index 517c5c645..c52c0818c 100644 --- a/3.11/alpine3.23/Dockerfile +++ b/3.11/alpine3.23/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/3.11/alpine3.24/Dockerfile b/3.11/alpine3.24/Dockerfile index 2d9b4c568..aae7b326c 100644 --- a/3.11/alpine3.24/Dockerfile +++ b/3.11/alpine3.24/Dockerfile @@ -26,8 +26,8 @@ RUN set -eux; \ ; ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/3.11/bookworm/Dockerfile b/3.11/bookworm/Dockerfile index d5007a081..20d9ed3c8 100644 --- a/3.11/bookworm/Dockerfile +++ b/3.11/bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/3.11/slim-bookworm/Dockerfile b/3.11/slim-bookworm/Dockerfile index 7b5f38efc..14f53f16b 100644 --- a/3.11/slim-bookworm/Dockerfile +++ b/3.11/slim-bookworm/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ rm -rf /var/lib/apt/lists/* ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/3.11/slim-trixie/Dockerfile b/3.11/slim-trixie/Dockerfile index d480e5e51..ea4885ed9 100644 --- a/3.11/slim-trixie/Dockerfile +++ b/3.11/slim-trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/3.11/trixie/Dockerfile b/3.11/trixie/Dockerfile index 3d4ae0d23..e39736406 100644 --- a/3.11/trixie/Dockerfile +++ b/3.11/trixie/Dockerfile @@ -29,8 +29,8 @@ RUN set -eux; \ apt-get dist-clean ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D -ENV PYTHON_VERSION 3.11.17 -ENV PYTHON_SHA256 bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599 +ENV PYTHON_VERSION 3.11.18 +ENV PYTHON_SHA256 9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290 RUN set -eux; \ \ diff --git a/versions.json b/versions.json index 4c8380db4..e87e648ee 100644 --- a/versions.json +++ b/versions.json @@ -2,7 +2,7 @@ "3.11": { "checksums": { "source": { - "sha256": "bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599" + "sha256": "9120e0a653868f6e3698d36cdd99e5a58903ec9469e448f21d98f7b16d8fa290" } }, "setuptools": { @@ -16,7 +16,7 @@ "alpine3.24", "alpine3.23" ], - "version": "3.11.17" + "version": "3.11.18" }, "3.12": { "checksums": { From 01dcc3d31fcd879f9af36e097bd96328a457f4bd Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Mon, 26 Oct 2026 01:49:22 -0700 Subject: [PATCH 74/76] Update 3.14 to 3.14.10 --- 3.14/alpine3.23/Dockerfile | 4 ++-- 3.14/alpine3.24/Dockerfile | 4 ++-- 3.14/bookworm/Dockerfile | 4 ++-- 3.14/slim-bookworm/Dockerfile | 4 ++-- 3.14/slim-trixie/Dockerfile | 4 ++-- 3.14/trixie/Dockerfile | 4 ++-- 3.14/windows/windowsservercore-ltsc2022/Dockerfile | 6 +++--- 3.14/windows/windowsservercore-ltsc2025/Dockerfile | 6 +++--- versions.json | 8 ++++---- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/3.14/alpine3.23/Dockerfile b/3.14/alpine3.23/Dockerfile index 698552738..e61655889 100644 --- a/3.14/alpine3.23/Dockerfile +++ b/3.14/alpine3.23/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/alpine3.24/Dockerfile b/3.14/alpine3.24/Dockerfile index 9e740e194..ea0da422c 100644 --- a/3.14/alpine3.24/Dockerfile +++ b/3.14/alpine3.24/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/bookworm/Dockerfile b/3.14/bookworm/Dockerfile index 9b454c937..2f2cbec67 100644 --- a/3.14/bookworm/Dockerfile +++ b/3.14/bookworm/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/slim-bookworm/Dockerfile b/3.14/slim-bookworm/Dockerfile index ac87e18f3..e5731735b 100644 --- a/3.14/slim-bookworm/Dockerfile +++ b/3.14/slim-bookworm/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/slim-trixie/Dockerfile b/3.14/slim-trixie/Dockerfile index 6538b57b7..3e936ce3e 100644 --- a/3.14/slim-trixie/Dockerfile +++ b/3.14/slim-trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/trixie/Dockerfile b/3.14/trixie/Dockerfile index 9646b9b48..5e2f637eb 100644 --- a/3.14/trixie/Dockerfile +++ b/3.14/trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 RUN set -eux; \ \ diff --git a/3.14/windows/windowsservercore-ltsc2022/Dockerfile b/3.14/windows/windowsservercore-ltsc2022/Dockerfile index 15df3b1d0..9dd505c85 100644 --- a/3.14/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2022/Dockerfile @@ -11,10 +11,10 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 92480239264744fe0386a1bd8275786fefa126e3129e56a68e22b52c73329965 -RUN $url = 'https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe'; \ +RUN $url = 'https://www.python.org/ftp/python/3.14.10/python-3.14.10-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ diff --git a/3.14/windows/windowsservercore-ltsc2025/Dockerfile b/3.14/windows/windowsservercore-ltsc2025/Dockerfile index 1d78d66bb..1fb260e94 100644 --- a/3.14/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.14/windows/windowsservercore-ltsc2025/Dockerfile @@ -11,10 +11,10 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.14.9 -ENV PYTHON_SHA256 a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394 +ENV PYTHON_VERSION 3.14.10 +ENV PYTHON_SHA256 92480239264744fe0386a1bd8275786fefa126e3129e56a68e22b52c73329965 -RUN $url = 'https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe'; \ +RUN $url = 'https://www.python.org/ftp/python/3.14.10/python-3.14.10-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ diff --git a/versions.json b/versions.json index e87e648ee..1d01fddc2 100644 --- a/versions.json +++ b/versions.json @@ -53,11 +53,11 @@ "3.14": { "checksums": { "source": { - "sha256": "e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53" + "sha256": "de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032" }, "windows": { - "sha256": "a247a0b612244a803f507b39fb7121e3602e4160d59c3b99d98e735289c53394", - "url": "https://www.python.org/ftp/python/3.14.9/python-3.14.9-amd64.exe" + "sha256": "92480239264744fe0386a1bd8275786fefa126e3129e56a68e22b52c73329965", + "url": "https://www.python.org/ftp/python/3.14.10/python-3.14.10-amd64.exe" } }, "variants": [ @@ -70,7 +70,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.14.9" + "version": "3.14.10" }, "3.15": { "checksums": { From f4c67ece208dead594e43628d22e3c6027dd97ab Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Mon, 26 Oct 2026 02:33:10 -0700 Subject: [PATCH 75/76] Update 3.15 to 3.15.2 --- 3.15/alpine3.23/Dockerfile | 4 ++-- 3.15/alpine3.24/Dockerfile | 4 ++-- 3.15/bookworm/Dockerfile | 4 ++-- 3.15/slim-bookworm/Dockerfile | 4 ++-- 3.15/slim-trixie/Dockerfile | 4 ++-- 3.15/trixie/Dockerfile | 4 ++-- 3.15/windows/windowsservercore-ltsc2022/Dockerfile | 6 +++--- 3.15/windows/windowsservercore-ltsc2025/Dockerfile | 6 +++--- versions.json | 8 ++++---- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/3.15/alpine3.23/Dockerfile b/3.15/alpine3.23/Dockerfile index 1d917edc0..51a28a91d 100644 --- a/3.15/alpine3.23/Dockerfile +++ b/3.15/alpine3.23/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/alpine3.24/Dockerfile b/3.15/alpine3.24/Dockerfile index da1d2dfc8..c28e71b43 100644 --- a/3.15/alpine3.24/Dockerfile +++ b/3.15/alpine3.24/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/bookworm/Dockerfile b/3.15/bookworm/Dockerfile index f002847e0..f3c01cebd 100644 --- a/3.15/bookworm/Dockerfile +++ b/3.15/bookworm/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/slim-bookworm/Dockerfile b/3.15/slim-bookworm/Dockerfile index 22bbd6542..3777cb50a 100644 --- a/3.15/slim-bookworm/Dockerfile +++ b/3.15/slim-bookworm/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ rm -rf /var/lib/apt/lists/* -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/slim-trixie/Dockerfile b/3.15/slim-trixie/Dockerfile index 3d9576a9b..04ebf28d1 100644 --- a/3.15/slim-trixie/Dockerfile +++ b/3.15/slim-trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/trixie/Dockerfile b/3.15/trixie/Dockerfile index 1768537cb..4bbe53aee 100644 --- a/3.15/trixie/Dockerfile +++ b/3.15/trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de RUN set -eux; \ \ diff --git a/3.15/windows/windowsservercore-ltsc2022/Dockerfile b/3.15/windows/windowsservercore-ltsc2022/Dockerfile index 7b6e13225..5793ff487 100644 --- a/3.15/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.15/windows/windowsservercore-ltsc2022/Dockerfile @@ -11,10 +11,10 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 06e225a228191b0f4d1dcf6905fbb21bf9f6970d13a2ec63137ab9bee76f15aa -RUN $url = 'https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe'; \ +RUN $url = 'https://www.python.org/ftp/python/3.15.2/python-3.15.2-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ diff --git a/3.15/windows/windowsservercore-ltsc2025/Dockerfile b/3.15/windows/windowsservercore-ltsc2025/Dockerfile index 5264c0502..a03c84e62 100644 --- a/3.15/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.15/windows/windowsservercore-ltsc2025/Dockerfile @@ -11,10 +11,10 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref # https://github.com/docker-library/python/pull/557 ENV PYTHONIOENCODING UTF-8 -ENV PYTHON_VERSION 3.15.1 -ENV PYTHON_SHA256 8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db +ENV PYTHON_VERSION 3.15.2 +ENV PYTHON_SHA256 06e225a228191b0f4d1dcf6905fbb21bf9f6970d13a2ec63137ab9bee76f15aa -RUN $url = 'https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe'; \ +RUN $url = 'https://www.python.org/ftp/python/3.15.2/python-3.15.2-amd64.exe'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.exe'; \ diff --git a/versions.json b/versions.json index 1d01fddc2..60a9dd67b 100644 --- a/versions.json +++ b/versions.json @@ -75,11 +75,11 @@ "3.15": { "checksums": { "source": { - "sha256": "673ae7232d84c894729882c8257d300ef2d26523911bfd3917ec8ce7f526f99b" + "sha256": "8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de" }, "windows": { - "sha256": "8b23839c6b2f3076fdff44c78d219a5393c7205f666cd95bd0c9a562bf8ea5db", - "url": "https://www.python.org/ftp/python/3.15.1/python-3.15.1-amd64.exe" + "sha256": "06e225a228191b0f4d1dcf6905fbb21bf9f6970d13a2ec63137ab9bee76f15aa", + "url": "https://www.python.org/ftp/python/3.15.2/python-3.15.2-amd64.exe" } }, "variants": [ @@ -92,7 +92,7 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.15.1" + "version": "3.15.2" }, "3.16-rc": { "checksums": { From 3a144d79062aa1f59d2e4e99fc96aec3b5871e72 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 10 Nov 2026 12:49:34 -0800 Subject: [PATCH 76/76] Update 3.16-rc to 3.16.0a2 --- 3.16-rc/alpine3.23/Dockerfile | 4 ++-- 3.16-rc/alpine3.24/Dockerfile | 4 ++-- 3.16-rc/slim-trixie/Dockerfile | 4 ++-- 3.16-rc/trixie/Dockerfile | 4 ++-- 3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile | 6 +++--- 3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile | 6 +++--- versions.json | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/3.16-rc/alpine3.23/Dockerfile b/3.16-rc/alpine3.23/Dockerfile index bda64853b..6af0c95cb 100644 --- a/3.16-rc/alpine3.23/Dockerfile +++ b/3.16-rc/alpine3.23/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 5fb6a0b8b7a70af2ee1386edcfb832e9636a5331b2bf0376a06cac33c43aa0d0 RUN set -eux; \ \ diff --git a/3.16-rc/alpine3.24/Dockerfile b/3.16-rc/alpine3.24/Dockerfile index 25fbda7ce..eeacbcd40 100644 --- a/3.16-rc/alpine3.24/Dockerfile +++ b/3.16-rc/alpine3.24/Dockerfile @@ -25,8 +25,8 @@ RUN set -eux; \ tzdata \ ; -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 5fb6a0b8b7a70af2ee1386edcfb832e9636a5331b2bf0376a06cac33c43aa0d0 RUN set -eux; \ \ diff --git a/3.16-rc/slim-trixie/Dockerfile b/3.16-rc/slim-trixie/Dockerfile index 96a241639..ef89d2585 100644 --- a/3.16-rc/slim-trixie/Dockerfile +++ b/3.16-rc/slim-trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 5fb6a0b8b7a70af2ee1386edcfb832e9636a5331b2bf0376a06cac33c43aa0d0 RUN set -eux; \ \ diff --git a/3.16-rc/trixie/Dockerfile b/3.16-rc/trixie/Dockerfile index 66264ac4e..b1db60fa1 100644 --- a/3.16-rc/trixie/Dockerfile +++ b/3.16-rc/trixie/Dockerfile @@ -28,8 +28,8 @@ RUN set -eux; \ ; \ apt-get dist-clean -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 5fb6a0b8b7a70af2ee1386edcfb832e9636a5331b2bf0376a06cac33c43aa0d0 RUN set -eux; \ \ diff --git a/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile index 76d3db465..04f320d7a 100644 --- a/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile +++ b/3.16-rc/windows/windowsservercore-ltsc2022/Dockerfile @@ -15,10 +15,10 @@ RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ Write-Host 'Complete.' # doing this first to share cache across versions more aggressively -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 e604493562d97593a3456cc4c7e8483448176bf0d4e49d7d74d388dd433f28c7 -RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip'; \ +RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a2-amd64.zip'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.zip'; \ diff --git a/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile index 0fd8f90f4..f6c272e39 100644 --- a/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile +++ b/3.16-rc/windows/windowsservercore-ltsc2025/Dockerfile @@ -15,10 +15,10 @@ RUN $newPath = ('C:\Python;C:\Python\Scripts;{0}' -f $env:PATH); \ Write-Host 'Complete.' # doing this first to share cache across versions more aggressively -ENV PYTHON_VERSION 3.16.0a1 -ENV PYTHON_SHA256 d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454 +ENV PYTHON_VERSION 3.16.0a2 +ENV PYTHON_SHA256 e604493562d97593a3456cc4c7e8483448176bf0d4e49d7d74d388dd433f28c7 -RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip'; \ +RUN $url = 'https://www.python.org/ftp/python/3.16.0/python-3.16.0a2-amd64.zip'; \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \ Invoke-WebRequest -Uri $url -OutFile 'python.zip'; \ diff --git a/versions.json b/versions.json index 60a9dd67b..d3e5e549e 100644 --- a/versions.json +++ b/versions.json @@ -97,11 +97,11 @@ "3.16-rc": { "checksums": { "source": { - "sha256": "dcaa9029436b723e33412c68ca17f0130be73058e47a3a7c049cb8cdf6034ee9" + "sha256": "5fb6a0b8b7a70af2ee1386edcfb832e9636a5331b2bf0376a06cac33c43aa0d0" }, "windows": { - "sha256": "d70c353262f6a2ccd50cd5aa9273e22bc217a75d9ce1855b07b83fc2e6296454", - "url": "https://www.python.org/ftp/python/3.16.0/python-3.16.0a1-amd64.zip" + "sha256": "e604493562d97593a3456cc4c7e8483448176bf0d4e49d7d74d388dd433f28c7", + "url": "https://www.python.org/ftp/python/3.16.0/python-3.16.0a2-amd64.zip" } }, "variants": [ @@ -112,6 +112,6 @@ "windows/windowsservercore-ltsc2025", "windows/windowsservercore-ltsc2022" ], - "version": "3.16.0a1" + "version": "3.16.0a2" } }