From 2a90827ff723ef2189e56c11b7090e98adc173ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 02:43:28 +0000 Subject: [PATCH 1/2] Bump pypa/cibuildwheel from 4.1 to 4.2 Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 4.1 to 4.2. - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v4.1...v4.2) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: '4.2' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/cibuildwheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 7e999938a..e61615307 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -92,7 +92,7 @@ jobs: arch: amd64 - name: Build wheels - uses: pypa/cibuildwheel@v4.1 + uses: pypa/cibuildwheel@v4.2 - name: Make sdist if: ${{ matrix.os == 'ubuntu-latest' }} From 2f1e23d8860a5c54cee206c50664730fb3a8bcda Mon Sep 17 00:00:00 2001 From: Francesc Alted Date: Mon, 10 Aug 2026 08:53:40 +0200 Subject: [PATCH 2/2] Fix wheel build selectors for cibuildwheel 4.2 / CPython 3.15 CIBW_BUILD read ${{ matrix.cibw_build }}, but the build_wheels matrix defines the key as cibw_pattern, so the selector was always empty and cibuildwheel built whatever its default set contained. That went unnoticed until 4.2, which promotes CPython 3.15 out of the cpython-prerelease group: cp315 then appeared on every platform, and the macOS x86_64 test venv failed to install because pydantic-core has no cp315 Intel wheel yet and cross-compiling it from the arm64 runner needs an x86_64-apple-darwin Rust target that isn't there. Point CIBW_BUILD at cibw_pattern and opt into cp315 explicitly, so the build set is what the matrix says rather than whatever cibuildwheel defaults to. The Windows pattern used a "win64" platform tag, which is not a cibuildwheel identifier and expands to nothing -- it only ever worked because the selector was ignored -- so correct it to win_amd64. The cp315 Intel wheel itself builds clean, so keep shipping it and skip just its smoke test until pydantic-core publishes cp315 macOS wheels. Also drop the now inert pp* skip selector, which cibuildwheel 4 warns about since PyPy has to be opted into via `enable`. Co-Authored-By: Claude Opus 5 --- .github/workflows/cibuildwheels.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index e61615307..960aa050d 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -14,9 +14,14 @@ env: # Skip testing on aarch64 for now, as it is emulated on GitHub Actions and takes too long # Now that github provides native arm64 runners, we can enable tests again # CIBW_TEST_SKIP: "*linux*aarch64*" - # Skip PyPy wheels for now (numexpr needs some adjustments first) # musllinux takes too long to build, and it's not worth it for now - CIBW_SKIP: "pp* *musllinux* *-win32" + # (PyPy needs opting in via `enable` since cibuildwheel 4, so no pp* here) + CIBW_SKIP: "*musllinux* *-win32" + # Intel Macs are EOL and Rust-based deps (pydantic-core) publish no cp315 + # x86_64 wheels yet, so `pip install` of the test venv would cross-compile + # them from the arm64 runner -- which lacks the x86_64-apple-darwin Rust + # target. The wheel itself builds fine, so ship it and skip only its test. + CIBW_TEST_SKIP: "cp315-macosx_x86_64" # Use explicit generator/compiler env vars; CMAKE_ARGS with spaces is not split on Windows. CIBW_ENVIRONMENT_WINDOWS: >- CMAKE_GENERATOR=Ninja @@ -31,7 +36,7 @@ jobs: permissions: contents: write env: - CIBW_BUILD: ${{ matrix.cibw_build }} + CIBW_BUILD: ${{ matrix.cibw_pattern }} CIBW_ARCHS_LINUX: ${{ matrix.arch }} CIBW_ARCHS_MACOS: "x86_64 arm64" strategy: @@ -41,13 +46,13 @@ jobs: # Linux x86_64 builds - os: ubuntu-latest arch: x86_64 - cibw_pattern: "cp3{11,12,13,14}-manylinux*" + cibw_pattern: "cp3{11,12,13,14,15}-manylinux*" artifact_name: "linux-x86_64" # Linux ARM64 builds (native runners) - os: ubuntu-24.04-arm arch: aarch64 - cibw_pattern: "cp3{11,12,13,14}-manylinux*" + cibw_pattern: "cp3{11,12,13,14,15}-manylinux*" artifact_name: "linux-aarch64" # Don't use native runners for now (looks like wait times are too long) #runs-on: ["ubuntu-latest", "arm64"] @@ -55,13 +60,13 @@ jobs: # Windows builds - os: windows-latest arch: x86_64 - cibw_pattern: "cp3{11,12,13,14}-win64" + cibw_pattern: "cp3{11,12,13,14,15}-win_amd64" artifact_name: "windows-x86_64" # macOS builds (universal2) - os: macos-latest arch: x86_64 - cibw_pattern: "cp3{11,12,13,14}-macosx*" + cibw_pattern: "cp3{11,12,13,14,15}-macosx*" artifact_name: "macos-universal2" steps: - name: Checkout repo