Add support for Python dependency-groups
(PEP 735)
#32147
Closed
mkniewallner
started this conversation in
Suggest an Idea
Replies: 1 comment
-
Resolved by #32148. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
PEP 735 recently got accepted. Similarly to
optional-dependencies
ortool.pdm.dev-dependencies
, it allows defining groups of dependencies inpyproject.toml
like so:When a dependency in a group is not a string, but instead a table, we should skip parsing it, as the only key is
include-group
, which is not relevant for Renovate itself (it only allows reusing a group in another group).Not all tools that support PEP 621 support
dependency-groups
yet (so far, only uv supports it, AFAIK), but I don't think it would be too problematic to already assume that all tools support it, as if a user uses a dependency manager that does not yet supportdependency-groups
, they would have no reason to use the feature anyway.Would be happy to work on the implementation.
Beta Was this translation helpful? Give feedback.
All reactions