Skip to content

build: Bump Python to 3.13.17 and copy uv from its image - #128730

Merged
joshuarli merged 1 commit into
masterfrom
build/python-3.13.17
Oct 24, 2026
Merged

joshuarli merged 1 commit into
masterfrom
build/python-3.13.17

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Moves .python-version, the setup-sentry default, and the self-hosted build image to Python 3.13.17.

The self-hosted image now copies the uv binary from ghcr.io/astral-sh/uv:0.13.5 (pinned by digest) instead of bootstrapping it with pip install.

pip stays in /.venv here on purpose: getsentry/self-hosted's sentry/Dockerfile and users' enhance-image.sh run pip install against this image to add plugins, so dropping it would break those installs. getsentry and snuba drop it.

The distroless stage moves to dhi-mirror/python:3.13.16-debian13, since DHI has not published 3.13.17 yet. Patch releases share the ABI, so the 3.13.17-built venv runs fine on it. Bump it again once DHI ships 3.13.17.

Draft until getsentry/image-mirror#42 merges and image-mirror-library-python:3.13.17-slim-trixie is on ghcr.io.

via @joshuarli.

--

View Junior Session [Sentry]

Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com>
Comment thread self-hosted/Dockerfile
@joshuarli
joshuarli marked this pull request as ready for review October 24, 2026 01:07
@joshuarli
joshuarli requested review from a team as code owners October 24, 2026 01:07
@joshuarli
joshuarli merged commit 86b1728 into master Oct 24, 2026
69 of 71 checks passed
@joshuarli
joshuarli deleted the build/python-3.13.17 branch October 24, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant