File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -627,6 +627,12 @@ jobs:
627627 make cythonize
628628 - name : Build wheels
629629 uses : pypa/cibuildwheel@v3.4.1
630+ with :
631+ # `build-frontend = "build[uv]"` (pyproject.toml) requires uv to be
632+ # available on the runner for Windows and macOS. Installing
633+ # cibuildwheel with the `uv` extra bundles uv with it; Linux
634+ # already has uv inside the manylinux/musllinux container.
635+ extras : uv
630636 env :
631637 CIBW_SKIP : pp* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}
632638 CIBW_ARCHS_MACOS : x86_64 arm64 universal2
Original file line number Diff line number Diff line change 1+ Switched the ``cibuildwheel `` build frontend to ``build[uv] `` so
2+ that ``uv `` provisions every build-isolation virtual environment
3+ in the wheel matrix, replacing the per-ABI ``pip `` resolve with a
4+ roughly sub-second ``uv `` resolve
5+ -- by :user: `bdraco `.
Original file line number Diff line number Diff line change 11abc
2+ ABI
23addons
34aiodns
45aioes
Original file line number Diff line number Diff line change @@ -159,6 +159,13 @@ include = [
159159
160160
161161[tool .cibuildwheel ]
162+ # `build[uv]` makes cibuildwheel use `uv` for every venv it provisions,
163+ # both on the build side (passed to `python -m build` as `--installer=uv`)
164+ # and when materializing the build isolation environment. uv resolves and
165+ # installs the build requirements in roughly a second; the previous
166+ # pip-based path took noticeably longer per ABI and ran once per matrix
167+ # cell.
168+ build-frontend = " build[uv]"
162169test-command = " "
163170# don't build PyPy wheels, install from source instead
164171skip = " pp*"
You can’t perform that action at this time.
0 commit comments