Commit 6603012
📦 build: move dev extras to PEP 735 dependency groups (#102)
The `docs` and `testing` extras serve only development, yet as
`[project.optional-dependencies]` they ship in the published wheel
metadata and let anyone `pip install python-discovery[testing]`. PEP 735
`[dependency-groups]` fits dev-only sets better, since a group stays
local to the source tree and never publishes. 📦
This moves both extras into the existing `[dependency-groups]` table,
with `testing` becoming `test` and `docs` keeping its name, and drops
the now-empty `optional-dependencies`. The tox environments that pulled
these extras (`env_run_base`, `docs`, and `dev`) now reference the
groups through `dependency_groups` instead of `extras`.
The `testing` extra is gone; use the `test` group. No consumer-facing
install extras remain, so `python-discovery[docs]` and
`python-discovery[testing]` no longer resolve.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 8df9588 commit 6603012
2 files changed
Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 49 | | |
65 | 50 | | |
66 | 51 | | |
67 | 52 | | |
68 | 53 | | |
69 | 54 | | |
70 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
0 commit comments