Skip to content

pyerfa: add build-pyerfa.yml for riscv64 wheels - #974

Merged
luhenry merged 2 commits into
mainfrom
pyerfa
Sep 6, 2026
Merged

pyerfa: add build-pyerfa.yml for riscv64 wheels#974
luhenry merged 2 commits into
mainfrom
pyerfa

Conversation

@luhenry

@luhenry luhenry commented Sep 5, 2026

Copy link
Copy Markdown
Member

Compiles the vendored ERFA C library (IAU-endorsed astronomy algorithms) into a numpy ufunc extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's ci_workflows.yml, which calls OpenAstronomy's shared publish workflow.

Differs from upstream

  • Build floor is cp311, not upstream's cp39 - numpy (a build and runtime dependency) has no riscv64 wheel below cp311 on our registry.

Matrix: cp311/cp312/cp313/cp314 (no cp39/cp310, no free-threaded) - numpy has no riscv64 wheel for those on our registry, and upstream ships no free-threaded wheel yet.

Testing

  • same as upstream

License: OK

Mirrors upstream's OpenAstronomy-based wheel job. setup.py hardcodes the
built wheel to cp39-abi3 regardless of build interpreter, but numpy (a
build and runtime requirement) has no riscv64 wheel below cp311 on our
registry, so cp311 is the build floor; cibuildwheel reuses+retests the
same wheel on cp312-cp314.
setuptools/wheel places the license file at
dist-info/licenses/LICENSE.rst rather than directly under dist-info/,
which the wheel-content check's exact suffix match didn't account for.
@luhenry
luhenry merged commit abad0da into main Sep 6, 2026
6 checks passed
@luhenry
luhenry deleted the pyerfa branch September 6, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant