From 801d7ba6d493a393516cd39ca0a8c9e23be5ceb0 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 08:53:07 +0000 Subject: [PATCH 1/3] murmurhash: Add version 1.0.16 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/murmurhash.yaml | 1 + ...e-cpython-freethreading-enable-group.patch | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch diff --git a/docs/packages/murmurhash.yaml b/docs/packages/murmurhash.yaml index 673b7f653396..babb54ad76fa 100644 --- a/docs/packages/murmurhash.yaml +++ b/docs/packages/murmurhash.yaml @@ -18,3 +18,4 @@ versions: - filename: murmurhash-1.0.15-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: 8362dd1550641cf4295e7d30c84d27cbac7fac09040ba2aac5dfa37f0da3065b requires-python: '>=3.6,<3.15' +- version: 1.0.16 diff --git a/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch b/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch new file mode 100644 index 000000000000..811c45177daf --- /dev/null +++ b/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch @@ -0,0 +1,28 @@ +From 92a89eb4f186ba29aeb7175b6c4f4b5483b5b822 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Thu, 27 Aug 2026 12:36:37 +0200 +Subject: [PATCH] drop the cpython-freethreading enable group + +cibuildwheel removed the cpython-freethreading enable group: free-threaded +interpreters are selected by build identifier (cp314t-*) since 3.x, and 4.x +rejects the name outright with "Unknown enable group", so the build fails +before it starts. This is the only entry in the list, so the option goes +with it. + +Upstream-Status: To upstream [needs a cibuildwheel version bump upstream first; they still pin an older major] +--- + pyproject.toml | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 3e85038..625a93b 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,7 +9,6 @@ build-backend = "setuptools.build_meta" + build = "*" + skip = "pp* cp36* cp37* cp38*" + test-skip = "" +-enable = ["cpython-freethreading"] + + archs = ["native"] + From 7534858a47feb2359f4d69c0137f41ba17ce7604 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Tue, 27 Oct 2026 02:37:06 +0100 Subject: [PATCH 2/3] murmurhash: only apply patches for versions that have any 1.0.16 dropped the cpython-freethreading enable group upstream, so it needs no patch; the unconditional glob made git apply fail on a version with none. --- .github/workflows/build-murmurhash.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-murmurhash.yml b/.github/workflows/build-murmurhash.yml index a48e8ec5ef7b..22bc9c427f9a 100644 --- a/.github/workflows/build-murmurhash.yml +++ b/.github/workflows/build-murmurhash.yml @@ -76,9 +76,13 @@ jobs: path: python-wheels persist-credentials: false + # 1.0.15 needs the cpython-freethreading enable group dropped; 1.0.16 dropped + # it upstream and has no patch, so only apply what exists for this version. - name: Patch murmurhash source run: | - git apply python-wheels/patches/murmurhash/${{ env.MURMURHASH_VERSION }}/00*.patch + shopt -s nullglob + patches=(python-wheels/patches/murmurhash/${{ env.MURMURHASH_VERSION }}/00*.patch) + if (( ${#patches[@]} )); then git apply "${patches[@]}"; fi - name: Build wheels uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 From 43f2b2f9eccc49f0750bd1494a693dfc746a8973 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Tue, 27 Oct 2026 02:37:08 +0100 Subject: [PATCH 3/3] murmurhash: drop the 1.0.16 patch, upstream no longer needs it murmurhash 1.0.16's pyproject.toml no longer has the cpython-freethreading enable group, so the patch does not apply and has nothing left to change. --- ...e-cpython-freethreading-enable-group.patch | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch diff --git a/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch b/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch deleted file mode 100644 index 811c45177daf..000000000000 --- a/patches/murmurhash/1.0.16/0001-drop-the-cpython-freethreading-enable-group.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 92a89eb4f186ba29aeb7175b6c4f4b5483b5b822 Mon Sep 17 00:00:00 2001 -From: Ludovic Henry -Date: Thu, 27 Aug 2026 12:36:37 +0200 -Subject: [PATCH] drop the cpython-freethreading enable group - -cibuildwheel removed the cpython-freethreading enable group: free-threaded -interpreters are selected by build identifier (cp314t-*) since 3.x, and 4.x -rejects the name outright with "Unknown enable group", so the build fails -before it starts. This is the only entry in the list, so the option goes -with it. - -Upstream-Status: To upstream [needs a cibuildwheel version bump upstream first; they still pin an older major] ---- - pyproject.toml | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 3e85038..625a93b 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -9,7 +9,6 @@ build-backend = "setuptools.build_meta" - build = "*" - skip = "pp* cp36* cp37* cp38*" - test-skip = "" --enable = ["cpython-freethreading"] - - archs = ["native"] -