Skip to content

pylsqpack: add build-pylsqpack.yml for riscv64 wheels - #868

Merged
luhenry merged 1 commit into
mainfrom
pylsqpack
Sep 3, 2026
Merged

pylsqpack: add build-pylsqpack.yml for riscv64 wheels#868
luhenry merged 1 commit into
mainfrom
pylsqpack

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

Compiles pylsqpack._binding, a plain C wrapper around the vendored ls-qpack QPACK header-compression library, into a cp310-abi3 extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's tests.yml package-wheel job.

Differs from upstream

  • Builds cp310 through cp314 explicitly (not upstream's default set) - binding.c defines PY_SSIZE_T_CLEAN, so the abi3 wheel must be compiled on the oldest interpreter its tag claims.

Testing

  • same as upstream (python -m unittest discover), plus asserting the vendored licences land in dist-info/licenses/.

License: Wheel bundles ls-qpack (MIT) and xxHash (BSD-2-Clause) compiled straight into the extension; upstream ships no licence text for either, so the build adds it.

Patches

  • 0001-add-the-vendored-ls-qpack-xxhash-licences-next-to-th.patch - Not yet submitted upstream. Without it the wheel ships only pylsqpack's own LICENSE. Reproduces on any platform.

Built on cp312; 14 passed.

Builds the pylsqpack._binding extension (a plain C wrapper around the
vendored ls-qpack QPACK library) for riscv64; upstream publishes no riscv64
wheel. Includes a patch to ship the vendored ls-qpack/xxhash licences
alongside pylsqpack's own.
@luhenry luhenry changed the title Add pylsqpack 0.3.24 riscv64 wheel pylsqpack: add build-pylsqpack.yml for riscv64 wheels Sep 3, 2026
@luhenry
luhenry merged commit 4f6cf18 into main Sep 3, 2026
7 checks passed
@luhenry
luhenry deleted the pylsqpack branch September 3, 2026 20:49
@luhenry luhenry linked an issue Sep 3, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pylsqpack riscv64 support

1 participant