pyreadstat: add build-pyreadstat.yml for riscv64 wheels - #988
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.
pyreadstat1.3.6Compiles a Cython wrapper around the vendored ReadStat C library (reads/writes SAS, SPSS and Stata files into pandas/polars). Upstream publishes no riscv64 wheel.
Mirrors the
testjob of upstream'sci.yml(upstream has no separate wheel-building workflow, only cibuildwheel-shaped CI tests).Differs from upstream
CFLAGS=-O2 -fno-strict-aliasing- works around a gcc 13+ miscompile of readstat_writer.c's strict-aliasing violationstest_narwhalified.pydropped - unconditionally imports polars, which has no riscv64 wheeltest_runtime_types.py/test_typing.ymldeselected for the same reasonMatrix: cp310-cp314, no cp314t - matches upstream's own PyPI wheel matrix; the registry also has no free-threaded pandas wheel
Testing
License: OK - Apache-2.0 wrapper, vendored ReadStat is MIT; both texts ship in the wheel's
LICENSEfile already.Built on cp312 locally (macOS); wheel imports and the compiled extensions load correctly.