Skip to content

Commit ed7351e

Browse files
authoredOct 16, 2024··
Merge pull request #981 from sspans-sbp/add-3.14
Add 3.14-rc variants
2 parents fe21c86 + f599a55 commit ed7351e

File tree

10 files changed

+860
-0
lines changed

10 files changed

+860
-0
lines changed
 

‎3.14-rc/alpine3.19/Dockerfile

Lines changed: 125 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/alpine3.20/Dockerfile

Lines changed: 125 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/bookworm/Dockerfile

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/bullseye/Dockerfile

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/slim-bookworm/Dockerfile

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎3.14-rc/slim-bullseye/Dockerfile

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Dockerfile-linux.template

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ RUN set -eux; \
5151
rm -rf /var/lib/apt/lists/*
5252
{{ ) end -}}
5353

54+
{{
55+
def should_pgp:
56+
# https://github.com/docker-library/python/issues/977
57+
# https://peps.python.org/pep-0761/
58+
# https://discuss.python.org/t/pep-761-deprecating-pgp-signatures-for-cpython-artifacts/67180
59+
rcVersion | IN("3.9", "3.10", "3.11", "3.12", "3.13")
60+
-}}
61+
{{ if should_pgp then ( -}}
5462
ENV GPG_KEY {{
5563
{
5664
# gpg: key B26995E310250568: public key "\xc5\x81ukasz Langa (GPG langa.pl) <lukasz@langa.pl>" imported
@@ -74,6 +82,7 @@ ENV GPG_KEY {{
7482
# https://peps.python.org/pep-0719/#release-manager-and-crew
7583
}[rcVersion]
7684
}}
85+
{{ ) else "" end -}}
7786
ENV PYTHON_VERSION {{ .version }}
7887
{{ if .checksums.source.sha256 then ( -}}
7988
ENV PYTHON_SHA256 {{ .checksums.source.sha256 }}
@@ -145,12 +154,14 @@ RUN set -eux; \
145154
{{ if .checksums.source.sha256 then ( -}}
146155
echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; \
147156
{{ ) else "" end -}}
157+
{{ if should_pgp then ( -}}
148158
wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \
149159
GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \
150160
gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; \
151161
gpg --batch --verify python.tar.xz.asc python.tar.xz; \
152162
gpgconf --kill all; \
153163
rm -rf "$GNUPGHOME" python.tar.xz.asc; \
164+
{{ ) else "" end -}}
154165
mkdir -p /usr/src/python; \
155166
tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \
156167
rm python.tar.xz; \

‎versions.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,27 @@
7979
],
8080
"version": "3.13.0"
8181
},
82+
"3.14-rc": {
83+
"checksums": {
84+
"source": {
85+
"sha256": "3e464b0cbb7535e2db34262fd19a0a393d0e62be0f43b1513ed98379b054ead4"
86+
},
87+
"windows": {
88+
"sha256": "c02e8f6f118bcfd216cddeeb7243203202be7ee8004d1465140195fbdac92e55"
89+
}
90+
},
91+
"variants": [
92+
"bookworm",
93+
"slim-bookworm",
94+
"bullseye",
95+
"slim-bullseye",
96+
"alpine3.20",
97+
"alpine3.19",
98+
"windows/windowsservercore-ltsc2022",
99+
"windows/windowsservercore-1809"
100+
],
101+
"version": "3.14.0a1"
102+
},
82103
"3.9": {
83104
"checksums": {
84105
"source": {

0 commit comments

Comments
 (0)
Please sign in to comment.