Commit e686e0c
authored
* Drop dev deps redundant with policyengine-core (#920)
policyengine-core already pulls in pytest and wheel as runtime deps and
ruff, coverage, pytest-cov and towncrier through its dev extras, so listing
them again here only adds maintenance overhead. Mirrors the pattern in the
US package (policyengine-us#4859).
* Restore coverage/pytest-cov/ruff/towncrier as direct dev deps (#920)
The previous commit removed these on the assumption that policyengine-core
would bring them in. That was wrong: they're in core's *dev* extras, and
pip does NOT install extras-of-dependencies transitively. CI broke with
"pytest: error: unrecognized arguments: --cov=..." because pytest-cov
wasn't installed.
What core actually brings in transitively (runtime deps):
- pytest<9,>=8
- wheel<1
So pytest and wheel can stay removed; the other four need to come back.
Updated the comment in pyproject.toml to be explicit about the
extras-not-installed-transitively rule, and corrected the changelog.
1 parent ca90ddd commit e686e0c
2 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
72 | 79 | | |
73 | 80 | | |
74 | | - | |
75 | | - | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
80 | | - | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments