Skip to content

Add 7-day cooldown for dependency resolution via uv exclude-newer#2936

Merged
Kludex merged 3 commits into
mainfrom
uv-exclude-newer-cooldown
May 12, 2026
Merged

Add 7-day cooldown for dependency resolution via uv exclude-newer#2936
Kludex merged 3 commits into
mainfrom
uv-exclude-newer-cooldown

Conversation

@Kludex
Copy link
Copy Markdown
Owner

@Kludex Kludex commented May 12, 2026

Summary

  • Adds exclude-newer = "7 days" to [tool.uv] in pyproject.toml.
  • Mirrors a dependabot-style 7-day cooldown: uv skips package versions uploaded within the last 7 days when resolving dependencies, giving freshly released versions time to shake out before they land here.
  • uv supports relative durations directly for this setting.

Ref: https://docs.astral.sh/uv/reference/settings/#exclude-newer

Test plan

  • uv lock resolves successfully with the new setting.
  • CI passes.

AI Disclaimer

This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 12, 2026

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing uv-exclude-newer-cooldown (27a813a) with main (767315b)

Open in CodSpeed

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

📖 Docs preview: https://909ebe48.uvicorn.pages.dev

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38ad66db93

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
Comment thread pyproject.toml Outdated
@Kludex Kludex enabled auto-merge (squash) May 12, 2026 13:14
@Kludex Kludex merged commit 89347fd into main May 12, 2026
42 of 44 checks passed
@Kludex Kludex deleted the uv-exclude-newer-cooldown branch May 12, 2026 15:48
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