Repository navigation
Conversation
scikit-build-core build that fetches and compiles lib3mf's C++ library into the lib3mf package, mirroring upstream's aarch64.yml narrowed to riscv64. Patch the Linux machine allowlist in __init__.py, and ship the licences of lib3mf and the libraries it links statically.
luhenry
marked this pull request as draft
October 14, 2026 11:31
luhenry
marked this pull request as ready for review
October 15, 2026 12:12
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.
py-lib3mf2.5.0Compiles lib3mf's C++ library (fetched at the matching tag) into the
lib3mfpackage, a drop-in for thelib3mfdistribution. Upstream publishes no riscv64 wheel, only aarch64.Mirrors upstream's
aarch64.yml.Differs from upstream
SKBUILD_WHEEL_LICENSE_FILESwidened - the default glob missesLicense.txtand the linked libraries' licences.Matrix: cp312, cp313, cp314 - upstream builds cp310-cp314 only and ships no free-threaded wheel.
Testing
License: Wheel bundles lib3mf (BSD-2-Clause), zlib (Zlib), libzip (BSD-3-Clause), cpp-base64 (Zlib) and fast_float (MIT); upstream ships no licence text for them, so the build adds it.
Patches
0001-Allow-importing-on-linux-riscv64.patch- To upstream.__init__.pyraisesOSErroron any Linux machine but x86_64/aarch64; riscv64-only.