Commit 6f572bd
committed
fix(ci): use uv venv + uv run instead of --system
The `--system` flag fails on modern uv because uv-managed Python
installations are marked EXTERNALLY-MANAGED (PEP 668), rejecting
system-wide pip installs. This caused exit code 2 in CI.
Switch to the standard uv workflow: `uv venv` to create an env,
`uv pip install` (no --system) to populate it, and `uv run` to
execute commands within it. Verified locally with a clean-slate
end-to-end run (venv → install .[test] → pytest → ruff → black).1 parent fcb8232 commit 6f572bd
1 file changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
0 commit comments