Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build-geventhttpclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions docs/packages/geventhttpclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading