Similar to [`poetry`'s dependency groups](https://python-poetry.org/docs/managing-dependencies/#dependency-groups), there's now [an official way](https://peps.python.org/pep-0735/) to specify these in a canonical `pyproject.toml` and it's [supported in `uv`](https://docs.astral.sh/uv/concepts/dependencies/#dependency-groups).