Skip to content

Commit 2a77e9a

Browse files
committed
Fix Windows build by using uv as cibuildwheel build frontend
Replaces CIBW_VENV_TOOL/CIBW_VIRTUALENV_VERSION with CIBW_BUILD_FRONTEND=build[uv] to avoid virtualenv.pyz downloads from GitHub that were hitting 429 rate limits.
1 parent 6a703bc commit 2a77e9a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ jobs:
2323
python-version: "3.10"
2424

2525
- name: Install cibuildwheel
26-
run: pip install cibuildwheel==2.21.3
26+
run: pip install cibuildwheel==2.21.3 uv
2727

2828
- name: Build wheels
2929
run: cibuildwheel --output-dir wheelhouse
3030
env:
31-
CIBW_VENV_TOOL: venv
32-
CIBW_VIRTUALENV_VERSION: ""
31+
CIBW_BUILD_FRONTEND: "build[uv]"
3332
CIBW_SKIP: "pp* *-musllinux*"
3433
CIBW_ARCHS_MACOS: "x86_64 arm64"
3534
CIBW_BEFORE_BUILD: "pip install pybind11"

0 commit comments

Comments
 (0)