PYTHON-5980 Commit uv.lock and automate weekly updates - #2977
Open
blink1073 wants to merge 9 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (2)
.github/workflows/test-python.yml:54
- The lockfile drift check runs after linting/build/typecheck and the synchro smoke test, so a simple
uv.lockmismatch will still consume most of the job time before failing. Consider movinguv lock --checkimmediately after installing uv (and beforejust install) to fail fast and reduce CI time/cost.
- name: Check lockfile is up to date
run: |
uv lock --check
CONTRIBUTING.md:593
- This sentence says to "take either side" when resolving a conflict, but the example only shows
git checkout --ours. Consider tightening the wording to match the example (or mention--theirsexplicitly) to avoid confusion.
To resolve a `uv.lock` conflict when rebasing, take either side and regenerate rather
than editing the file by hand:
aclark4life
approved these changes
Aug 6, 2026
aclark4life
requested review from
a team and
NoahStapp
and removed request for
a team
August 6, 2026 14:40
Contributor
|
Test failure related? |
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.
PYTHON-5980
Changes in this PR
Commits
uv.lockand moves routine dependency upgrades to a scheduled workflow, reversingd150c687(PYTHON-5862).uv.lockis tracked again, and CI fails when it drifts frompyproject.toml..github/actions/set-uv-exclude-neweris removed. Its absolute cutoff conflicts with a committed lock, andpyproject.tomlsupplies the cooldown.Requires an
automationenvironment holdingAPP_IDandAPP_PRIVATE_KEY. The workflow is pinned tobc33fb6, the mergedv3SHA from mongodb-labs/drivers-github-tools#113.Test Plan
pyproject.toml, and deleting it and regenerating produces an identical file.uv lock --checkstep was tested in both directions: it passes on the committed lock, and it fails whenpyproject.tomlchanges without a relock.just typing,just lint, andjust lint-manualpass.Checklist
Checklist for Author
Checklist for Reviewer
AI assistance disclosure
Claude Code was used throughout: design, implementation, tests, review, and the end to end validation runs. Every change has been reviewed line by line by the author.