-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support uv pip compile
on uv manager
#30909
Comments
(and the |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There is possibly a 3rd For example if you want to use "native" I imagine this would be an optional extra (to run |
Hi @rarkins, I’ve been following this discussion and before diving deeper into this, I had a few questions regarding the design of this feature. From what I’ve observed, none of the package managers currently supported by Renovate have manager-specific configuration options tailored in this way. It seems like introducing custom configuration options for uv would be a departure from the existing patterns. Would introducing such options be acceptable, or do you envision a more generalized approach that fits within Renovate's existing design philosophy? If there’s an example of manager-specific configuration I might have missed, could you point me to it? That would help guide the implementation and align it with Renovate's overall architecture. Unless I'm misunderstanding this feature request, I think we might need a configuration option like: {
"lockFileMaintenance":{
"lockfile": "uv.lock" // or "requirements.txt" or ["uv.lock", "requirements.txt"]
}
} This would abstract away the exact mechanism/options used to generate the lockfile. This seems more idiomatic with other configuration options. |
I've only just realised that we could do something similar to pip-compile by adding |
Discussed in #30899
Originally posted by mkniewallner August 20, 2024
Tell us more.
Support for uv manager was added in #30756, which closed #27841, but the PR only added a partial implementation, as uv supports 2 different ways of locking dependencies:
uv.lock
output, which the PR implementedpip-tools
-like one withrequirements.txt
output, throughuv pip compile
, which was the initial discussion of the issueHaving a dedicated issue for the 2nd item would make it easier to track support for it as well.
The text was updated successfully, but these errors were encountered: