Skip to content

Commit 7691bdd

Browse files
add python 3.13 pythons
not yet used for builds yet
1 parent 5ebf2b2 commit 7691bdd

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
echo "$(brew --prefix gnu-tar)/libexec/gnubin" >> "$GITHUB_PATH"
3434
- run: python3 -u docker/install-pythons --dest pythons
3535
- run: |
36-
echo "$PWD/pythons/cp310-cp310/bin" >> "$GITHUB_PATH"
3736
echo "$PWD/pythons/cp311-cp311/bin" >> "$GITHUB_PATH"
3837
echo "$PWD/pythons/cp312-cp312/bin" >> "$GITHUB_PATH"
38+
echo "$PWD/pythons/cp313-cp313/bin" >> "$GITHUB_PATH"
3939
echo "$PWD/venv/bin" >> "$GITHUB_PATH"
4040
- run: python3 -um venv venv && pip install -r docker/requirements.txt
4141
- run: python3 -um build --pypi-url https://pypi.devinfra.sentry.io

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ RUN : \
4646

4747
ENV \
4848
BUILD_IN_CONTAINER=1 \
49-
PATH=/venv/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:/opt/python/cp312-cp312/bin:$PATH \
49+
PATH=/venv/bin:/opt/python/cp311-cp311/bin:/opt/python/cp312-cp312/bin:/opt/python/cp313-cp313/bin:$PATH \
5050
PIP_DISABLE_PIP_VERSION_CHECK=1 \
5151
PIP_NO_CACHE_DIR=1 \
5252
PIP_NO_WARN_ABOUT_ROOT_USER=0

docker/install-pythons

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,24 @@ import sys
1212
import tempfile
1313

1414
RELEASE = (
15-
"https://github.com/indygreg/python-build-standalone/releases/download/20240107/"
15+
"https://github.com/indygreg/python-build-standalone/releases/download/20241016/"
1616
)
17-
# curl --silent --location https://github.com/indygreg/python-build-standalone/releases/download/20240107/SHA256SUMS | grep -E '(aarch64-apple-darwin-pgo\+lto-full|x86_64-apple-darwin-pgo\+lto-full|aarch64-unknown-linux-gnu-lto-full|x86_64-unknown-linux-gnu-pgo\+lto-full)' | grep -v 'cpython-3\.[89]'
17+
# curl --silent --location https://github.com/indygreg/python-build-standalone/releases/download/20241016/SHA256SUMS | grep -E '(aarch64-apple-darwin-pgo\+lto-full|x86_64-apple-darwin-pgo\+lto-full|aarch64-unknown-linux-gnu-lto-full|x86_64-unknown-linux-gnu-pgo\+lto-full)' | grep -Ev 'cpython-3\.(8|9|10)'
1818
CHECKSUMS = """\
19-
c1f3dd13825906a5eae23ed8de9b653edb620568b2e0226eef3784eb1cce7eed cpython-3.11.7+20240107-aarch64-apple-darwin-pgo+lto-full.tar.zst
20-
e066d3fb69162e401d2bb1f3c20798fde7c2fffcba0912d792e46d569b591ab3 cpython-3.11.7+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
21-
3f8caf73f2bfe22efa9666974c119727e163716e88af8ed3caa1e0ae5493de61 cpython-3.11.7+20240107-x86_64-apple-darwin-pgo+lto-full.tar.zst
22-
b7e19b262c19dfb82107e092ba3959b2da9b8bc53aafeb86727996afdb577221 cpython-3.11.7+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
23-
61e51e3490537b800fcefad718157cf775de41044e95aa538b63ab599f66f3a9 cpython-3.12.1+20240107-aarch64-apple-darwin-pgo+lto-full.tar.zst
24-
3621be2cd8b5686e10a022f04869911cad9197a3ef77b30879fe25e792d7c249 cpython-3.12.1+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
25-
bf2b176b0426d7b4d4909c1b19bbb25b4893f9ebdc61e32df144df2b10dcc800 cpython-3.12.1+20240107-x86_64-apple-darwin-pgo+lto-full.tar.zst
26-
f267489a041daf4e523c03d32639de04ee59ca925dff49a8c3ce2f28a9f70a3b cpython-3.12.1+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
19+
afac902c6498cda4095674344b6defbff4500a3687aea597b3710cd070b62756 cpython-3.11.10+20241016-aarch64-apple-darwin-pgo+lto-full.tar.zst
20+
4aa77466ca61b0a3263e3bf55be911cc72f30fd33c81d545f13782b1a35daeec cpython-3.11.10+20241016-aarch64-unknown-linux-gnu-lto-full.tar.zst
21+
672a3d428359c3edd2155bf9d9939e0f51803fe3c81f1643e021d9970f01fbdd cpython-3.11.10+20241016-x86_64-apple-darwin-pgo+lto-full.tar.zst
22+
36498e63788f5a03c0d6249a5df77fbca542bf066eaa6dbb8bbf516194f96e9b cpython-3.11.10+20241016-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
23+
3f8bf335c97424d0be262687906b0f50511f22fede8b9be77363faa57c4b8e7f cpython-3.12.7+20241016-aarch64-apple-darwin-pgo+lto-full.tar.zst
24+
bd7688441ddf8d5dc2ccb288bb31fb862330999a4a3f1544aa4f999c93b85a6a cpython-3.12.7+20241016-aarch64-unknown-linux-gnu-lto-full.tar.zst
25+
4ae54498bd8d17fc8689fc57c7dadd59c625834af1b5f81fa21f943ff0e37643 cpython-3.12.7+20241016-x86_64-apple-darwin-pgo+lto-full.tar.zst
26+
a3709fb5350bff838bd7bb5dc18e67300c76dc3e5cd11f9c84e54c8aeac60784 cpython-3.12.7+20241016-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
27+
542e5ffac0b90dc1d872ba8157c0e96861b339b73a20eb21c53242f8c92e043c cpython-3.13.0+20241016-aarch64-apple-darwin-pgo+lto-full.tar.zst
28+
dab453a00cc921bb9b27db1ea23a7071381ee6b0fb04c5bc299ff9d03c020320 cpython-3.13.0+20241016-aarch64-unknown-linux-gnu-lto-full.tar.zst
29+
1c1262a5105c1ad725c18b15979fb057b699e7b3c5c158d2af9b9c59ad29157b cpython-3.13.0+20241016-x86_64-apple-darwin-pgo+lto-full.tar.zst
30+
078de2a3eef67377684e5054cbb059aa3f53d3189b2e19ab022f6b6242de014b cpython-3.13.0+20241016-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
2731
"""
28-
VERSIONS = ("3.11.7", "3.12.1")
32+
VERSIONS = ("3.11.10", "3.12.7", "3.13.0")
2933
ARCH_MAP = {"arm64": "aarch64"}
3034
ARCH = ARCH_MAP.get(platform.machine(), platform.machine())
3135

0 commit comments

Comments
 (0)