Skip to content

Commit 59cbb17

Browse files
committed
chore: build free-threading wheels
1 parent 71a49c4 commit 59cbb17

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313
env:
1414
PYTHON_VER: "3.11" # Python to run test/cibuildwheel
1515
CIBW_BUILD: >
16-
cp310-* cp311-* cp312-* cp313-* cp314-*
16+
cp310-* cp311-* cp312-* cp313-* cp313t-* cp314-* cp314t-*
1717
pp310-* pp311-*
18-
CIBW_ENABLE: pypy pypy-eol
18+
CIBW_ENABLE: cpython-freethreading pypy pypy-eol
1919
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
2020

2121
jobs:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
99
## 0.18.0 (October 5, 2025)
1010

1111
- Support for Python 3.14
12+
- Build free-threaded wheels for CPython 3.13 and 3.14, even if the feature is not supported
1213
- Deprecate the `read_size` and `write_size` parameters of `ZstdFile` and `SeekableZstdFile`
1314
- Deprecate `richmem_compress` and `RichMemZstdCompressor`
1415
- Rework documentation to suggest using `compression.zstd` from Python stdlib, and provide a migration guide

src/bin_ext/pyzstd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@ _zstd_free(void *module)
579579
#ifdef USE_MULTI_PHASE_INIT
580580
static PyModuleDef_Slot _zstd_slots[] = {
581581
{Py_mod_exec, _zstd_exec},
582+
// note: we do NOT support multiple interpreters
583+
// note: we do NOT support free-threading
582584
{0}
583585
};
584586
#endif

0 commit comments

Comments
 (0)