Skip to content

Commit fbf3725

Browse files
authored
feat: include free-threaded 3.14 by default (#2503)
This is no longer experimental in 3.13 beta 3, so we don't need an enable for it anymore. Someone can skip expliclity with `'cp31?t-*'` if they really don't want free-threaded wheels. Signed-off-by: Henry Schreiner <[email protected]>
1 parent 9613645 commit fbf3725

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cibuildwheel/selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __call__(self, build_id: str) -> bool:
8585
return False
8686

8787
# filter out groups that are not enabled
88-
if EnableGroup.CPythonFreeThreading not in self.enable and fnmatch(build_id, "cp3??t-*"):
88+
if EnableGroup.CPythonFreeThreading not in self.enable and fnmatch(build_id, "cp313t-*"):
8989
return False
9090
if EnableGroup.CPythonPrerelease not in self.enable and fnmatch(build_id, "cp314*"):
9191
return False

docs/options.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,10 @@ values are:
348348
- `cpython-freethreading`: [PEP 703](https://www.python.org/dev/peps/pep-0703)
349349
introduced variants of CPython that can be built without the Global
350350
Interpreter Lock (GIL). Those variants are also known as free-threaded /
351-
no-gil. This will enable building these wheels while they are experimental.
352-
The build identifiers for those variants have a `t` suffix in their
353-
`python_tag` (e.g. `cp313t-manylinux_x86_64`).
351+
no-gil. This will enable building these wheels for 3.13, which was considered
352+
experimental. The build identifiers for those variants have a `t` suffix in
353+
their `python_tag` (e.g. `cp313t-manylinux_x86_64`). Starting in 3.14,
354+
free-threaded builds are no longer experimental, so this enable is not needed.
354355
- `pypy`: Enable PyPy.
355356
- `pypy-eol`: Enable PyPy versions that have passed end of life (if still available).
356357
- `cpython-experimental-riscv64`: Enable experimental riscv64 builds. Those builds
@@ -371,7 +372,7 @@ values are:
371372
that version of Python will become available without this flag.
372373

373374
!!! note
374-
Free threading is experimental: [What’s New In Python 3.13](https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython)
375+
Free threading was experimental in 3.13: [What’s New In Python 3.13](https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython)
375376

376377
Default: empty.
377378

test/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ def _expected_wheels(
280280

281281
if EnableGroup.CPythonPrerelease in enable_groups:
282282
python_abi_tags.append("cp314-cp314")
283-
if EnableGroup.CPythonFreeThreading in enable_groups:
284-
python_abi_tags.append("cp314-cp314t")
283+
python_abi_tags.append("cp314-cp314t")
285284

286285
if EnableGroup.PyPyEoL in enable_groups:
287286
python_abi_tags += [

0 commit comments

Comments
 (0)