diff --git a/.ci/build_wheels.sh b/.ci/build_wheels.sh index 79208115..d588c663 100755 --- a/.ci/build_wheels.sh +++ b/.ci/build_wheels.sh @@ -44,6 +44,9 @@ export CIBW_SKIP="pp*" # export CIBW_TEST_SKIP="*i686* *aarch64* cp312-win* cp313-win*" +# Enable free-threaded builds for Python versions (3.13t) that support it +export CIBW_FREE_THREADED_SUPPORT=1 + # Pytest makes it *very* awkward to run tests # from an installed package, and still find/ # interpret a conftest.py file correctly. diff --git a/CHANGELOG.md b/CHANGELOG.md index 932382d5..3b849d03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ## 1.9.2 (November 18th 2024) -* Adjustment to exception handling (#158). +* Enable builds for free-threading Python versions (#157). +* Adjustment to exception handling (#159). ## 1.9.1 (November 15th 2024) diff --git a/indexed_gzip/__init__.py b/indexed_gzip/__init__.py index 1682748d..c79fb998 100644 --- a/indexed_gzip/__init__.py +++ b/indexed_gzip/__init__.py @@ -19,4 +19,4 @@ """ -__version__ = '1.9.1' +__version__ = '1.9.2' diff --git a/indexed_gzip/indexed_gzip.pyx b/indexed_gzip/indexed_gzip.pyx index f5a8919a..10b45ca0 100644 --- a/indexed_gzip/indexed_gzip.pyx +++ b/indexed_gzip/indexed_gzip.pyx @@ -1,4 +1,4 @@ -# cython: binding=True,embedsignature=True +# cython: binding=True,embedsignature=True,freethreading_compatible=True # # The IndexedGzipFile class. # diff --git a/pyproject.toml b/pyproject.toml index e64d4f6d..04724ad4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 40.8.0", "cython"] +requires = ["setuptools >= 40.8.0", "cython >= 3.1.0a1"] build-backend = "setuptools.build_meta" [project]