Commit 69dae16
authored
📦 build: move the testing extra to a dependency group (#243)
The `testing` dependencies were declared as a
`[project.optional-dependencies]` extra, so they shipped in the
published package metadata as an installable `pytest-env[testing]` extra
even though no consumer of the plugin needs them. They exist only to
develop and test the package itself, which is what PEP 735 dependency
groups are for: dependency sets that stay in the source tree and never
reach the wheel metadata. 📦
This moves the set into a `[dependency-groups]` `test` group and points
the tox environments that used it at `dependency_groups = ["test"]`
instead of `extras = ["testing"]`. The packages and their version
constraints are unchanged.
The published distribution no longer advertises a `testing` extra. Local
workflows that installed `pytest-env[testing]` should use the `test`
dependency group (`--group test`) or the tox environments instead.
Runtime dependencies stay untouched.1 parent 290c20d commit 69dae16
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 44 | | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments