Skip to content

Commit 1f9479d

Browse files
art049claude
andcommitted
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>
1 parent 080d620 commit 1f9479d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ push = false
103103

104104
[tool.cibuildwheel]
105105
build = "cp*{manylinux,macosx}*"
106+
enable = ["cpython-freethreading"]
106107
test-extras = ["build", "test", "compat"]
107108
test-command = "pytest -v --ignore={project}/tests/benchmarks {project}/tests"
108109

0 commit comments

Comments
 (0)