Repository navigation
Commit c67b49c
committed
Replace hatch with build in the dev extra
The dev extra installed hatch only so contributors could run
`hatch build`. hatch depends on virtualenv, which brings in filelock and
python-discovery, so every filelock advisory landed on this lockfile even
though the SDK never imports it. CI installs its own hatch through the
setup-hatch action and does not use the extra.
`python -m build` calls the same hatchling backend declared in
build-system and isolates the build with the standard library venv
module, so the dev extra no longer needs virtualenv. hatchling leaves the
extra too, since build tools fetch it from build-system.requires.1 parent 3cae5b6 commit c67b49c
4 files changed
Lines changed: 20 additions & 410 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments