Skip to content

fix(deps): switch Renovate to uv manager for lock-file-aware dep scanning#74

Merged
williaby merged 2 commits into
mainfrom
fix/renovate-uv-manager
May 24, 2026
Merged

fix(deps): switch Renovate to uv manager for lock-file-aware dep scanning#74
williaby merged 2 commits into
mainfrom
fix/renovate-uv-manager

Conversation

@williaby
Copy link
Copy Markdown
Collaborator

Summary

  • Replaces pep621/pip_requirements with uv in the template repo's renovate.json. The uv manager reads both pyproject.toml and uv.lock, enabling transitive dep scanning that matches what Dependabot already provides via its native uv.lock parser.
  • Replaces poetry with uv in the generated project template's renovate.json. The template switched from Poetry to UV long ago, but the Renovate config was never updated, leaving all Python dep scanning silently dead.
  • Removes dead Poetry config from the generated template: the poetry manager block, postUpdateOptions: poetryMassage, and packageRules with matchManagers: ["poetry"] (these never fired).
  • Updates dev dep matchDepTypes from "devDependencies" (Poetry) to "dev" (uv dependency-group name).
  • Adds commitish to the codespell ignore list (release-drafter YAML key falsely flagged).
  • Fixes pre-existing em-dashes in two cluster D planning docs.

Why this matters

Renovate was creating no Python dependency PRs because its active manager (pep621) only reads direct deps from pyproject.toml and ignores the lock file. Dependabot uses its own uv.lock parser and was catching transitive CVEs that Renovate missed entirely. After this change, Renovate's uv manager will read the lock file and should begin generating PRs for the open Dependabot alerts.

The self-hosted Renovate instance already has RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS including "^uv lock" and RENOVATE_BINARY_SOURCE: install, so uv manager is fully supported without any server-side changes.

Test plan

  • CI passes on this PR
  • After merge, trigger the self-hosted Renovate bot and confirm it creates Python dep PRs for the open vulnerability alerts
  • Confirm no Poetry-related Renovate PRs appear in generated projects using the updated template

Generated with Claude Code

williaby and others added 2 commits May 24, 2026 11:52
…s in cluster D docs

Adds 'commitish' to codespell ignore list to allow the release-drafter
workflow's YAML key name. Replaces em-dashes in the cluster D planning
and spec docs with colons, satisfying the no-em-dash PC-011 hook.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces pep621/pip_requirements with the uv manager in the template
repo's renovate.json. The uv manager reads both pyproject.toml and
uv.lock, enabling transitive dependency scanning that matches what
Dependabot already provides via its native uv.lock parser.

Replaces poetry with uv in the generated project template's
renovate.json. The template switched from Poetry to UV but the Renovate
config was never updated, leaving all Python dep scanning dead.
Also removes dead Poetry-specific config: the poetry manager block,
postUpdateOptions poetryMassage, and package rules with
matchManagers: ["poetry"]. Updates dev dep matchDepTypes from
"devDependencies" (Poetry) to "dev" (uv dependency-group name).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 24, 2026 19:00
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Warning

Review limit reached

@williaby, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 1 review/hour. Refill in 35 minutes and 2 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: c353b30a-d2f5-49ed-9ef5-d96b633da901

📥 Commits

Reviewing files that changed from the base of the PR and between 33211d9 and d556acf.

📒 Files selected for processing (5)
  • .pre-commit-config.yaml
  • docs/superpowers/plans/2026-05-20-template-cleanup-cluster-D.md
  • docs/superpowers/specs/2026-05-20-template-cleanup-cluster-D-code-quality.md
  • renovate.json
  • {{cookiecutter.project_slug}}/renovate.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/renovate-uv-manager

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Renovate configuration to use the uv manager so dependency scanning (including lock-file-aware / transitive dependencies via uv.lock) works correctly in both the template repository and generated projects.

Changes:

  • Switches the repo-level Renovate managers from pep621/pip_requirements to uv.
  • Updates the generated project’s Renovate config from poetry to uv, including dev dependency grouping (matchDepTypes: ["dev"]) and removal of Poetry-only options.
  • Maintenance/docs hygiene: adds commitish to codespell ignore list and replaces em-dash list formatting in two planning/spec docs.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
renovate.json Switch enabled Renovate managers to uv for lock-file-aware Python dependency scanning.
{{cookiecutter.project_slug}}/renovate.json Migrate Renovate config from Poetry to UV; remove dead Poetry config and align dep grouping with UV.
.pre-commit-config.yaml Prevent false-positive codespell failures on commitish (release-drafter key).
docs/superpowers/specs/2026-05-20-template-cleanup-cluster-D-code-quality.md Replace em-dash list separators with colon formatting.
docs/superpowers/plans/2026-05-20-template-cleanup-cluster-D.md Replace em-dash list separators with colon formatting.

@sonarqubecloud
Copy link
Copy Markdown

@williaby williaby merged commit e23dfb0 into main May 24, 2026
70 checks passed
@williaby williaby deleted the fix/renovate-uv-manager branch May 24, 2026 19:08
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