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

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Update python #16983

merged 1 commit into from
Jun 14, 2024

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 13, 2024

Changes:

Changes:

- docker-library/python@676a087: Merge pull request docker-library/python#931 from infosiftr/riscv-speedup
- docker-library/python@2d4fb58: Attempt to speed up riscv64 builds
@tianon tianon requested a review from a team as a code owner June 13, 2024 17:32
Copy link

Diff for ebc85c5:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 69dd0fc..c5362b9 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -66,12 +66,12 @@ Directory: 3.9/slim-bullseye
 
 Tags: 3.10.14-alpine3.19, 3.10-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 1b7a1106674a21e699b155cbd53bf39387284cca
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.10/alpine3.19
 
 Tags: 3.10.14-alpine3.20, 3.10-alpine3.20, 3.10.14-alpine, 3.10-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: f93fe0bd5c6649cc821ab7f8e959a322054fe798
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.10/alpine3.20
 
 Tags: 3.10.14-bookworm, 3.10-bookworm
@@ -97,12 +97,12 @@ Directory: 3.10/slim-bullseye
 
 Tags: 3.11.9-alpine3.19, 3.11-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 89b2500cd1255b1be5f57c1bce598f031172bb0a
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.11/alpine3.19
 
 Tags: 3.11.9-alpine3.20, 3.11-alpine3.20, 3.11.9-alpine, 3.11-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: f93fe0bd5c6649cc821ab7f8e959a322054fe798
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.11/alpine3.20
 
 Tags: 3.11.9-bookworm, 3.11-bookworm
@@ -144,12 +144,12 @@ Constraints: windowsservercore-ltsc2022
 
 Tags: 3.12.4-alpine3.19, 3.12-alpine3.19, 3-alpine3.19, alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: b968d488efc09fd34672fc6238182e1222ae005e
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.12/alpine3.19
 
 Tags: 3.12.4-alpine3.20, 3.12-alpine3.20, 3-alpine3.20, alpine3.20, 3.12.4-alpine, 3.12-alpine, 3-alpine, alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: b968d488efc09fd34672fc6238182e1222ae005e
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.12/alpine3.20
 
 Tags: 3.12.4-bookworm, 3.12-bookworm, 3-bookworm, bookworm
@@ -191,12 +191,12 @@ Constraints: windowsservercore-ltsc2022
 
 Tags: 3.13.0b2-alpine3.19, 3.13-rc-alpine3.19
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 748d6e9b44c0ee63e766a7c601d471e0763383d6
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.13-rc/alpine3.19
 
 Tags: 3.13.0b2-alpine3.20, 3.13-rc-alpine3.20, 3.13.0b2-alpine, 3.13-rc-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, riscv64, s390x
-GitCommit: 748d6e9b44c0ee63e766a7c601d471e0763383d6
+GitCommit: 2d4fb586c48b067b432cf56653ee2541d94fdd7d
 Directory: 3.13-rc/alpine3.20
 
 Tags: 3.13.0b2-bookworm, 3.13-rc-bookworm
diff --git a/python_3.10-alpine/Dockerfile b/python_3.10-alpine/Dockerfile
index 6a97864..3e64dc5 100644
--- a/python_3.10-alpine/Dockerfile
+++ b/python_3.10-alpine/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_3.10-alpine3.19/Dockerfile b/python_3.10-alpine3.19/Dockerfile
index bd3ebc8..9ea2eba 100644
--- a/python_3.10-alpine3.19/Dockerfile
+++ b/python_3.10-alpine3.19/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_3.11-alpine/Dockerfile b/python_3.11-alpine/Dockerfile
index 287a21d..fc7db0f 100644
--- a/python_3.11-alpine/Dockerfile
+++ b/python_3.11-alpine/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_3.11-alpine3.19/Dockerfile b/python_3.11-alpine3.19/Dockerfile
index 56c4811..38eea9f 100644
--- a/python_3.11-alpine3.19/Dockerfile
+++ b/python_3.11-alpine3.19/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_3.13-rc-alpine/Dockerfile b/python_3.13-rc-alpine/Dockerfile
index 8a6dfd4..dcb7d8b 100644
--- a/python_3.13-rc-alpine/Dockerfile
+++ b/python_3.13-rc-alpine/Dockerfile
@@ -68,7 +68,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_3.13-rc-alpine3.19/Dockerfile b/python_3.13-rc-alpine3.19/Dockerfile
index b123742..183b02b 100644
--- a/python_3.13-rc-alpine3.19/Dockerfile
+++ b/python_3.13-rc-alpine3.19/Dockerfile
@@ -68,7 +68,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_alpine/Dockerfile b/python_alpine/Dockerfile
index 0abbbec..a9d082f 100644
--- a/python_alpine/Dockerfile
+++ b/python_alpine/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \
diff --git a/python_alpine3.19/Dockerfile b/python_alpine3.19/Dockerfile
index bf46329..0d81e75 100644
--- a/python_alpine3.19/Dockerfile
+++ b/python_alpine3.19/Dockerfile
@@ -73,7 +73,7 @@ RUN set -eux; \
 	./configure \
 		--build="$gnuArch" \
 		--enable-loadable-sqlite-extensions \
-		--enable-optimizations \
+		$(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') \
 		--enable-option-checking=fatal \
 		--enable-shared \
 		--with-lto \

Relevant Maintainers:

@yosifkit yosifkit merged commit a39fe24 into docker-library:master Jun 14, 2024
47 checks passed
@yosifkit yosifkit deleted the python branch June 14, 2024 17:15
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