Commit 1359fd3
committed
fix(ci): add --no-isolation to python -m build to fix semantic release
python -m build runs in isolation mode by default, which spawns a pip
subprocess to install build deps into a temporary environment. In a
uv-managed venv, .venv/bin/pip is a non-functional stub that cannot
execute when uv is not on PATH (as in the semantic-release Action
subprocess environment).
--no-isolation uses the already-populated venv directly, bypassing
the pip subprocess entirely. setuptools and wheel are already present
from uv sync --all-extras.1 parent ca89e3e commit 1359fd3
1 file changed
Lines changed: 7 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 37 | + | |
| 38 | + | |
53 | 39 | | |
54 | 40 | | |
55 | 41 | | |
| |||
61 | 47 | | |
62 | 48 | | |
63 | 49 | | |
64 | | - | |
| 50 | + | |
65 | 51 | | |
66 | | - | |
| 52 | + | |
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
70 | 56 | | |
71 | 57 | | |
72 | | - | |
| 58 | + | |
73 | 59 | | |
74 | | - | |
| 60 | + | |
75 | 61 | | |
76 | 62 | | |
77 | 63 | | |
| |||
0 commit comments