(BUG) UV processor Lock File Maintenance not setting pypi datasource #33669
Unanswered
lbarros-asml
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub with Renovate 39.113.0
Please tell us more about your question or problem
I think I've found a bug when trying to use the Lock File Maintenance to update the uv.lock file (pep621 manager / uv processor):
The problem is that uv processor is not able to use the configured pypi datasources because the implementation only set the UV extra index URLs when a list of updatedDeps is provided:
https://github.com/renovatebot/renovate/blob/39.114.0/lib/modules/manager/pep621/processors/uv.ts#L283-L300
But, as seen here, the "updatedDeps" for lock file maintenance is always empty.
I'd create a PR myself with a fix, but unfortunatly I'm not sure what'd be the right fix. My suggestion would be to check if the deps arg is empty and if so, populate it with all deps found in the pyproject.toml file, but I'm not sure if this is the best fix, or even how to implement it.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions