Commit b0c229f
committed
Fix maturin installation to use uv pip in uv-managed environments
The build hook now checks for uv and uses 'uv pip install maturin'
instead of 'python -m pip install maturin' when uv is available.
This fixes the build failure in GitHub Actions where uv manages
the Python environment.1 parent 05e2b0b commit b0c229f
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
52 | 60 | | |
| |||
0 commit comments