mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-15 22:42:00 +08:00
pin uv to 0.1.18 (#11598)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
@@ -43,7 +43,11 @@ def run_stubtest(
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
venv_dir = Path(tmp)
|
||||
subprocess.run(["uv", "venv", venv_dir, "--seed"], capture_output=True, check=True)
|
||||
try:
|
||||
subprocess.run(["uv", "venv", venv_dir, "--seed"], capture_output=True, check=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print_command_failure("Failed to create a virtualenv (likely a bug in uv?)", e)
|
||||
return False
|
||||
if sys.platform == "win32":
|
||||
pip_exe = str(venv_dir / "Scripts" / "pip.exe")
|
||||
python_exe = str(venv_dir / "Scripts" / "python.exe")
|
||||
|
||||
Reference in New Issue
Block a user