fix: never call pip directly (#2537)

You can't change the running process in Windows. In pip 25.2, the format of the generated file changes, so this now breaks if you try to update to the latest pip (which can happen if deps are unpinned).
This commit is contained in:
Henry Schreiner
2025-07-31 12:26:07 -04:00
committed by GitHub
parent e2c7102ed7
commit 60b9cc95db
+2
View File
@@ -143,6 +143,8 @@ def virtualenv(
venv_env["VIRTUAL_ENV"] = str(venv_path)
if not use_uv and pip_version == "embed":
call(
"python",
"-m",
"pip",
"install",
"--upgrade",