From a52d9b596b4f0da5ddb770ee99851e5c65ca3053 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Fri, 21 Jun 2024 17:38:56 -0400 Subject: [PATCH] COMP: Use python -m pip install pip --upgrade for Windows Otherwise fails now in CI. --- scripts/windows_build_module_wheels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/windows_build_module_wheels.py b/scripts/windows_build_module_wheels.py index 8247844..6ab84d4 100755 --- a/scripts/windows_build_module_wheels.py +++ b/scripts/windows_build_module_wheels.py @@ -50,7 +50,7 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS, cleanup=True, cmake_options=[]): use_scikit_build_core = False # Install dependencies - check_call([pip, "install", "pip", "--upgrade"]) + check_call([python_executable, '-m', 'pip', "install", "pip", "--upgrade"]) requirements_file = os.path.join(ROOT_DIR, "requirements-dev.txt") if os.path.exists(requirements_file): check_call([pip, "install", "--upgrade", "-r", requirements_file])