renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.14k stars 2.23k forks source link

Support `uv pip compile` on uv manager #30909

Open rarkins opened 3 weeks ago

rarkins commented 3 weeks ago

Discussed in https://github.com/renovatebot/renovate/discussions/30899

Originally posted by **mkniewallner** August 20, 2024 ### Tell us more. Support for uv manager was added in https://github.com/renovatebot/renovate/pull/30756, which closed https://github.com/renovatebot/renovate/issues/27841, but the PR only added a partial implementation, as uv supports 2 different ways of locking dependencies: - universal one with `uv.lock` output, which the PR implemented - `pip-tools`-like one with `requirements.txt` output, through `uv pip compile`, which was the initial discussion of the issue Having a dedicated issue for the 2nd item would make it easier to track support for it as well.
zanieb commented 3 weeks ago

(and the pip-tools like interface also includes a --universal resolution flag to perform universal resolutions in the legacy format)