You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f66af72
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/actions/build-wheel/action.yml
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ inputs:
28
28
required: false
29
29
default: ""
30
30
python-tag:
31
-
description: "abi3 (covers 3.10..3.14 GIL builds)or a free-threaded interpreter such as 3.13t / 3.14t"
31
+
description: "abi3 (covers 3.10..3.14 GIL builds), abi3t (covers 3.15+, GIL and free-threaded; built with 3.15t), or a version-specific free-threaded interpreter such as 3.14t"
32
32
required: true
33
33
build-mode:
34
34
description: "release or debug"
@@ -67,6 +67,14 @@ runs:
67
67
BUILD_ARGS="--features ${FEATURES}"
68
68
else
69
69
# Free-threaded build: disable abi3, force mimalloc back in, pin interpreter.
70
+
# `abi3t` builds a PEP 803 wheel (cp315-abi3t), importable on 3.15+
71
+
# GIL and free-threaded builds, using the 3.15 free-threaded
72
+
# interpreter. Older free-threaded tags get version-specific wheels.
73
+
ABI_FEATURE=""
74
+
if [ "$TAG" = "abi3t" ]; then
75
+
ABI_FEATURE="abi3t,"
76
+
TAG="3.15t"
77
+
fi
70
78
if [ "${RUNNER_OS:-}" = "Windows" ]; then
71
79
# Windows free-threaded builds ship as `python.exe` (no `tN`
72
80
# suffix). Resolve sys.executable so the path is independent of
0 commit comments