Have you looked at the PEP 735 proposal for dependency groups? I think this will be well-covered if/when that PEP is accepted.
Edit: Link to thread: PEP 735: Dependency Groups in pyproject.toml
Have you looked at the PEP 735 proposal for dependency groups? I think this will be well-covered if/when that PEP is accepted.
Edit: Link to thread: PEP 735: Dependency Groups in pyproject.toml