Repository navigation
Conversation
Adds a cibuildwheel-based riscv64 build for hdiffpatch 2.6.0, mirroring upstream's own build_wheels.yaml linux job. Stages the vendored third-party codec licences (zstd, tinyuz, brotli, lzham_codec, tamp, bzip2, zlib, lz4, libdeflate, libmd5, lzma) at the project root so the default license-files glob picks them up, since upstream's own wheel ships only its wrapper LICENSE. Signed-off-by: Ludovic Henry <git@ludovic.dev>
luhenry
marked this pull request as draft
October 16, 2026 00:02
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hdiffpatch2.6.0Compiles a Cython/C++ extension wrapping sisong/HDiffPatch (binary diff/patch, distinct from bsdiff4's algorithm) plus its vendored zstd/brotli/lzham/tamp/lzma/bzip2/zlib/lz4/libdeflate codec backends. Upstream publishes no riscv64 wheel.
Mirrors upstream's
build_wheels_linuxjob, narrowed to the riscv64 image.Differs from upstream
Testing
pytest {package}/tests).License: upstream's own wheel ships only its wrapper's Apache-2.0 LICENSE; the vendored codec submodules (zstd, tinyuz, brotli, lzham_codec, tamp, bzip2, zlib, lz4, libdeflate - all permissive, plus libmd5/lzma which carry no standalone LICENSE file) are staged at the root from the checkout so the default glob ships their notices too.
Built locally (x86_64): license-staging commands verified against a fresh v2.6.0 checkout with submodules; no cibuildwheel run (no docker/riscv64 available in this sandbox).