persistent: add build-persistent.yml for riscv64 wheels - #1189
Merged
Conversation
Mirrors the existing zope-hookable/zope-interface ports: checks out the zopefoundation/persistent repo and builds via cibuildwheel against the manylinux_riscv64 image. cffi and zope.interface (both build- and run-time dependencies of the compiled extensions) have no riscv64 wheel on public PyPI, so PIP_EXTRA_INDEX_URL points at our own registry for both phases. Tests run upstream's own zope.testrunner suite twice (compiled and PURE_PYTHON), excluding test_docs, whose doctest walks up from the installed module to find docs/api/*.rst — files the wheel does not ship.
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.
persistent6.8Compiles ZODB's core persistence C extensions (
cPersistence,cPickleCache,_timestamp) plus a cffi-built_ringmodule. Upstream publishes no riscv64 wheel.Mirrors
build-zope-hookable.yml/build-zope-interface.yml: checks out the tag directly and builds with cibuildwheel againstmanylinux_2_39_riscv64, rather than upstream's own Docker-driven.manylinux.sh.Differs from upstream
PIP_EXTRA_INDEX_URLset for both build and test - cffi and zope.interface have no riscv64 wheel on public PyPI.test_docsexcluded (-m '!test_docs') - its doctest needsdocs/api/*.rst, which the wheel does not ship.Testing
zope.testrunnersuite, run twice (compiled andPURE_PYTHON=1), same aszope-hookable/zope-interface.License: OK
Built on cp312; 618 passed, 6 skipped (compiled), 250 skipped (pure Python).