Skip to content

Commit 6eb24d8

Browse files
author
Ritiz Tambi
committed
fix: resolve --system flag issue
1 parent cd4448c commit 6eb24d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/art/skypilot/backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ async def _launch_cluster(
197197
elif os.path.exists(art_version):
198198
# copy the contents of the art_path onto the new machine
199199
task.workdir = art_version
200-
art_installation_command = "uv sync --extra backend"
200+
# uv sync doesn't support --system, so we use pip install in editable mode
201+
art_installation_command = "uv pip install --system -e '.[backend]'"
201202
else:
202203
raise ValueError(
203204
f"Invalid art_version: {art_version}. Must be a semver or a path to a local directory."

0 commit comments

Comments
 (0)