Skip to content

Commit a52d9b5

Browse files
committed
COMP: Use python -m pip install pip --upgrade for Windows
Otherwise fails now in CI.
1 parent f38e8b0 commit a52d9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/windows_build_module_wheels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS, cleanup=True, cmake_options=[]):
5050
use_scikit_build_core = False
5151

5252
# Install dependencies
53-
check_call([pip, "install", "pip", "--upgrade"])
53+
check_call([python_executable, '-m', 'pip', "install", "pip", "--upgrade"])
5454
requirements_file = os.path.join(ROOT_DIR, "requirements-dev.txt")
5555
if os.path.exists(requirements_file):
5656
check_call([pip, "install", "--upgrade", "-r", requirements_file])

0 commit comments

Comments
 (0)