Commit b3de8fd
committed
fix: add --system flag to uv pip install for SkyPilot backend
Fixes setup failure on SkyPilot clusters with uv >= 0.8.18.
Root cause:
- uv 0.8.18+ changed behavior to require either a virtual environment
or explicit --system flag for pip install operations
- SkyPilot backend setup runs: uv pip install openpipe-art[backend]
- This fails with: "error: No virtual environment found; run \`uv venv\`"
Solution:
Add --system flag to install into system Python (miniconda3 on cluster).
Related issue: #416
- User reported same error after uv 0.8.18 release
- Workarounds discussed: pin uv to 0.8.17 or use --system flag
- This implements the --system flag approach
Testing:
- Tested on GCP with L4 GPU
- openpipe-art==0.5.2
- 233 packages installed successfully
Alternative considered: Pinning uv version in install script, but
--system is cleaner and works with any uv version.1 parent 519efe6 commit b3de8fd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments