From 7914d06b7ddb34b99975318016ab5b9c18264015 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 10 Jun 2026 07:49:26 -0700 Subject: [PATCH 01/37] 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 02/37] 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 03/37] 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 04/37] 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 05/37] 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 06/37] 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 07/37] 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 08/37] 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 09/37] 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 10/37] 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 11/37] 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 12/37] 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 13/37] 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 14/37] 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 15/37] 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 16/37] 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 17/37] 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 18/37] 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 19/37] 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 20/37] 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 21/37] 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 22/37] 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 23/37] 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 24/37] 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 25/37] 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 26/37] 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 27/37] 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 28/37] 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 29/37] 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 30/37] 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 31/37] 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 32/37] 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 33/37] 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 34/37] 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 35/37] 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 36/37] 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 37/37] 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" } }