Commit 2cffb7e
fix(wheels): produce a platform wheel (py3-none-<plat>), not pure-Python
cibuildwheel rejected the build because setup.py's build_py bundles a prebuilt
loadable but didn't mark the distribution impure, so setuptools tagged the wheel
py3-none-any. Override bdist_wheel to set root_is_pure=False and tag it
py3-none-<platform> (the loadable is not a CPython extension, so it is
ABI-agnostic but platform-specific). Limit cibuildwheel to one CPython build per
platform, since every version now yields the same py3-none wheel. Verified
locally: the wheel builds as py3-none-macosx_14_0_arm64.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 100c8a6 commit 2cffb7e
2 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments