PYTHON-5980 Update exclude-newer docs for the uv-lock-update action - #2989
Open
blink1073 wants to merge 1 commit into
Open
PYTHON-5980 Update exclude-newer docs for the uv-lock-update action#2989blink1073 wants to merge 1 commit into
blink1073 wants to merge 1 commit into
Conversation
The 7 day cutoff moved from a nonexistent pyproject.toml setting to the uv-lock-update action's exclude_newer input (mongodb-labs/drivers-github-tools#118). Document that local uv lock runs need UV_EXCLUDE_NEWER set explicitly to get it.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates contributor documentation to reflect that the 7-day exclude-newer behavior for uv lock is enforced by the scheduled uv-lock-update GitHub Action (via exclude_newer / UV_EXCLUDE_NEWER), not by pyproject.toml, and instructs developers to set UV_EXCLUDE_NEWER="7 days" when generating uv.lock locally to match CI/workflow behavior.
Changes:
- Clarifies where the 7-day cutoff is configured (the
uv-lock-updateaction input, notpyproject.toml). - Updates local
uv lockinstructions to run withUV_EXCLUDE_NEWER="7 days". - Updates the conflict-resolution snippet to use the same
UV_EXCLUDE_NEWERsetting.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
aclark4life
approved these changes
Aug 16, 2026
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
The 7 day
exclude-newercutoff never actually lived inpyproject.toml— it now comesfrom the
uv-lock-updateaction'sexclude_newerinput (defaulting to7 days, passedas
UV_EXCLUDE_NEWER), per mongodb-labs/drivers-github-tools#118.Updates CONTRIBUTING.md's local
uv lockinstructions to setUV_EXCLUDE_NEWER="7 days"explicitly, since that cutoff is not applied automatically outside the scheduled workflow.
Test Plan
Documentation-only change; verified with
just lintandjust typing.Checklist
Checklist for Author
Checklist for Reviewer