Repository navigation
Conversation
PyKCS11 1.5.20 is a SWIG-generated C++ PKCS#11 wrapper (ck_attribute_smart.cpp, pkcs11lib.cpp) that dlopen()s the PKCS#11 module at runtime, so the build links no external library at all. PyPI publishes manylinux x86_64/musllinux x86_64, macOS and Windows wheels for 1.5.20 but no Linux aarch64 and no riscv64 - a real, narrow gap. Mirrors upstream's own linux.yml cibuildwheel job (CIBW_BUILD cp39-cp314t) narrowed to manylinux_riscv64; swig (the only build dependency besides a C++ compiler) resolves from Rocky 10's own riscv64 repos, no EPEL needed.
luhenry
marked this pull request as draft
October 16, 2026 00:07
The folded CIBW_TEST_COMMAND scalar put a leading space before 'import' on python -c's first line (python -c " import ..."), which Python rejects as an IndentationError on every riscv64 build leg. Start the quoted code right after the opening quote so the folded command has no leading whitespace.
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.
pykcs111.5.20Builds the SWIG-generated
PyKCS11._LowLevelC++ extension, a PKCS#11 wrapper that dlopen()s the actual PKCS#11 module at runtime rather than linking one at build time. Upstream publishes manylinux/musllinux x86_64 plus macOS/Windows wheels but no Linux aarch64 and no riscv64.Mirrors upstream's own
linux.ymlbuild_wheelsjob.Differs from upstream
swigviadnfinCIBW_BEFORE_ALL_LINUX- upstream's runner installs it viaapt.Testing
CIBW_TEST_COMMANDinstead imports the built extension and exercises one SWIG-wrapped type, proving the compiled code actually runs.License: OK
Built on cp312.