c2pa-python: add build-c2pa-python.yml for riscv64 wheels - #1818
Merged
Merged
Conversation
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.
c2pa-python0.37.10Packages a
libc2pa_c.sobuilt from the pinnedcontentauth/c2pa-rsC-API crate and loaded via ctypes; the wheel carries no CPython ABI tag. Upstream publishes no riscv64 wheel.Mirrors the Linux job of upstream's
build-wheel.yml.Differs from upstream
libc2pa_c.sofrom source instead of downloading it - c2pa-rs ships no riscv64 release asset.ubuntu-24.04-riscvinstead of cross-compiling in a x86_64 container.Testing
License: Upstream's own wheel ships no licence text on any platform (
[tool.setuptools] license-files = []); the patch points it at the project's existingLICENSE-MIT/LICENSE-APACHEinstead.Patches
0001-add-riscv64-to-the-platform-identifier-tables.patch- To upstream (blocked: no cross-repo PRs).setup.py's platform detection falls through to x86_64 on a native riscv64 host.0002-ship-the-project-s-own-LICENSE-MIT-and-LICENSE-APACH.patch- To upstream (blocked: no cross-repo PRs). Closes the licence gap above.Built on cp312; full upstream test suite run against the installed wheel.