pep621 manager: name
is optional under tool.uv.index
, but Renovate considers it required
#34428
Labels
manager:pep621
Python pyproject.toml files
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
Discussed in #34360
Originally posted by aureliojargas February 20, 2025
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, Renovate 39.90.5
Please tell us more about your question or problem
When using
uv
and declaring a custom package index inpyproject.toml
, using thename
attribute is optional:However, Renovate errors out if
name
is missing (see Logs for the full entry):It looks like the related code is the following (there's no default for
name
):renovate/lib/modules/manager/pep621/schema.ts
Lines 79 to 87 in ed5937b
Logs (if relevant)
Logs
Setting
name
to.optional()
should be easy, but a test should be added to verify functionality still works as expected asindex.name
is referenced in code.The text was updated successfully, but these errors were encountered: