fix: let renovate regenerate uv lockfiles#212
Merged
Conversation
97a0cd5 to
b607fbe
Compare
b607fbe to
3f81a92
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv lockpost-upgrade task responsible for regeneratinguv.lockContext
A consumer Renovate PR changed
pyproject.tomlwithoutuv.lock. The Renovate run did try artifact regeneration, but its built-in uv command was invalid:That happens because the custom regex manager needs
packageName=org/package-repofor GitHub tag lookup, while uv needs the Python package name for--upgrade-package.The same grouped PR also included the shared workflow ref bump, so the branch-level post-upgrade task that ran was
./scripts/sync-shared; the plainuv lockpost-upgrade task did not repair the lockfile.Upstream Renovate has related open uv artifact issues, including renovatebot/renovate#41626 for improving
uv lock --upgrade-packagewith the exact target version. The closest documented workaround pattern for uv lockfile edge cases is plainuv lockinpostUpgradeTasks; see renovatebot/renovate#36121.Renovate's
skipArtifactsUpdatedocs note that, in grouped branches, artifact updates are skipped only when every upgrade in the group wants to skip them. This is why the custom git deps are split into their ownpython-git-depsgroup here.Validation
jq empty default.json renovate.jsonnpx --yes --package=renovate@43 -- renovate-config-validator --strict default.json renovate.json