Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python #16462

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Update python #16462

merged 1 commit into from
Mar 25, 2024

Conversation

yosifkit
Copy link
Member

Changes:

Changes:

- docker-library/python@1b7a110: Merge pull request docker-library/python#895 from infosiftr/utf-note
- docker-library/python@656d5af: Merge pull request docker-library/python#914 from infosiftr/3.10-key
- docker-library/python@44def75: Swap 3.10 release key back to Pablo
@yosifkit yosifkit requested a review from a team as a code owner March 22, 2024 22:41
Copy link

Diff for 0ea76f3:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 8988c32..b18a966 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -4,126 +4,126 @@ Builder: buildkit
 
 Tags: 3.8.19-alpine3.18, 3.8-alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/alpine3.18
 
 Tags: 3.8.19-alpine3.19, 3.8-alpine3.19, 3.8.19-alpine, 3.8-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/alpine3.19
 
 Tags: 3.8.19-bookworm, 3.8-bookworm
 SharedTags: 3.8.19, 3.8
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/bookworm
 
 Tags: 3.8.19-bullseye, 3.8-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/bullseye
 
 Tags: 3.8.19-slim-bookworm, 3.8-slim-bookworm, 3.8.19-slim, 3.8-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/slim-bookworm
 
 Tags: 3.8.19-slim-bullseye, 3.8-slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: cce15d1c9e3b6d9dfc4a1765bfe93bd7542104df
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.8/slim-bullseye
 
 Tags: 3.9.19-alpine3.18, 3.9-alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/alpine3.18
 
 Tags: 3.9.19-alpine3.19, 3.9-alpine3.19, 3.9.19-alpine, 3.9-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/alpine3.19
 
 Tags: 3.9.19-bookworm, 3.9-bookworm
 SharedTags: 3.9.19, 3.9
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/bookworm
 
 Tags: 3.9.19-bullseye, 3.9-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/bullseye
 
 Tags: 3.9.19-slim-bookworm, 3.9-slim-bookworm, 3.9.19-slim, 3.9-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/slim-bookworm
 
 Tags: 3.9.19-slim-bullseye, 3.9-slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: b12dd3ed3ff57ae8f69b498a3ece3978646d20c5
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.9/slim-bullseye
 
 Tags: 3.10.14-alpine3.18, 3.10-alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/alpine3.18
 
 Tags: 3.10.14-alpine3.19, 3.10-alpine3.19, 3.10.14-alpine, 3.10-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/alpine3.19
 
 Tags: 3.10.14-bookworm, 3.10-bookworm
 SharedTags: 3.10.14, 3.10
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/bookworm
 
 Tags: 3.10.14-bullseye, 3.10-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/bullseye
 
 Tags: 3.10.14-slim-bookworm, 3.10-slim-bookworm, 3.10.14-slim, 3.10-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/slim-bookworm
 
 Tags: 3.10.14-slim-bullseye, 3.10-slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 397357517f9570687adbae192f56406dd641831e
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.10/slim-bullseye
 
 Tags: 3.11.8-alpine3.18, 3.11-alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/alpine3.18
 
 Tags: 3.11.8-alpine3.19, 3.11-alpine3.19, 3.11.8-alpine, 3.11-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/alpine3.19
 
 Tags: 3.11.8-bookworm, 3.11-bookworm
 SharedTags: 3.11.8, 3.11
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/bookworm
 
 Tags: 3.11.8-bullseye, 3.11-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/bullseye
 
 Tags: 3.11.8-slim-bookworm, 3.11-slim-bookworm, 3.11.8-slim, 3.11-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/slim-bookworm
 
 Tags: 3.11.8-slim-bullseye, 3.11-slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 105d6f34e7d70aad6f8c3e249b8208efa591916a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.11/slim-bullseye
 
 Tags: 3.11.8-windowsservercore-1809, 3.11-windowsservercore-1809
@@ -144,33 +144,33 @@ Constraints: windowsservercore-ltsc2022
 
 Tags: 3.12.2-alpine3.18, 3.12-alpine3.18, 3-alpine3.18, alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/alpine3.18
 
 Tags: 3.12.2-alpine3.19, 3.12-alpine3.19, 3-alpine3.19, alpine3.19, 3.12.2-alpine, 3.12-alpine, 3-alpine, alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/alpine3.19
 
 Tags: 3.12.2-bookworm, 3.12-bookworm, 3-bookworm, bookworm
 SharedTags: 3.12.2, 3.12, 3, latest
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/bookworm
 
 Tags: 3.12.2-bullseye, 3.12-bullseye, 3-bullseye, bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/bullseye
 
 Tags: 3.12.2-slim-bookworm, 3.12-slim-bookworm, 3-slim-bookworm, slim-bookworm, 3.12.2-slim, 3.12-slim, 3-slim, slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/slim-bookworm
 
 Tags: 3.12.2-slim-bullseye, 3.12-slim-bullseye, 3-slim-bullseye, slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: eba24df439d48988302a60cf9ef5cddd5d49b51f
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.12/slim-bullseye
 
 Tags: 3.12.2-windowsservercore-1809, 3.12-windowsservercore-1809, 3-windowsservercore-1809, windowsservercore-1809
@@ -191,33 +191,33 @@ Constraints: windowsservercore-ltsc2022
 
 Tags: 3.13.0a5-alpine3.18, 3.13-rc-alpine3.18
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/alpine3.18
 
 Tags: 3.13.0a5-alpine3.19, 3.13-rc-alpine3.19, 3.13.0a5-alpine, 3.13-rc-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/alpine3.19
 
 Tags: 3.13.0a5-bookworm, 3.13-rc-bookworm
 SharedTags: 3.13.0a5, 3.13-rc
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/bookworm
 
 Tags: 3.13.0a5-bullseye, 3.13-rc-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/bullseye
 
 Tags: 3.13.0a5-slim-bookworm, 3.13-rc-slim-bookworm, 3.13.0a5-slim, 3.13-rc-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/slim-bookworm
 
 Tags: 3.13.0a5-slim-bullseye, 3.13-rc-slim-bullseye
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: ec3500d01443b87701962245a9f465d05007dc8a
+GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
 Directory: 3.13-rc/slim-bullseye
 
 Tags: 3.13.0a5-windowsservercore-1809, 3.13-rc-windowsservercore-1809
diff --git a/python_3.10-alpine/Dockerfile b/python_3.10-alpine/Dockerfile
index 9061c53..bd3ebc8 100644
--- a/python_3.10-alpine/Dockerfile
+++ b/python_3.10-alpine/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -20,7 +21,7 @@ RUN set -eux; \
 		tzdata \
 	;
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.10-alpine3.18/Dockerfile b/python_3.10-alpine3.18/Dockerfile
index ba55304..ea964d6 100644
--- a/python_3.10-alpine3.18/Dockerfile
+++ b/python_3.10-alpine3.18/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -20,7 +21,7 @@ RUN set -eux; \
 		tzdata \
 	;
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.10-bookworm/Dockerfile b/python_3.10-bookworm/Dockerfile
index 10b090d..9f8c092 100644
--- a/python_3.10-bookworm/Dockerfile
+++ b/python_3.10-bookworm/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -23,7 +24,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.10-bullseye/Dockerfile b/python_3.10-bullseye/Dockerfile
index 7464eb3..4b238f9 100644
--- a/python_3.10-bullseye/Dockerfile
+++ b/python_3.10-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -23,7 +24,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.10-slim-bullseye/Dockerfile b/python_3.10-slim-bullseye/Dockerfile
index 2bb35ff..b6cda45 100644
--- a/python_3.10-slim-bullseye/Dockerfile
+++ b/python_3.10-slim-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -23,7 +24,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.10-slim/Dockerfile b/python_3.10-slim/Dockerfile
index 3b478be..21a0731 100644
--- a/python_3.10-slim/Dockerfile
+++ b/python_3.10-slim/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
@@ -23,7 +24,7 @@ RUN set -eux; \
 	; \
 	rm -rf /var/lib/apt/lists/*
 
-ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
+ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
 ENV PYTHON_VERSION 3.10.14
 
 RUN set -eux; \
diff --git a/python_3.11-alpine/Dockerfile b/python_3.11-alpine/Dockerfile
index f148e8c..57500d9 100644
--- a/python_3.11-alpine/Dockerfile
+++ b/python_3.11-alpine/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.11-alpine3.18/Dockerfile b/python_3.11-alpine3.18/Dockerfile
index 2df3b8e..1312121 100644
--- a/python_3.11-alpine3.18/Dockerfile
+++ b/python_3.11-alpine3.18/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.11-bookworm/Dockerfile b/python_3.11-bookworm/Dockerfile
index e59d5f4..bde2921 100644
--- a/python_3.11-bookworm/Dockerfile
+++ b/python_3.11-bookworm/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.11-bullseye/Dockerfile b/python_3.11-bullseye/Dockerfile
index 91fe5b7..8d776c8 100644
--- a/python_3.11-bullseye/Dockerfile
+++ b/python_3.11-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.11-slim-bullseye/Dockerfile b/python_3.11-slim-bullseye/Dockerfile
index 199cb8d..81441cc 100644
--- a/python_3.11-slim-bullseye/Dockerfile
+++ b/python_3.11-slim-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.11-slim/Dockerfile b/python_3.11-slim/Dockerfile
index fcc0aa1..34f07ce 100644
--- a/python_3.11-slim/Dockerfile
+++ b/python_3.11-slim/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.13-rc-alpine/Dockerfile b/python_3.13-rc-alpine/Dockerfile
index 48f4a7a..ef2d5d5 100644
--- a/python_3.13-rc-alpine/Dockerfile
+++ b/python_3.13-rc-alpine/Dockerfile
@@ -9,10 +9,6 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apk add --no-cache \
diff --git a/python_3.13-rc-alpine3.18/Dockerfile b/python_3.13-rc-alpine3.18/Dockerfile
index 47670bc..4c0c167 100644
--- a/python_3.13-rc-alpine3.18/Dockerfile
+++ b/python_3.13-rc-alpine3.18/Dockerfile
@@ -9,10 +9,6 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apk add --no-cache \
diff --git a/python_3.13-rc-bookworm/Dockerfile b/python_3.13-rc-bookworm/Dockerfile
index 8691e44..e88f1f7 100644
--- a/python_3.13-rc-bookworm/Dockerfile
+++ b/python_3.13-rc-bookworm/Dockerfile
@@ -9,10 +9,6 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apt-get update; \
diff --git a/python_3.13-rc-bullseye/Dockerfile b/python_3.13-rc-bullseye/Dockerfile
index d05ea56..bcd6fbd 100644
--- a/python_3.13-rc-bullseye/Dockerfile
+++ b/python_3.13-rc-bullseye/Dockerfile
@@ -9,10 +9,6 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apt-get update; \
diff --git a/python_3.13-rc-slim-bullseye/Dockerfile b/python_3.13-rc-slim-bullseye/Dockerfile
index 44c1cd9..c0280f2 100644
--- a/python_3.13-rc-slim-bullseye/Dockerfile
+++ b/python_3.13-rc-slim-bullseye/Dockerfile
@@ -9,10 +9,6 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apt-get update; \
diff --git a/python_3.13-rc-slim/Dockerfile b/python_3.13-rc-slim/Dockerfile
index d0c2164..2fae207 100644
--- a/python_3.13-rc-slim/Dockerfile
+++ b/python_3.13-rc-slim/Dockerfile
@@ -9,10 +9,6 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
-ENV LANG C.UTF-8
-
 # runtime dependencies
 RUN set -eux; \
 	apt-get update; \
diff --git a/python_3.8-alpine/Dockerfile b/python_3.8-alpine/Dockerfile
index 6230e4f..3e2a01a 100644
--- a/python_3.8-alpine/Dockerfile
+++ b/python_3.8-alpine/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.8-alpine3.18/Dockerfile b/python_3.8-alpine3.18/Dockerfile
index 1d26ca4..68acefc 100644
--- a/python_3.8-alpine3.18/Dockerfile
+++ b/python_3.8-alpine3.18/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.8-bookworm/Dockerfile b/python_3.8-bookworm/Dockerfile
index 28fd85f..452c3ba 100644
--- a/python_3.8-bookworm/Dockerfile
+++ b/python_3.8-bookworm/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.8-bullseye/Dockerfile b/python_3.8-bullseye/Dockerfile
index 0803595..b1336bd 100644
--- a/python_3.8-bullseye/Dockerfile
+++ b/python_3.8-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.8-slim-bullseye/Dockerfile b/python_3.8-slim-bullseye/Dockerfile
index a01650e..d4be4d3 100644
--- a/python_3.8-slim-bullseye/Dockerfile
+++ b/python_3.8-slim-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.8-slim/Dockerfile b/python_3.8-slim/Dockerfile
index 47a9407..9ab8518 100644
--- a/python_3.8-slim/Dockerfile
+++ b/python_3.8-slim/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-alpine/Dockerfile b/python_3.9-alpine/Dockerfile
index 65dc481..2497a45 100644
--- a/python_3.9-alpine/Dockerfile
+++ b/python_3.9-alpine/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-alpine3.18/Dockerfile b/python_3.9-alpine3.18/Dockerfile
index 9f6cd1f..113869c 100644
--- a/python_3.9-alpine3.18/Dockerfile
+++ b/python_3.9-alpine3.18/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-bookworm/Dockerfile b/python_3.9-bookworm/Dockerfile
index 2e3ff76..0503114 100644
--- a/python_3.9-bookworm/Dockerfile
+++ b/python_3.9-bookworm/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-bullseye/Dockerfile b/python_3.9-bullseye/Dockerfile
index e189772..05d58d8 100644
--- a/python_3.9-bullseye/Dockerfile
+++ b/python_3.9-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-slim-bullseye/Dockerfile b/python_3.9-slim-bullseye/Dockerfile
index 2521a9c..04c7b32 100644
--- a/python_3.9-slim-bullseye/Dockerfile
+++ b/python_3.9-slim-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_3.9-slim/Dockerfile b/python_3.9-slim/Dockerfile
index 042854a..c09ecf8 100644
--- a/python_3.9-slim/Dockerfile
+++ b/python_3.9-slim/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_alpine/Dockerfile b/python_alpine/Dockerfile
index 4754071..a4b87d3 100644
--- a/python_alpine/Dockerfile
+++ b/python_alpine/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.19
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_alpine3.18/Dockerfile b/python_alpine3.18/Dockerfile
index e77c8b3..5446b96 100644
--- a/python_alpine3.18/Dockerfile
+++ b/python_alpine3.18/Dockerfile
@@ -9,8 +9,9 @@ FROM alpine:3.18
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_bookworm/Dockerfile b/python_bookworm/Dockerfile
index e6af667..459c5c3 100644
--- a/python_bookworm/Dockerfile
+++ b/python_bookworm/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bookworm
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_bullseye/Dockerfile b/python_bullseye/Dockerfile
index e3ddfd9..aed9629 100644
--- a/python_bullseye/Dockerfile
+++ b/python_bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM buildpack-deps:bullseye
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_slim-bullseye/Dockerfile b/python_slim-bullseye/Dockerfile
index f1b63f4..24bac6a 100644
--- a/python_slim-bullseye/Dockerfile
+++ b/python_slim-bullseye/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bullseye-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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
diff --git a/python_slim/Dockerfile b/python_slim/Dockerfile
index de152dc..204763c 100644
--- a/python_slim/Dockerfile
+++ b/python_slim/Dockerfile
@@ -9,8 +9,9 @@ FROM debian:bookworm-slim
 # ensure local python is preferred over distribution python
 ENV PATH /usr/local/bin:$PATH
 
-# http://bugs.python.org/issue19846
-# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
+# 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

Relevant Maintainers:

@tianon tianon merged commit 35dd726 into docker-library:master Mar 25, 2024
47 checks passed
@tianon tianon deleted the python branch March 25, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants