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 #17687

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Update python #17687

merged 1 commit into from
Oct 7, 2024

Conversation

tianon
Copy link
Member

@tianon tianon commented Oct 7, 2024

Changes:

Changes:

- docker-library/python@3054d7c: Merge pull request docker-library/python#972 from jnoordsij/3.13-ga
- docker-library/python@069d5b0: Drop eol 3.8
- docker-library/python@7c8595e: Add python 3.13 GA release
- docker-library/python@f5fad68: Update PEP links for consistency
@tianon tianon requested a review from a team as a code owner October 7, 2024 21:44
Copy link

github-actions bot commented Oct 7, 2024

Diff for f8e7c7f:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index dc0eb1e..1071069 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -2,37 +2,6 @@ Maintainers: Tianon Gravi <[email protected]> (@tianon), Joseph Ferguson <yosi
 GitRepo: https://github.com/docker-library/python.git
 Builder: buildkit
 
-Tags: 3.8.20-alpine3.19, 3.8-alpine3.19
-Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/alpine3.19
-
-Tags: 3.8.20-alpine3.20, 3.8-alpine3.20, 3.8.20-alpine, 3.8-alpine
-Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/alpine3.20
-
-Tags: 3.8.20-bookworm, 3.8-bookworm
-SharedTags: 3.8.20, 3.8
-Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/bookworm
-
-Tags: 3.8.20-bullseye, 3.8-bullseye
-Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/bullseye
-
-Tags: 3.8.20-slim-bookworm, 3.8-slim-bookworm, 3.8.20-slim, 3.8-slim
-Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/slim-bookworm
-
-Tags: 3.8.20-slim-bullseye, 3.8-slim-bullseye
-Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
-Directory: 3.8/slim-bullseye
-
 Tags: 3.9.20-alpine3.19, 3.9-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
@@ -126,96 +95,96 @@ Architectures: amd64, arm32v7, arm64v8, i386
 GitCommit: 9cd324371ef929bfc5036a00d7705a213d8b5020
 Directory: 3.11/slim-bullseye
 
-Tags: 3.12.7-alpine3.19, 3.12-alpine3.19, 3-alpine3.19, alpine3.19
+Tags: 3.12.7-alpine3.19, 3.12-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/alpine3.19
 
-Tags: 3.12.7-alpine3.20, 3.12-alpine3.20, 3-alpine3.20, alpine3.20, 3.12.7-alpine, 3.12-alpine, 3-alpine, alpine
+Tags: 3.12.7-alpine3.20, 3.12-alpine3.20, 3.12.7-alpine, 3.12-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/alpine3.20
 
-Tags: 3.12.7-bookworm, 3.12-bookworm, 3-bookworm, bookworm
-SharedTags: 3.12.7, 3.12, 3, latest
+Tags: 3.12.7-bookworm, 3.12-bookworm
+SharedTags: 3.12.7, 3.12
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/bookworm
 
-Tags: 3.12.7-bullseye, 3.12-bullseye, 3-bullseye, bullseye
+Tags: 3.12.7-bullseye, 3.12-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/bullseye
 
-Tags: 3.12.7-slim-bookworm, 3.12-slim-bookworm, 3-slim-bookworm, slim-bookworm, 3.12.7-slim, 3.12-slim, 3-slim, slim
+Tags: 3.12.7-slim-bookworm, 3.12-slim-bookworm, 3.12.7-slim, 3.12-slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/slim-bookworm
 
-Tags: 3.12.7-slim-bullseye, 3.12-slim-bullseye, 3-slim-bullseye, slim-bullseye
+Tags: 3.12.7-slim-bullseye, 3.12-slim-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/slim-bullseye
 
-Tags: 3.12.7-windowsservercore-1809, 3.12-windowsservercore-1809, 3-windowsservercore-1809, windowsservercore-1809
-SharedTags: 3.12.7-windowsservercore, 3.12-windowsservercore, 3-windowsservercore, windowsservercore, 3.12.7, 3.12, 3, latest
+Tags: 3.12.7-windowsservercore-1809, 3.12-windowsservercore-1809
+SharedTags: 3.12.7-windowsservercore, 3.12-windowsservercore, 3.12.7, 3.12
 Architectures: windows-amd64
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/windows/windowsservercore-1809
 Builder: classic
 Constraints: windowsservercore-1809
 
-Tags: 3.12.7-windowsservercore-ltsc2022, 3.12-windowsservercore-ltsc2022, 3-windowsservercore-ltsc2022, windowsservercore-ltsc2022
-SharedTags: 3.12.7-windowsservercore, 3.12-windowsservercore, 3-windowsservercore, windowsservercore, 3.12.7, 3.12, 3, latest
+Tags: 3.12.7-windowsservercore-ltsc2022, 3.12-windowsservercore-ltsc2022
+SharedTags: 3.12.7-windowsservercore, 3.12-windowsservercore, 3.12.7, 3.12
 Architectures: windows-amd64
 GitCommit: 4babb0e3da12a080e249f0d15c61404ac2e5d3b0
 Directory: 3.12/windows/windowsservercore-ltsc2022
 Builder: classic
 Constraints: windowsservercore-ltsc2022
 
-Tags: 3.13.0rc3-alpine3.19, 3.13-rc-alpine3.19
+Tags: 3.13.0-alpine3.19, 3.13-alpine3.19, 3-alpine3.19, alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/alpine3.19
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/alpine3.19
 
-Tags: 3.13.0rc3-alpine3.20, 3.13-rc-alpine3.20, 3.13.0rc3-alpine, 3.13-rc-alpine
+Tags: 3.13.0-alpine3.20, 3.13-alpine3.20, 3-alpine3.20, alpine3.20, 3.13.0-alpine, 3.13-alpine, 3-alpine, alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/alpine3.20
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/alpine3.20
 
-Tags: 3.13.0rc3-bookworm, 3.13-rc-bookworm
-SharedTags: 3.13.0rc3, 3.13-rc
+Tags: 3.13.0-bookworm, 3.13-bookworm, 3-bookworm, bookworm
+SharedTags: 3.13.0, 3.13, 3, latest
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/bookworm
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/bookworm
 
-Tags: 3.13.0rc3-bullseye, 3.13-rc-bullseye
+Tags: 3.13.0-bullseye, 3.13-bullseye, 3-bullseye, bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/bullseye
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/bullseye
 
-Tags: 3.13.0rc3-slim-bookworm, 3.13-rc-slim-bookworm, 3.13.0rc3-slim, 3.13-rc-slim
+Tags: 3.13.0-slim-bookworm, 3.13-slim-bookworm, 3-slim-bookworm, slim-bookworm, 3.13.0-slim, 3.13-slim, 3-slim, slim
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/slim-bookworm
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/slim-bookworm
 
-Tags: 3.13.0rc3-slim-bullseye, 3.13-rc-slim-bullseye
+Tags: 3.13.0-slim-bullseye, 3.13-slim-bullseye, 3-slim-bullseye, slim-bullseye
 Architectures: amd64, arm32v7, arm64v8, i386
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/slim-bullseye
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/slim-bullseye
 
-Tags: 3.13.0rc3-windowsservercore-1809, 3.13-rc-windowsservercore-1809
-SharedTags: 3.13.0rc3-windowsservercore, 3.13-rc-windowsservercore, 3.13.0rc3, 3.13-rc
+Tags: 3.13.0-windowsservercore-1809, 3.13-windowsservercore-1809, 3-windowsservercore-1809, windowsservercore-1809
+SharedTags: 3.13.0-windowsservercore, 3.13-windowsservercore, 3-windowsservercore, windowsservercore, 3.13.0, 3.13, 3, latest
 Architectures: windows-amd64
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/windows/windowsservercore-1809
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/windows/windowsservercore-1809
 Builder: classic
 Constraints: windowsservercore-1809
 
-Tags: 3.13.0rc3-windowsservercore-ltsc2022, 3.13-rc-windowsservercore-ltsc2022
-SharedTags: 3.13.0rc3-windowsservercore, 3.13-rc-windowsservercore, 3.13.0rc3, 3.13-rc
+Tags: 3.13.0-windowsservercore-ltsc2022, 3.13-windowsservercore-ltsc2022, 3-windowsservercore-ltsc2022, windowsservercore-ltsc2022
+SharedTags: 3.13.0-windowsservercore, 3.13-windowsservercore, 3-windowsservercore, windowsservercore, 3.13.0, 3.13, 3, latest
 Architectures: windows-amd64
-GitCommit: 24f7d17744c3bceceb3d60e86c81b2e15a8c3104
-Directory: 3.13-rc/windows/windowsservercore-ltsc2022
+GitCommit: 7c8595e8e2b1c8bca0b6d9d146675b94c2a37ec7
+Directory: 3.13/windows/windowsservercore-ltsc2022
 Builder: classic
 Constraints: windowsservercore-ltsc2022
diff --git a/_bashbrew-list b/_bashbrew-list
index 8bd4c45..935f1a5 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -10,24 +10,6 @@ python:3-slim-bullseye
 python:3-windowsservercore
 python:3-windowsservercore-1809
 python:3-windowsservercore-ltsc2022
-python:3.8
-python:3.8-alpine
-python:3.8-alpine3.19
-python:3.8-alpine3.20
-python:3.8-bookworm
-python:3.8-bullseye
-python:3.8-slim
-python:3.8-slim-bookworm
-python:3.8-slim-bullseye
-python:3.8.20
-python:3.8.20-alpine
-python:3.8.20-alpine3.19
-python:3.8.20-alpine3.20
-python:3.8.20-bookworm
-python:3.8.20-bullseye
-python:3.8.20-slim
-python:3.8.20-slim-bookworm
-python:3.8.20-slim-bullseye
 python:3.9
 python:3.9-alpine
 python:3.9-alpine3.19
@@ -106,30 +88,30 @@ python:3.12.7-slim-bullseye
 python:3.12.7-windowsservercore
 python:3.12.7-windowsservercore-1809
 python:3.12.7-windowsservercore-ltsc2022
-python:3.13-rc
-python:3.13-rc-alpine
-python:3.13-rc-alpine3.19
-python:3.13-rc-alpine3.20
-python:3.13-rc-bookworm
-python:3.13-rc-bullseye
-python:3.13-rc-slim
-python:3.13-rc-slim-bookworm
-python:3.13-rc-slim-bullseye
-python:3.13-rc-windowsservercore
-python:3.13-rc-windowsservercore-1809
-python:3.13-rc-windowsservercore-ltsc2022
-python:3.13.0rc3
-python:3.13.0rc3-alpine
-python:3.13.0rc3-alpine3.19
-python:3.13.0rc3-alpine3.20
-python:3.13.0rc3-bookworm
-python:3.13.0rc3-bullseye
-python:3.13.0rc3-slim
-python:3.13.0rc3-slim-bookworm
-python:3.13.0rc3-slim-bullseye
-python:3.13.0rc3-windowsservercore
-python:3.13.0rc3-windowsservercore-1809
-python:3.13.0rc3-windowsservercore-ltsc2022
+python:3.13
+python:3.13-alpine
+python:3.13-alpine3.19
+python:3.13-alpine3.20
+python:3.13-bookworm
+python:3.13-bullseye
+python:3.13-slim
+python:3.13-slim-bookworm
+python:3.13-slim-bullseye
+python:3.13-windowsservercore
+python:3.13-windowsservercore-1809
+python:3.13-windowsservercore-ltsc2022
+python:3.13.0
+python:3.13.0-alpine
+python:3.13.0-alpine3.19
+python:3.13.0-alpine3.20
+python:3.13.0-bookworm
+python:3.13.0-bullseye
+python:3.13.0-slim
+python:3.13.0-slim-bookworm
+python:3.13.0-slim-bullseye
+python:3.13.0-windowsservercore
+python:3.13.0-windowsservercore-1809
+python:3.13.0-windowsservercore-ltsc2022
 python:alpine
 python:alpine3.19
 python:alpine3.20
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index a310932..25c7306 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,9 +1,3 @@
-python:3.8-alpine
-python:3.8-alpine3.19
-python:3.8-bookworm
-python:3.8-bullseye
-python:3.8-slim
-python:3.8-slim-bullseye
 python:3.9-alpine
 python:3.9-alpine3.19
 python:3.9-bookworm
@@ -22,14 +16,14 @@ python:3.11-bookworm
 python:3.11-bullseye
 python:3.11-slim
 python:3.11-slim-bullseye
-python:3.13-rc-alpine
-python:3.13-rc-alpine3.19
-python:3.13-rc-bookworm
-python:3.13-rc-bullseye
-python:3.13-rc-slim
-python:3.13-rc-slim-bullseye
-python:3.13-rc-windowsservercore-1809
-python:3.13-rc-windowsservercore-ltsc2022
+python:3.12-alpine
+python:3.12-alpine3.19
+python:3.12-bookworm
+python:3.12-bullseye
+python:3.12-slim
+python:3.12-slim-bullseye
+python:3.12-windowsservercore-1809
+python:3.12-windowsservercore-ltsc2022
 python:alpine
 python:alpine3.19
 python:bookworm
diff --git a/python_alpine/Dockerfile b/python_3.12-alpine/Dockerfile
similarity index 100%
copy from python_alpine/Dockerfile
copy to python_3.12-alpine/Dockerfile
diff --git a/python_alpine3.19/Dockerfile b/python_3.12-alpine3.19/Dockerfile
similarity index 100%
copy from python_alpine3.19/Dockerfile
copy to python_3.12-alpine3.19/Dockerfile
diff --git a/python_bookworm/Dockerfile b/python_3.12-bookworm/Dockerfile
similarity index 100%
copy from python_bookworm/Dockerfile
copy to python_3.12-bookworm/Dockerfile
diff --git a/python_bullseye/Dockerfile b/python_3.12-bullseye/Dockerfile
similarity index 100%
copy from python_bullseye/Dockerfile
copy to python_3.12-bullseye/Dockerfile
diff --git a/python_slim-bullseye/Dockerfile b/python_3.12-slim-bullseye/Dockerfile
similarity index 100%
copy from python_slim-bullseye/Dockerfile
copy to python_3.12-slim-bullseye/Dockerfile
diff --git a/python_slim/Dockerfile b/python_3.12-slim/Dockerfile
similarity index 100%
copy from python_slim/Dockerfile
copy to python_3.12-slim/Dockerfile
diff --git a/python_windowsservercore-1809/Dockerfile b/python_3.12-windowsservercore-1809/Dockerfile
similarity index 100%
copy from python_windowsservercore-1809/Dockerfile
copy to python_3.12-windowsservercore-1809/Dockerfile
diff --git a/python_windowsservercore-ltsc2022/Dockerfile b/python_3.12-windowsservercore-ltsc2022/Dockerfile
similarity index 100%
copy from python_windowsservercore-ltsc2022/Dockerfile
copy to python_3.12-windowsservercore-ltsc2022/Dockerfile
diff --git a/python_3.13-rc-alpine/Dockerfile b/python_3.13-rc-alpine/Dockerfile
deleted file mode 100644
index 2441584..0000000
diff --git a/python_3.13-rc-alpine3.19/Dockerfile b/python_3.13-rc-alpine3.19/Dockerfile
deleted file mode 100644
index e7de697..0000000
diff --git a/python_3.13-rc-bookworm/Dockerfile b/python_3.13-rc-bookworm/Dockerfile
deleted file mode 100644
index da53799..0000000
diff --git a/python_3.13-rc-bullseye/Dockerfile b/python_3.13-rc-bullseye/Dockerfile
deleted file mode 100644
index 9ef1c77..0000000
diff --git a/python_3.13-rc-slim-bullseye/Dockerfile b/python_3.13-rc-slim-bullseye/Dockerfile
deleted file mode 100644
index cf8e77e..0000000
diff --git a/python_3.13-rc-slim/Dockerfile b/python_3.13-rc-slim/Dockerfile
deleted file mode 100644
index cb9bbfc..0000000
diff --git a/python_3.13-rc-windowsservercore-1809/Dockerfile b/python_3.13-rc-windowsservercore-1809/Dockerfile
deleted file mode 100644
index 1c8c7bd..0000000
diff --git a/python_3.13-rc-windowsservercore-ltsc2022/Dockerfile b/python_3.13-rc-windowsservercore-ltsc2022/Dockerfile
deleted file mode 100644
index 338c2b7..0000000
diff --git a/python_3.8-alpine/Dockerfile b/python_3.8-alpine/Dockerfile
deleted file mode 100644
index 7061926..0000000
diff --git a/python_3.8-alpine3.19/Dockerfile b/python_3.8-alpine3.19/Dockerfile
deleted file mode 100644
index b7371cc..0000000
diff --git a/python_3.8-bookworm/Dockerfile b/python_3.8-bookworm/Dockerfile
deleted file mode 100644
index 3304a49..0000000
diff --git a/python_3.8-bullseye/Dockerfile b/python_3.8-bullseye/Dockerfile
deleted file mode 100644
index 7ac4f74..0000000
diff --git a/python_3.8-slim-bullseye/Dockerfile b/python_3.8-slim-bullseye/Dockerfile
deleted file mode 100644
index 798393a..0000000
diff --git a/python_3.8-slim/Dockerfile b/python_3.8-slim/Dockerfile
deleted file mode 100644
index a368693..0000000
diff --git a/python_alpine/Dockerfile b/python_alpine/Dockerfile
index bee89fc..afd49db 100644
--- a/python_alpine/Dockerfile
+++ b/python_alpine/Dockerfile
@@ -9,11 +9,6 @@ FROM alpine:3.20
 # 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 \
@@ -22,7 +17,7 @@ RUN set -eux; \
 	;
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_alpine3.19/Dockerfile b/python_alpine3.19/Dockerfile
index c2784b6..0895e5c 100644
--- a/python_alpine3.19/Dockerfile
+++ b/python_alpine3.19/Dockerfile
@@ -9,11 +9,6 @@ FROM alpine:3.19
 # 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 \
@@ -22,7 +17,7 @@ RUN set -eux; \
 	;
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_bookworm/Dockerfile b/python_bookworm/Dockerfile
index 5677e4a..58bdbf4 100644
--- a/python_bookworm/Dockerfile
+++ b/python_bookworm/Dockerfile
@@ -9,11 +9,6 @@ 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; \
@@ -25,7 +20,7 @@ RUN set -eux; \
 	rm -rf /var/lib/apt/lists/*
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_bullseye/Dockerfile b/python_bullseye/Dockerfile
index cc136ec..f334cc7 100644
--- a/python_bullseye/Dockerfile
+++ b/python_bullseye/Dockerfile
@@ -9,11 +9,6 @@ FROM buildpack-deps:bullseye
 # 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; \
@@ -25,7 +20,7 @@ RUN set -eux; \
 	rm -rf /var/lib/apt/lists/*
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_slim-bullseye/Dockerfile b/python_slim-bullseye/Dockerfile
index 12414e8..2b2b11c 100644
--- a/python_slim-bullseye/Dockerfile
+++ b/python_slim-bullseye/Dockerfile
@@ -9,11 +9,6 @@ FROM debian:bullseye-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; \
@@ -25,7 +20,7 @@ RUN set -eux; \
 	rm -rf /var/lib/apt/lists/*
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_slim/Dockerfile b/python_slim/Dockerfile
index 59ff542..9237983 100644
--- a/python_slim/Dockerfile
+++ b/python_slim/Dockerfile
@@ -9,11 +9,6 @@ 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; \
@@ -25,7 +20,7 @@ RUN set -eux; \
 	rm -rf /var/lib/apt/lists/*
 
 ENV GPG_KEY 7169605F62C751356D054A26A821E680E5FA6305
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 RUN set -eux; \
 	\
diff --git a/python_windowsservercore-1809/Dockerfile b/python_windowsservercore-1809/Dockerfile
index 6141b69..c15287f 100644
--- a/python_windowsservercore-1809/Dockerfile
+++ b/python_windowsservercore-1809/Dockerfile
@@ -11,7 +11,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
 # https://github.com/docker-library/python/pull/557
 ENV PYTHONIOENCODING UTF-8
 
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 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/python_windowsservercore-ltsc2022/Dockerfile b/python_windowsservercore-ltsc2022/Dockerfile
index 0c79621..4977b39 100644
--- a/python_windowsservercore-ltsc2022/Dockerfile
+++ b/python_windowsservercore-ltsc2022/Dockerfile
@@ -11,7 +11,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
 # https://github.com/docker-library/python/pull/557
 ENV PYTHONIOENCODING UTF-8
 
-ENV PYTHON_VERSION 3.12.7
+ENV PYTHON_VERSION 3.13.0
 
 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); \

Relevant Maintainers:

@tianon tianon merged commit 5dc3a38 into docker-library:master Oct 7, 2024
39 checks passed
@tianon tianon deleted the python branch October 7, 2024 23:39
@jnoordsij jnoordsij mentioned this pull request Oct 18, 2024
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.

2 participants