Commit ad709a5
build: enable free-threaded wheels in cibuildwheel (#121)
* build: enable free-threaded wheels in cibuildwheel
cibuildwheel does not build free-threaded CPython wheels by default, even
when the build pattern matches cp*. As a result, users on 3.13t/3.14t/3.15t
installed pure-Python wheels with no native extension and saw:
Failed to load instrument hooks library: cannot import name
'dist_instrument_hooks' from 'pytest_codspeed.instruments.hooks'
Opt in via `enable = ["cpython-freethreading"]` so the cp31{3,4,5}t wheels
ship the compiled dist_instrument_hooks extension.
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: bump pypa/cibuildwheel from v3.2.1 to v3.4.1
v3.2.1 predates CPython 3.14/3.15 support in cibuildwheel. Bumping unlocks
free-threaded 3.14t/3.15t wheel builds (which no longer need the
cpython-freethreading enable flag — only 3.13t does).
Co-Authored-By: Claude <noreply@anthropic.com>
* build: enable cpython-prerelease wheels in cibuildwheel
CPython 3.15 is still in beta, so cibuildwheel will not build cp315 /
cp315t wheels without the cpython-prerelease opt-in. Add it alongside
cpython-freethreading so prerelease wheels (regular + free-threaded)
ship for users testing on 3.15.
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: advertise Python 3.15 support in classifiers
Add the trove classifier for 3.15 now that cibuildwheel ships cp315 /
cp315t wheels.
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: pin cibuildwheel to a main commit with CPython 3.15 support
v3.4.1 does not yet include cp315 in its bundled build-platforms.toml, so
the cpython-prerelease enable flag has nothing to act on. Pin to commit
ec0977e (post-#2833 "add CPython 3.15 beta 1") to unblock cp315 / cp315t
wheel builds. Drop the pin back to a tagged release once cibuildwheel
ships 3.15 metadata.
Co-Authored-By: Claude <noreply@anthropic.com>
* build: drop cpython-freethreading enable group
The cibuildwheel commit we pin (post-#2684) no longer recognizes
cpython-freethreading: 3.13t support was dropped and free-threading is the
default for 3.14+. Keeping the value triggers:
cibuildwheel: Failed to parse enable group. Unknown enable group:
cpython-freethreading.
Only cpython-prerelease is still needed (for cp315 / cp315t while 3.15 is
in beta).
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 080d620 commit ad709a5
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments