build: adopt uv exclude-newer and source CI tool versions from mise#637
Conversation
Set [tool.uv] exclude-newer = "7 days" so lockfile resolution matches the Renovate minimumReleaseAge policy, and default-groups = "all" to include every dependency group by default. Regenerating uv.lock adds the relative exclude-newer-span = "P7D" options block. Drop the hardcoded UV_VERSION (drifted to 0.11.1 vs mise's 0.11.28) and PYTHON_VERSION from .gitlab-ci.yml, sourcing both from the shared helpers "tool versions" job that parses the mise config. Keep the 3.10-3.14 test matrix under PYTHON_TEST_VERSION so the dotenv PYTHON_VERSION (higher CI variable precedence) does not collapse it.
PR Summary by QodoBuild: align uv lock resolution with Renovate and source CI tool versions from mise
AI Description
Diagram
High-Level Assessment
Files changed (3)
|

What
pyproject.toml[tool.uv]exclude-newer = "7 days"— cap lockfile resolution to artifacts at least 7 days old, matching the RenovateminimumReleaseAge: "7 days"policy so localuv lock/ lockFileMaintenance and Renovate agree on what counts as "too new".default-groups = "all"(was["test"]) — include every dependency group by default.uv.lockregenerated: only adds the relative[options]block (exclude-newer-span = "P7D"); nothing rolled back since no dependency was newer than 7 days. uv readsexclude-newerfrompyproject.toml, so CI reproduces the same lock (nogit diffchurn in the lint job)..gitlab-ci.yml: drop the hardcodedUV_VERSION(had drifted to0.11.1vs mise's0.11.28) andPYTHON_VERSION, sourcing both from the sharedtool versionsjob that parses the mise config. The 3.10–3.14 test matrix is kept but renamed toPYTHON_TEST_VERSION— the dotenv-providedPYTHON_VERSIONhas higher CI variable precedence thanparallel:matrix, so a same-named matrix var would collapse to a single version.Notes
minimumReleaseAge(gates PR creation) andexclude-newer(gates lock resolution) are complementary, both at 7 days.uv lock --check/uv rundon't re-lock as it slides forward — it only advances on an explicit re-resolution (dep bump,uv lock --upgrade, or lockFileMaintenance).