Repository navigation
build(deps): Install sentry-protos from public PyPI - #132954
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Pin sentry-protos to the sfw index (the public PyPI mirror) instead of internal pypi, and let lint-requirements allow that one package from it. The wheel is the same file on both indexes, so installs don't change. Pilot for DI-2492. Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com>
sentry-junior
Bot
force-pushed
the
build/sentry-protos-public-pypi
branch
from
November 30, 2026 22:38
a768048 to
55a8692
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins
sentry-protosto thesfwindex (Sentry's public PyPI mirror) in[tool.uv.sources], instead of internal pypi, and letslint-requirementsallow that one package fromsfw. Every other package still has to come from internal pypi.The locked 0.132.0 wheel is the same file on both indexes (sha256
aad2caa5…), so installs don't change. Only the URL inuv.lockmoves. This is a pilot exception for DI-2492: unlike #115455, it opts out one package instead of every package that has upstream wheels.Design
sentry-protos is pure Python (
py3-none-any) and craft already publishes it to public PyPI. The internal pypi copy is the same wheel, so the getsentry/pypi round trip adds a PR and a wait to every release and protects nothing. The pilot:sfw, which mirrors public PyPI with Socket's malware checks and serves new releases within minutes.The allowlist lives in both
pyproject.tomlandtools/lint_requirements.pyon purpose: an exception needs a change to the lint tool too, not only topyproject.toml.Rollout plan
sfw. No install changes. Merge in any order.rolling-bump-version.yml. Inert until something dispatches it.sentry-pypicraft target. Needs all of step 1 merged.After step 2 merges, a manual
workflow_dispatchwithsentry-protosand the newest version checks it end to end before step 3. To roll back step 4, put the craft target back and add the missed versions to getsentry/pypi. Steps 1 to 3 roll back by reverting.Seer, launchpad, conduit, relay, and super-big-consumers already lock sentry-protos from
sfw, so they need no change.Decisions
sfw, notpypi.org. It matches what Dependabot and the other consumers already use. It serves without auth, so self-hosted builds and outside contributors can install from it.via @joshuarli.
--
View Session [Sentry]