Separate extras dependencies from group dependencies
## Describe the bug
When setting `PYTHON_EXTRA_DEPS` on a project using a `pyproject.toml`, the `pip install` fails with:
```
ERROR: [dependency-groups] table was missing from 'pyproject.toml'. Cannot resolve '--group' option.
```
The project still declares its extra dependencies in section `[project.optional-dependencies]`.
## Expected behavior
As declared as an extra deps (`PYTHON_EXTRA_DEPS: dev`), I expect the command is `pip install .[dep]`.
(Finally add any possible additional useful context info here.)