From a710b2f327af09f991c2507da41527e820830e6f Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:01:08 +0000 Subject: [PATCH 1/2] geventhttpclient: Add versions 2.6.0, 2.6.1 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/geventhttpclient.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/packages/geventhttpclient.yaml b/docs/packages/geventhttpclient.yaml index 20a45f05192d..4a46719deaa3 100644 --- a/docs/packages/geventhttpclient.yaml +++ b/docs/packages/geventhttpclient.yaml @@ -66,3 +66,5 @@ versions: - filename: geventhttpclient-2.5.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: b818e5a131b0e8f34c7282786c9b9f2c42fdbcb1be7c4db8275d2ff94c522e5c requires-python: '>=3.11' +- version: 2.6.0 +- version: 2.6.1 From 90fc035602142b4f9add25d2a58ac749773d61ab Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 03:38:58 +0800 Subject: [PATCH 2/2] geventhttpclient: Carry patches over to versions 2.6.0, 2.6.1 Upstream 2.6.0 already ships llhttp's licence (license-files in pyproject.toml), so the 2.5.1 patch is obsolete and no patch is added. Skip patching for versions without a patches directory and accept llhttp/LICENSE as the shipped llhttp licence. --- .github/workflows/build-geventhttpclient.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-geventhttpclient.yml b/.github/workflows/build-geventhttpclient.yml index dc0d5d1e85a4..ec81e66a8403 100644 --- a/.github/workflows/build-geventhttpclient.yml +++ b/.github/workflows/build-geventhttpclient.yml @@ -78,10 +78,13 @@ jobs: persist-credentials: false # llhttp is compiled into the extension under its own MIT notice, which - # upstream's wheels do not ship. + # upstream's wheels do not ship before 2.6.0, so only older versions are patched. - name: Patch geventhttpclient source run: | - git apply python-wheels/patches/geventhttpclient/${{ env.GEVENTHTTPCLIENT_VERSION }}/00*.patch + patches="$PWD/python-wheels/patches/geventhttpclient/${GEVENTHTTPCLIENT_VERSION}" + if [ -d "$patches" ]; then + git apply -v "$patches"/*.patch + fi # musllinux is skipped: our registry carries gevent and brotli for # manylinux riscv64 only, so a musl wheel could be neither installed nor tested. @@ -99,7 +102,7 @@ jobs: CIBW_TEST_COMMAND: >- python -c "import importlib.metadata as m; l = {str(p).split('.dist-info/licenses/')[1] for p in m.files('geventhttpclient') if '.dist-info/licenses/' in str(p)}; - assert l == {'LICENSE-MIT', 'llhttp/LICENSE-MIT'}, l" && + assert l in ({'LICENSE-MIT', 'llhttp/LICENSE-MIT'}, {'LICENSE-MIT', 'llhttp/LICENSE'}), l" && python -m pytest tests # The only proof the untested cp314t wheel really carries the extension.