Skip to content

Pin exclude-newer to 7-day window in pyproject.toml#233

Open
morgan-wowk wants to merge 1 commit intomasterfrom
uv/pin-exclude-newer
Open

Pin exclude-newer to 7-day window in pyproject.toml#233
morgan-wowk wants to merge 1 commit intomasterfrom
uv/pin-exclude-newer

Conversation

@morgan-wowk
Copy link
Copy Markdown
Collaborator

@morgan-wowk morgan-wowk commented May 8, 2026

TL;DR

Pins dependency resolution to exclude packages newer than 7 days old.

What changed?

Added a [tool.uv] configuration block to pyproject.toml with exclude-newer = "7 days", which instructs uv to ignore any packages released within the last 7 days during dependency resolution. The uv.lock file has been updated to reflect this constraint with a concrete timestamp cutoff.

How to test?

Run uv lock and verify that the resolved packages in uv.lock do not include any releases newer than 7 days from the resolution date.

Why make this change?

Newly published packages can sometimes introduce unexpected breakage before the broader ecosystem has had a chance to vet them. By excluding packages released within the last 7 days, dependency resolution becomes more stable and less likely to pull in freshly published versions that may contain bugs or breaking changes.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@morgan-wowk morgan-wowk marked this pull request as ready for review May 8, 2026 22:02
@morgan-wowk morgan-wowk requested a review from Ark-kun as a code owner May 8, 2026 22:02
@morgan-wowk morgan-wowk force-pushed the uv/pin-exclude-newer branch from 86a03df to 37784fa Compare May 8, 2026 22:35
@morgan-wowk morgan-wowk force-pushed the uv/pin-exclude-newer branch from 37784fa to d2eea32 Compare May 8, 2026 22:36
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