Skip to content

Commit 36d33c2

Browse files
authored
Merge branch 'main' into replace-bot-account-with-github-app
2 parents 8422b52 + acf68ea commit 36d33c2

File tree

12 files changed

+509
-100
lines changed

12 files changed

+509
-100
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
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
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/checkout@v3
7272
- uses: actions/setup-python@v4
7373
with:
74-
python-version: '3.10'
74+
python-version: '3.11'
7575
- run: pip install -r docker/requirements.txt
7676
- uses: actions/download-artifact@v4
7777
with:

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.10'
14+
python-version: '3.11'
1515
- uses: pre-commit/[email protected]

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-python@v4
1616
with:
17-
python-version: '3.10'
17+
python-version: '3.11'
1818
- run: pip install tox
1919
- run: tox -e py

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
rev: v3.12.0
1212
hooks:
1313
- id: reorder-python-imports
14-
args: [--py310-plus, --add-import, 'from __future__ import annotations']
14+
args: [--py311-plus, --add-import, 'from __future__ import annotations']
1515
- repo: https://github.com/psf/black
1616
rev: 24.1.1
1717
hooks:
@@ -20,7 +20,7 @@ repos:
2020
rev: v3.15.0
2121
hooks:
2222
- id: pyupgrade
23-
args: [--py310-plus]
23+
args: [--py311-plus]
2424
- repo: https://github.com/PyCQA/flake8
2525
rev: 7.0.0
2626
hooks:

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from packaging.utils import parse_wheel_filename
3333
from packaging.version import Version
3434

35-
PYTHONS = ((3, 10), (3, 11), (3, 12))
35+
PYTHONS = ((3, 11), (3, 12), (3, 13))
3636

3737
BINARY_EXTS = frozenset(
3838
(".c", ".cc", ".cpp", ".cxx", ".pxd", ".pxi", ".pyx", ".go", ".rs")

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.12-slim-buster
1+
FROM python:3.11.4-slim-buster
22
RUN : \
33
&& apt-get update \
44
&& DEBIAN_FRONTEND=noninteractive apt-get install \
@@ -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
@@ -56,7 +56,7 @@ RUN /tmp/install-pythons
5656

5757
COPY requirements.txt /tmp/requirements.txt
5858
RUN : \
59-
&& /opt/python/cp310-cp310/bin/python3.10 -m venv /venv \
59+
&& /opt/python/cp311-cp311/bin/python3.11 -m venv /venv \
6060
&& /venv/bin/pip install --no-cache-dir -r /tmp/requirements.txt
6161

6262
ENTRYPOINT ["dumb-init", "--"]

docker/install-pythons

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3.10
1+
#!/usr/bin/env python3.11
22
from __future__ import annotations
33

44
import argparse
@@ -12,24 +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-
d1a777a0688bafd2a62050c680508769d9b6c14779f64fee591f4e135c11e711 cpython-3.10.13+20240107-aarch64-apple-darwin-pgo+lto-full.tar.zst
20-
4e9fcb141a0c9af986f0819ab7a64c62ceb7b68f33df75753e669fc3d23a3412 cpython-3.10.13+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
21-
b61f6f9cf0c35fd6df90b424e757a3bc1b483e8f8d8fadfa6c1ddd1a0c39c003 cpython-3.10.13+20240107-x86_64-apple-darwin-pgo+lto-full.tar.zst
22-
60e7ca89d37dd8a630a5525bda6143a66a3949c4f03c8319295ddb1d1023b425 cpython-3.10.13+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
23-
c1f3dd13825906a5eae23ed8de9b653edb620568b2e0226eef3784eb1cce7eed cpython-3.11.7+20240107-aarch64-apple-darwin-pgo+lto-full.tar.zst
24-
e066d3fb69162e401d2bb1f3c20798fde7c2fffcba0912d792e46d569b591ab3 cpython-3.11.7+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
25-
3f8caf73f2bfe22efa9666974c119727e163716e88af8ed3caa1e0ae5493de61 cpython-3.11.7+20240107-x86_64-apple-darwin-pgo+lto-full.tar.zst
26-
b7e19b262c19dfb82107e092ba3959b2da9b8bc53aafeb86727996afdb577221 cpython-3.11.7+20240107-x86_64-unknown-linux-gnu-pgo+lto-full.tar.zst
27-
61e51e3490537b800fcefad718157cf775de41044e95aa538b63ab599f66f3a9 cpython-3.12.1+20240107-aarch64-apple-darwin-pgo+lto-full.tar.zst
28-
3621be2cd8b5686e10a022f04869911cad9197a3ef77b30879fe25e792d7c249 cpython-3.12.1+20240107-aarch64-unknown-linux-gnu-lto-full.tar.zst
29-
bf2b176b0426d7b4d4909c1b19bbb25b4893f9ebdc61e32df144df2b10dcc800 cpython-3.12.1+20240107-x86_64-apple-darwin-pgo+lto-full.tar.zst
30-
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
3131
"""
32-
VERSIONS = ("3.10.13", "3.11.7", "3.12.1")
32+
VERSIONS = ("3.11.10", "3.12.7", "3.13.0")
3333
ARCH_MAP = {"arm64": "aarch64"}
3434
ARCH = ARCH_MAP.get(platform.machine(), platform.machine())
3535

docker/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.10
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --allow-unsafe --no-annotate
@@ -12,7 +12,7 @@ filelock==3.13.1
1212
jinja2==3.1.4
1313
markupsafe==2.1.1
1414
packaging==21.3
15-
patchelf==0.14.5.0 ; sys_platform == "linux"
15+
patchelf==0.16.1.0 ; sys_platform == "linux"
1616
platformdirs==4.2.0
1717
pyelftools==0.28
1818
pyparsing==3.0.9

0 commit comments

Comments
 (0)