From d115715cc7c7a9688509af15b7cc3b23cf04f825 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 09:07:52 +0000 Subject: [PATCH 1/3] spacy-alignments: Add version 0.9.3 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/spacy-alignments.yaml | 1 + ...removed-cibuildwheel-free-threaded-s.patch | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch diff --git a/docs/packages/spacy-alignments.yaml b/docs/packages/spacy-alignments.yaml index bb9c6edcd558..865e2b83056f 100644 --- a/docs/packages/spacy-alignments.yaml +++ b/docs/packages/spacy-alignments.yaml @@ -18,3 +18,4 @@ versions: - filename: spacy_alignments-0.9.2-cp313-cp313-musllinux_1_2_riscv64.whl sha256: c7db7453d620d31bb7ee999393dda4a06a6fafa72361ee364c0113e1dbaedca5 requires-python: <3.14,>=3.9 +- version: 0.9.3 diff --git a/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch b/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch new file mode 100644 index 000000000000..a1432f04f17d --- /dev/null +++ b/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch @@ -0,0 +1,37 @@ +From f0f270aebfbf9aed5c6ab870e276f0abccf808c4 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Sun, 4 Oct 2026 04:12:18 +0000 +Subject: [PATCH] Comment out the removed cibuildwheel free-threaded-support + option + +cibuildwheel dropped `free-threaded-support` in 3.0: the option is now +rejected outright ("Option 'free-threaded-support' not supported in a +config file"), so any build of this tag with a current cibuildwheel fails +before it starts. + +Upstream's own release workflow still pins cibuildwheel v2.21.3, where +the option is valid, so the tag is not broken for them yet. explosion +made this exact change in thinc (6f3a08b1, "Hack at free-threaded +option"). + +Upstream-Status: To upstream [not yet submitted; explosion made the same change in thinc 6f3a08b1] +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index d8763bb..a18b7b4 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -10,7 +10,7 @@ build = "*" + # No rust on musllinux + skip = "pp* cp36* cp37* cp38* *-musllinux_i686" + test-skip = "" +-free-threaded-support = false ++#free-threaded-support = false + + archs = ["native"] + +-- +2.43.0 + From 589964fa968d897da661fc645bf3a7f66adac441 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sat, 31 Oct 2026 04:15:58 +0100 Subject: [PATCH 2/3] build-spacy-alignments: tolerate versions without a patch directory Upstream dropped the free-threaded-support option the 0.9.2 patch commented out, so 0.9.3 needs no patch and the git apply glob matched nothing. --- .github/workflows/build-spacy-alignments.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-spacy-alignments.yml b/.github/workflows/build-spacy-alignments.yml index 7ac364bf8e53..5e97c83aa5c5 100644 --- a/.github/workflows/build-spacy-alignments.yml +++ b/.github/workflows/build-spacy-alignments.yml @@ -77,7 +77,12 @@ jobs: persist-credentials: false - name: Patch spacy-alignments source - run: git apply python-wheels/patches/spacy-alignments/${{ env.SPACY_ALIGNMENTS_VERSION }}/*.patch + # Only some versions need patching (the older tag needed the removed free-threaded-support option commented out; newer tags dropped it), so a missing directory is not an error. + run: | + patches="$PWD/python-wheels/patches/spacy-alignments/${{ env.SPACY_ALIGNMENTS_VERSION }}" + if [ -d "$patches" ]; then + git apply "$patches"/*.patch + fi - name: Build wheels uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 From 5a22f530d544a40bd89dc66af187c66401732c7b Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sat, 31 Oct 2026 16:11:41 +0100 Subject: [PATCH 3/3] spacy-alignments: drop the 0.9.3 copy of the free-threaded-support patch Upstream's 0.9.3 pyproject.toml no longer carries the free-threaded-support option the patch comments out, so it does not apply and is not needed. --- ...removed-cibuildwheel-free-threaded-s.patch | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch diff --git a/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch b/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch deleted file mode 100644 index a1432f04f17d..000000000000 --- a/patches/spacy-alignments/0.9.3/0001-Comment-out-the-removed-cibuildwheel-free-threaded-s.patch +++ /dev/null @@ -1,37 +0,0 @@ -From f0f270aebfbf9aed5c6ab870e276f0abccf808c4 Mon Sep 17 00:00:00 2001 -From: Ludovic Henry -Date: Sun, 4 Oct 2026 04:12:18 +0000 -Subject: [PATCH] Comment out the removed cibuildwheel free-threaded-support - option - -cibuildwheel dropped `free-threaded-support` in 3.0: the option is now -rejected outright ("Option 'free-threaded-support' not supported in a -config file"), so any build of this tag with a current cibuildwheel fails -before it starts. - -Upstream's own release workflow still pins cibuildwheel v2.21.3, where -the option is valid, so the tag is not broken for them yet. explosion -made this exact change in thinc (6f3a08b1, "Hack at free-threaded -option"). - -Upstream-Status: To upstream [not yet submitted; explosion made the same change in thinc 6f3a08b1] ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index d8763bb..a18b7b4 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -10,7 +10,7 @@ build = "*" - # No rust on musllinux - skip = "pp* cp36* cp37* cp38* *-musllinux_i686" - test-skip = "" --free-threaded-support = false -+#free-threaded-support = false - - archs = ["native"] - --- -2.43.0 -