selectolax: add build-selectolax.yml for riscv64 wheels - #926
Merged
Conversation
Build-from-checkout shape mirroring upstream's own make_release.yml (pypa/cibuildwheel on the checked-out repo with submodules). selectolax statically compiles the vendored modest (LGPL-2.1) and lexbor (Apache-2.0) engines; the published PyPI wheel ships only selectolax's own MIT LICENSE, so a patch adds LICENSE.modest, LICENSE.lexbor and NOTICE.lexbor at the project root, picked up automatically by setuptools' default license_files glob. Tests mirror upstream's pythonpackage.yml pytest suite, staged via CIBW_TEST_SOURCES to avoid the checkout's selectolax/ package shadowing the installed wheel (gotcha 25). Both manylinux and musllinux riscv64 images are attempted since selectolax has no external runtime deps.
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.
selectolax0.4.11Compiles the Cython-wrapped modest and lexbor HTML5 engines from vendored source. Upstream publishes no riscv64 wheel.
Mirrors upstream's
make_release.yml.Differs from upstream
Testing
License: Wheel bundles modest (LGPL-2.1) and lexbor (Apache-2.0) source; upstream ships no licence text for them, so the build adds it.
Patches
0001-package-the-licences-of-the-embedded-modest-and-lexb.patch- To upstream. Wheel would ship only selectolax's own MIT LICENSE without it; reproduces off riscv64.Built on cp313 (macOS); 315 passed, 0 skipped.