Description of problem: It would be nice if the pyproject macros supported PEP 735 dependency groups. This could be done by adding a new -g flag to the macro (that can be repeated like -x) that accepts a group name. I have linked the PEP specification and the canonical library for resolving dependency groups (dependency-groups can reference other dependency groups) in Additional info. Steps to Reproduce: See https://peps.python.org/pep-0735/#example-dependency-groups-table. 1. %pyproject_buildrequires -g typing-test Expected results: python3dist(mypy) python3dist(types-requests) python3dist(pytest) python3dist(coverage) python3dist(useful-types) Additional info: https://peps.python.org/pep-0735 https://github.com/sirosen/dependency-groups
Yeah, this is already ready as a PR. https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/486 *** This bug has been marked as a duplicate of bug 2318849 ***