Skip to content

Conversation

@JRMeyer
Copy link
Contributor

@JRMeyer JRMeyer commented Nov 23, 2025

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
  • 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.

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: OpenPipe#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.
@bradhilton bradhilton merged commit a9657c4 into OpenPipe:main Nov 26, 2025
Kovbo pushed a commit that referenced this pull request Nov 26, 2025
@JRMeyer JRMeyer deleted the fix/uv-system-flag-skypilot branch November 26, 2025 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants