fix: consistently use find_uv for our usage of uv (#2730)

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
This commit is contained in:
Henry Schreiner
2026-02-06 15:50:18 -05:00
committed by GitHub
parent 1252e6249a
commit 0d2547bf6f
2 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -108,7 +108,9 @@ def virtualenv(
assert python.exists()
if use_uv:
call("uv", "venv", venv_path, "--python", python)
uv_path = find_uv()
assert uv_path is not None
call(uv_path, "venv", venv_path, "--python", python)
else:
virtualenv_app, virtualenv_version = _ensure_virtualenv(version)
if pip_version is None: