Commit 2f1e23d
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 <noreply@anthropic.com>1 parent 2a90827 commit 2f1e23d
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | | - | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
0 commit comments