Skip to content

DRIVERS-3711 [Tools] uv-lock-update should track Dependabot's uv for required-version compatibility - #151

Closed
blink1073 wants to merge 3 commits into
mongodb-labs:mainfrom
blink1073:DRIVERS-3711
Closed

blink1073 wants to merge 3 commits into
mongodb-labs:mainfrom
blink1073:DRIVERS-3711

Conversation

@blink1073

Copy link
Copy Markdown
Member

Ticket: DRIVERS-3711

Summary

Dependabot's updater image ships its own uv and ignores a repository's required-version pin (dependabot-core#13199), so when the two drift apart, Dependabot security updates stop silently: no pull request, no failed check. The new opt-in track_dependabot_uv input makes the weekly lock update keep that pin aligned.

Changes

  • Adds an opt-in input that keeps required-version compatible with the uv version Dependabot's latest updater image ships.
  • When a pin rejects Dependabot's uv, the weekly pull request rewrites it to a floor at that version and regenerates the lock file with Dependabot's own uv.
  • When Dependabot's uv cannot be determined, the run warns and completes a plain lock update, so the weekly pull request never blocks.

Testing

All five python/uv-lock-update test suites pass (130 checks), three of them new; pre-commit run --all-files passes, including the manual shellcheck hook. The new suites run in the test-python CI job.

@blink1073 blink1073 closed this Nov 9, 2026
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