Skip to content

chore(deps): enforce a 14-day uv release cooldown - #100

Merged
ClayMav merged 1 commit into
mainfrom
chore/uv-release-cooldown
Nov 24, 2026
Merged

ClayMav merged 1 commit into
mainfrom
chore/uv-release-cooldown

Conversation

@ClayMav

@ClayMav ClayMav commented Nov 24, 2026

Copy link
Copy Markdown
Member

Problem

Renovate's 14-day cooldown only limits the version Renovate proposes. uv locks the newest release, so locks pick up releases younger than 14 days, and renovate/artifacts fails on Renovate PRs.

Solution

exclude-newer = "14 days" in [tool.uv], so uv enforces the cooldown on every lock: Renovate PRs, monthly lock maintenance, transitive dependencies and local uv lock. Requires uv 0.12 or later. This repo doesn't run the ci-tools relock workflow, so a Renovate security update younger than 14 days fails renovate/artifacts. To take it, add a dated exception under [tool.uv], exclude-newer-package = { <name> = "<the current UTC time, like 2026-11-24T18:00:00Z>" }, then run uv lock. Remove the entry after 14 days: a dated entry holds that package at its date.

[tool.uv] settings are not part of published package metadata, so consumers of this package are unaffected.

CI pins uv 0.7.12 in the workflows, which cannot parse the value, so the pin is bumped to 0.13.7 (the version ci-tools uses).

Version changes

none

The lock was also rewritten by uv 0.13.7 (adds [options] with exclude-newer-span = "P14D").

Exceptions

none

Proof

uv 0.13.7: uv lock --check -> exit 0; uv sync --locked --all-extras --dev -> ok
pytest tests/ -> 363 passed

Not tested

Live API and PyPI publish workflow run only in CI. CI never runs uv lock --check, so it would not catch a stale lock. That gap predates this change.

Made by Claude (Anthropic) in T3 Code (Claude Code harness), as part of an org-wide rollout.

@ClayMav

ClayMav commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

@salty-hambot review

@salty-hambot salty-hambot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Reviewed by Salty Hambot 🤖🧂 at 32920f6

No issues found.
💰 $0.0479 · 28.3k in / 1.1k out tokens · ⏱️ 11.7s · us.openai.gpt-6-sol high, prompt coverage-v1
💬 To request a re-review, comment @salty-hambot review

@ClayMav ClayMav added the please-rubber-stamp Safe changes eligible for a quick review label Nov 24, 2026
@ClayMav
ClayMav requested a review from a team November 24, 2026 17:46
@ClayMav ClayMav self-assigned this Nov 24, 2026
@ClayMav
ClayMav marked this pull request as ready for review November 24, 2026 18:09

@peterfoldes peterfoldes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rubber stamp 🧂 — CI green, salty-hambot clean.

@ClayMav
ClayMav merged commit b0faf7d into main Nov 24, 2026
7 checks passed
@ClayMav
ClayMav deleted the chore/uv-release-cooldown branch November 24, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please-rubber-stamp Safe changes eligible for a quick review

Development

Successfully merging this pull request may close these issues.

2 participants