Support non-latest version of uv
for lock update
#36329
Replies: 2 comments 5 replies
-
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running Renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
You should be able to work around this by manually configuring |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
Currently renovate always uses the latest
uv
version to runuv
commands.However we pin the
uv
version followinguv
's config https://docs.astral.sh/uv/reference/settings/#required-version.When trying to update the lock with an
uv
version which is not therequired-version
it breaks with:This is okayish right now as we update uv frequently, but will be more of an issue with future potential breaking changes.
Reproduction at https://github.com/tanguylefloch-veesion/renovate-repro-uv-version-detection
Suggestion
Use uv's
required-version
when present in thepyproject.toml
Alternative
Accept an
uvVersion
in renovate configBeta Was this translation helpful? Give feedback.
All reactions