Skip to content

Commit 5996dbd

Browse files
authored
Update dependency cibuildwheel to v3 (#9010)
2 parents 8ccdc39 + 9bffc01 commit 5996dbd

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.ci/requirements-cibw.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cibuildwheel==2.23.3
1+
cibuildwheel==3.0.0

.github/workflows/wheels-test.ps1

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,21 @@ if ("$venv" -like "*\cibw-run-*\pp*-win_amd64\*") {
99
C:\vc_redist.x64.exe /install /quiet /norestart | Out-Null
1010
}
1111
$env:path += ";$pillow\winbuild\build\bin\"
12-
& "$venv\Scripts\activate.ps1"
12+
if (Test-Path $venv\Scripts\pypy.exe) {
13+
$python = "pypy.exe"
14+
} else {
15+
$python = "python.exe"
16+
}
1317
& reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f
1418
if ("$venv" -like "*\cibw-run-*-win_amd64\*") {
15-
& python -m pip install numpy
19+
& $venv\Scripts\$python -m pip install numpy
1620
}
1721
cd $pillow
18-
& python -VV
22+
& $venv\Scripts\$python -VV
1923
if (!$?) { exit $LASTEXITCODE }
20-
& python selftest.py
24+
& $venv\Scripts\$python selftest.py
2125
if (!$?) { exit $LASTEXITCODE }
22-
& python -m pytest -vx Tests\check_wheel.py
26+
& $venv\Scripts\$python -m pytest -vx Tests\check_wheel.py
2327
if (!$?) { exit $LASTEXITCODE }
24-
& python -m pytest -vx Tests
28+
& $venv\Scripts\$python -m pytest -vx Tests
2529
if (!$?) { exit $LASTEXITCODE }

0 commit comments

Comments
 (0)