Skip to content

fix: install uv for renovate lockfile tasks#214

Merged
jr200 merged 1 commit into
masterfrom
fix/renovate-install-uv-before-lock
Jun 14, 2026
Merged

fix: install uv for renovate lockfile tasks#214
jr200 merged 1 commit into
masterfrom
fix/renovate-install-uv-before-lock

Conversation

@jr200

@jr200 jr200 commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • install uv inside Renovate's execution environment before running the shared Python lockfile post-upgrade task
  • allow that exact install-tool uv && uv lock command in both Renovate passes

Context

The Python lockfile post-upgrade task currently runs uv lock, but the command executes inside Renovate's own environment, not the outer GitHub Actions runner where astral-sh/setup-uv ran. In the failing Renovate run, the post-upgrade task failed with:

spawn uv ENOENT

Renovate then committed only the manifest update, leaving uv.lock stale or missing from the PR.

Renovate's built-in uv artifact updater already installs uv before invoking it. This makes the shared post-upgrade task do the same without hardcoding a uv version.

Validation

  • jq empty default.json renovate.json
  • actionlint .github/workflows/renovate.yaml
  • npx --yes --package=renovate@43 -- renovate-config-validator --strict default.json renovate.json

@jr200 jr200 force-pushed the fix/renovate-install-uv-before-lock branch from 7293615 to eaee3b5 Compare June 14, 2026 03:18
@jr200 jr200 merged commit 50967d6 into master Jun 14, 2026
7 checks passed
@jr200 jr200 deleted the fix/renovate-install-uv-before-lock branch June 14, 2026 03:19
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