Skip to content

Commit 83258c0

Browse files
committed
ci(cibw): use 'python -m pip' in CIBW_BEFORE_BUILD for Windows compatibility
1 parent 55fae0a commit 83258c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
env:
6161
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
6262
CIBW_BUILD_VERBOSITY: 3
63-
# Install build deps before building each wheel
64-
CIBW_BEFORE_BUILD: "pip install -U pip setuptools wheel cython numpy cmake"
63+
# Install build deps before building each wheel (use python -m pip for Windows compatibility)
64+
CIBW_BEFORE_BUILD: "python -m pip install -U pip setuptools wheel cython numpy cmake"
6565
# Tell setup.py to build the companion 'svv-accelerated' distribution
6666
CIBW_ENVIRONMENT: "PIP_NO_CACHE_DIR=1 SVV_ACCEL_COMPANION=1"
6767
steps:

0 commit comments

Comments
 (0)