Skip to content

Commit 19dd474

Browse files
committed
Build free-threaded CPython wheels
1 parent a93ca11 commit 19dd474

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,21 @@ jobs:
112112
strategy:
113113
matrix:
114114
os: ["ubuntu-latest", "windows-latest"]
115-
python-version: ["3.10", "pypy-3.10"]
115+
python-version: ["3.10", "3.13t", "pypy-3.10"]
116116
architecture: ["x64"]
117117
include:
118118
- os: "windows-latest"
119119
python-version: "3.10"
120120
architecture: "x86"
121+
- os: "windows-latest"
122+
python-version: "3.13t"
123+
architecture: "x86"
121124
- os: "windows-11-arm"
122125
python-version: "3.11"
123126
architecture: "arm64"
127+
- os: "windows-11-arm"
128+
python-version: "3.13t"
129+
architecture: "arm64"
124130
fail-fast: false
125131

126132
steps:

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"cooldown",
108108
"cplusplus",
109109
"CPLUSPLUS",
110+
"cpython",
110111
"CRSEL",
111112
"ctypes",
112113
"CURRENCYSUBUNIT",
@@ -167,6 +168,7 @@
167168
"fmean",
168169
"fontx",
169170
"fonty",
171+
"freethreading",
170172
"freetype",
171173
"frombuffer",
172174
"fullscreen",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ exclude_lines = ['^\s*\.\.\.', "if TYPE_CHECKING:", "# pragma: no cover"]
102102
omit = ["tcod/__pyinstaller/*"]
103103

104104
[tool.cibuildwheel] # https://cibuildwheel.pypa.io/en/stable/options/
105-
enable = ["pypy", "pyodide-prerelease"]
105+
enable = ["pypy", "pyodide-prerelease", "cpython-freethreading"]
106106

107107
[tool.mypy]
108108
files = ["."]

0 commit comments

Comments
 (0)