Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/920.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Drop dev dependencies that are already brought in transitively by `policyengine-core` as runtime deps (`pytest`, `wheel`), shrinking the install footprint. `coverage`, `pytest-cov`, `ruff` and `towncrier` are kept because they live in `policyengine-core`'s `dev` extras and pip does not install extras of dependencies transitively.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,20 @@ environments = [

[project.optional-dependencies]
dev = [
"ruff>=0.9.0",
# pytest and wheel are brought in transitively by policyengine-core's
# runtime dependencies, so they're not repeated here. coverage,
# pytest-cov, ruff and towncrier live in core's dev extras, which pip
# does NOT install transitively when installing policyengine-uk[dev],
# so they must be listed explicitly here.
"coverage",
"pytest-cov",
"ruff>=0.9.0",
"towncrier>=24.8.0",
"furo<2023",
"tqdm",
"pytest",
"pytest-cov",
"setuptools",
"sphinx-argparse>=0.3.2,<1",
"sphinx-math-dollar>=1.2.1,<2",
"wheel",
"towncrier>=24.8.0",
"snowballstemmer>=2,<3",
"jupyter-book>=2.0.0a0",
"rich",
Expand Down
Loading