Skip to content

Make uv.lock the single source of truth; tidy Renovate config - #319

Merged
ndevenish merged 3 commits into
mainfrom
renovate-config
Nov 6, 2026
Merged

ndevenish merged 3 commits into
mainfrom
renovate-config

Conversation

@ndevenish

Copy link
Copy Markdown
Contributor

Renovate was editing requirements_dev.txt (a uv export of uv.lock) directly, so most of its PRs never touched uv.lock and the two drifted. For example, the certifi bump from #316 never reached the lock.

  • Remove requirements_dev.txt. The CI test job now installs from uv.lock with astral-sh/setup-uv + uv sync --locked.
  • Remove the uv-export pre-commit hook.
  • Remove dependabot, which duplicated Renovate for both Actions and uv.
  • Renovate config:
    • Move from deprecated options to config:recommended and minimumReleaseAge.
    • Enable monthly lockFileMaintenance, which picks up transitive updates.
    • Group all Actions updates into one PR.
    • Group sphinx with sphinx-rtd-theme (the theme constrains the sphinx version).
    • Group non-major dev dependency updates.
  • Apply the outstanding security updates to uv.lock: certifi, opentelemetry, idna, pygments, urllib3, requests, jinja2, setuptools. marshmallow goes to 3.26.2 and stays on 3.x.

Supersedes #280 #281 #282 #283 #284 #291 #292 #293 #294 #297 #299 #301 #303 #311 #313 #314 #315 #317 and #316's lockfile drift.

- Remove requirements_dev.txt; CI now installs from uv.lock via setup-uv.
  Renovate was editing the exported file directly, so uv.lock drifted
  (certifi bump from #316 never reached the lock - applied here).
- Remove dependabot, which duplicated Renovate for actions and uv.
- Modernise Renovate config: drop the pip_requirements grouping, enable
  monthly lock file maintenance, group Actions, sphinx+theme, and
  non-major dev dependency updates.
- Drop the uv-export pre-commit hook.
opentelemetry 1.45.2, idna, pygments, urllib3, requests, jinja2,
setuptools, and marshmallow 3.26.2 (staying on 3.x).
uv.lock recorded a global exclude-newer from a user-level uv.toml,
which CI doesn't have, so `uv sync --locked` refused the lock. Make
the 7-day cooldown a project setting and align Renovate's
minimumReleaseAge with it.
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.35%. Comparing base (7649be4) to head (cf97ca0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #319   +/-   ##
=======================================
  Coverage   81.35%   81.35%           
=======================================
  Files          31       31           
  Lines        5755     5755           
  Branches      332      332           
=======================================
  Hits         4682     4682           
  Misses        995      995           
  Partials       78       78           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ndevenish
ndevenish merged commit bb51d1b into main Nov 6, 2026
9 checks passed
@ndevenish
ndevenish deleted the renovate-config branch November 6, 2026 12:46
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