With PEP 735 accepted, pyproject.toml supports a new dependency-groups table dedicated for dev dependencies that are not exposed to built distributions.
We should move our dev dependencies (pytest, mypy, and all sphinx packages) out of package extras to dependency groups. Package extras should only be used for non-development optional packages.
See also pyt-team/TopoNetX#402.
With PEP 735 accepted,
pyproject.tomlsupports a newdependency-groupstable dedicated for dev dependencies that are not exposed to built distributions.We should move our dev dependencies (
pytest,mypy, and allsphinxpackages) out of package extras to dependency groups. Package extras should only be used for non-development optional packages.See also pyt-team/TopoNetX#402.