### Description With `pyproject.toml`: ``` toml [dependency-groups] foo_bar = [] eggs = [{ include-group = 'foo_bar' }] ``` Running ``` shell pip install . --group eggs ``` Raises this error: ``` ERROR: [dependency-groups] resolution failed for 'eggs' from 'pyproject.toml': Dependency group 'foo_bar' not found ``` Note that installing `foo_bar` works fine: ``` pip install . --group foo_bar ``` ### Expected behavior The install was expected to succeed. ### pip version 25.1 ### Python version 3.12 ### OS macOS ### How to Reproduce See above. ### Output See above. ### Code of Conduct - [x] I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).