Repository navigation
Use dependency groups for development dependencies - #564
Merged
Merged
Conversation
dweindl
force-pushed
the
dependency_groups
branch
from
October 20, 2026 12:53
b33e4ce to
106390a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #564 +/- ##
=======================================
Coverage 78.20% 78.20%
=======================================
Files 68 68
Lines 7845 7845
Branches 1400 1400
=======================================
Hits 6135 6135
Misses 1224 1224
Partials 486 486 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dweindl
marked this pull request as ready for review
October 20, 2026 13:44
dilpath
approved these changes
Oct 20, 2026
| "ipython>=7.21.0, !=8.7.0", | ||
| "pysb", | ||
| ] | ||
| lint = [ |
Member
There was a problem hiding this comment.
Maybe a bad name for this group since we also have petablint/linting in general is relevant to petab users.
Member
Author
There was a problem hiding this comment.
Dropped that group. Now part of dev.
dweindl
force-pushed
the
dependency_groups
branch
from
October 20, 2026 19:44
106390a to
e56a2e7
Compare
Move development-only dependencies from extras to dependency groups (`test`, `doc`, `dev`), keep feature extras (`antimony`, `combine`, `reports`, `sciml`, `vis`) and add an `all` extra. * `dev` (`test` + `pre-commit`) is the default group for `uv sync`. * Merge the former `ci` group into `test`, since the test suite requires `petabtests` and `benchmark_models_petab`. * Use pysb from master via `tool.uv.sources`. * Relax the `Jinja2` pin in `reports`. * Drop the unused `sphinxcontrib-napoleon`. * Read the Docs: install via `uv sync --group doc`. * CI: fetch the BNGL test corpus without syncing the project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dweindl
force-pushed
the
dependency_groups
branch
from
October 20, 2026 19:46
e56a2e7 to
68ab640
Compare
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.
Move development-only dependencies from extras to dependency groups, since they don't need to be part of the published package metadata.
test,doc, anddev(=test+pre-commit).devis the default group, so a plainuv syncgives a development environment.cigroup is merged intotest, since the test suite requirespetabtestsandbenchmark_models_petab.antimony,combine,reports,sciml,visare kept; a newallextra includes all of them.tests,doc, andqualityare removed (→pip install petab[tests]no longer works).[tool.uv.sources](not part of the published metadata).Jinja2pin inreports(old nbsphinx workaround) is relaxed.sphinxcontrib-napoleonis dropped (sphinx.ext.napoleonis used).uv sync --group doc.uv run --no-project, avoiding a sync of the default group before the actual test environment sync.🤖 Generated with Claude Code