Repository navigation
PYTHON-6151 Define exclude-newer in pyproject.toml - #3103
Merged
Merged
Conversation
aclark4life
requested review from
sleepyStick
and
a balanced review from Copilot
October 7, 2026 17:56
aclark4life
force-pushed
the
PYTHON-6151-exclude-newer
branch
from
October 7, 2026 17:58
ba9ea04 to
b2914a4
Compare
sleepyStick
reviewed
Oct 7, 2026
| required-version = "==0.12.12" | ||
| # Skip dependency releases newer than 7 days. Defined here, not in CI env, | ||
| # so every uv invocation sees the same cutoff. The span floats, so no date | ||
| # to bump. |
Contributor
There was a problem hiding this comment.
nit: I think we can be more concise in this comment, something like:
Skip dependency releases newer than 7 days. Defining it here keeps every uv invocation on the same cutoff.
aclark4life
force-pushed
the
PYTHON-6151-exclude-newer
branch
4 times, most recently
from
October 7, 2026 18:37
b45515b to
5d4ea1e
Compare
The uv-lock-update workflow exported UV_EXCLUDE_NEWER, so the lock and check invocations saw different configs and uv lock --check failed. Define the 7 day cutoff in pyproject.toml so every uv invocation reads the same config.
aclark4life
force-pushed
the
PYTHON-6151-exclude-newer
branch
from
October 7, 2026 18:38
5d4ea1e to
8ae6f0c
Compare
aclark4life
requested review from
sleepyStick
and
a balanced review from Copilot
October 7, 2026 18:40
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
sleepyStick
approved these changes
Oct 7, 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-6151
Changes in this PR
exclude-newer = "7 days"to[tool.uv]inpyproject.toml.uv.lockto record the cutoff in its[options]block.Test Plan
uv lock --checkpasses before and after the lockfile regeneration.Checklist
Checklist for Author
Checklist for Reviewer