From 2020696a05dd6738450f38c8f3ba60f34429570f Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 15 Nov 2024 08:52:30 -0500 Subject: [PATCH 1/5] Add Python 3.13t (free-threaded) builds --- .ci/build_wheels.sh | 3 +++ 1 file changed, 3 insertions(+) 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. From c221860c682105bc27335a7a184fe13e580125fc Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 15 Nov 2024 09:11:10 -0500 Subject: [PATCH 2/5] build: Use Cython 3.1.0a1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From 13b4c8e4e584379ec94ffa2ed403de91db33f1c9 Mon Sep 17 00:00:00 2001 From: Paul McCarthy Date: Mon, 18 Nov 2024 11:45:07 +0000 Subject: [PATCH 3/5] MNT: Add cython free-threading hint --- indexed_gzip/indexed_gzip.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. # From 94ce76b435b2c1f6f5c1651fc23def952994280a Mon Sep 17 00:00:00 2001 From: Paul McCarthy Date: Mon, 18 Nov 2024 11:47:00 +0000 Subject: [PATCH 4/5] DOC: Changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) From adfb1de70fba6bcb1dfc6fefd3c21ee3d6b8e1ad Mon Sep 17 00:00:00 2001 From: Paul McCarthy Date: Mon, 18 Nov 2024 12:07:33 +0000 Subject: [PATCH 5/5] MNT: Version --- indexed_gzip/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'