Skip to content

build(py-client): Keep Dependabot uv updates on internal PyPI - #726

Merged
lcian merged 1 commit into
mainfrom
build/dependabot-uv-internal-pypi
Oct 22, 2026
Merged

lcian merged 1 commit into
mainfrom
build/dependabot-uv-internal-pypi

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Port of getsentry/snuba#8522.

Dependabot's uv PRs (e.g. #724) rewrite every uv.lock source from pypi.devinfra.sentry.io to sfw.security.sentry.io.

An org-level Dependabot private registry for Socket Firewall gets injected into every uv job. dependabot-core passes it to uv lock as --default-index, which overrides our default = true index, and there's no way to opt out of org-level registries from config. However, dependabot-core skips any registry whose URL matches a named [[tool.uv.index]] (lock_file_updater.rb). This PR names our index and declares sfw as explicit = true. uv only uses an explicit index for packages pinned to it via [tool.uv.sources], and nothing is pinned to it.

uv.lock is unchanged. After this merges, @dependabot recreate on #724 should produce a small lockfile diff.

via @lcian.

--

View Junior Session [Sentry]

Co-Authored-By: Lorenzo Cian <17258265+lcian@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner October 22, 2026 14:24
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.90%. Comparing base (dbfdd44) to head (aaf1b39).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #726   +/-   ##
=======================================
  Coverage   91.90%   91.90%           
=======================================
  Files         117      117           
  Lines       24124    24124           
=======================================
  Hits        22171    22171           
  Misses       1953     1953           
Components Coverage Δ
Rust Backend 94.91% <ø> (ø)
Rust Client 82.86% <ø> (ø)
Python Client 93.73% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lcian
lcian enabled auto-merge (squash) October 22, 2026 14:51
@lcian lcian changed the title build(deps): Keep Dependabot uv updates on internal PyPI build(py-client): Keep Dependabot uv updates on internal PyPI Oct 22, 2026
@lcian
lcian disabled auto-merge October 22, 2026 14:52
@lcian
lcian enabled auto-merge (squash) October 22, 2026 14:52
@lcian
lcian merged commit 9635970 into main Oct 22, 2026
35 of 36 checks passed
@lcian
lcian deleted the build/dependabot-uv-internal-pypi branch October 22, 2026 15:07
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.

2 participants