Repository navigation
Conversation
Relocate pytest, mypy, ruff, pre-commit, and Sphinx packages from project optional-dependencies into dependency-groups dev and docs. Keep doc/all extras for non-development optional packages only.
Keep lint, test, dev, and all extras alongside PEP 735 dependency groups so workflows that install .[all] or .[doc] continue to receive mypy, pytest, and Sphinx build dependencies.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #395 +/- ##
=======================================
Coverage 96.36% 96.36%
=======================================
Files 58 58
Lines 2092 2092
=======================================
Hits 2016 2016
Misses 76 76 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Moves development and documentation build dependencies out of
[project.optional-dependencies]into PEP 735[dependency-groups], following the same approach as pyt-team/TopoNetX#402.dependency-groups.dev: pytest, mypy, ruff, pre-commit, coverage, and related test toolingdependency-groups.docs: Sphinx and nbsphinx stackdoc/allextras: optional runtime packages onlyContributing docs now show installing with
uv pip install -e . --group devanduv pip install -e .[doc] --group docs.Locally: mypy passes, 148 pytest tests pass, ruff is clean.
Note for maintainers: the CI workflows still install with
uv pip install -e .[all]/.[doc], which no longer pull in the test/docs tooling. Those install lines will need--group dev/--group docsadded. I left the workflow files untouched so you can update them however you prefer.Closes #296