Skip to content

moyopy: add build-moyopy.yml for riscv64 wheels - #1062

Open
luhenry wants to merge 3 commits into
mainfrom
moyopy
Open

moyopy: add build-moyopy.yml for riscv64 wheels#1062
luhenry wants to merge 3 commits into
mainfrom
moyopy

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles moyo's Rust crystal-symmetry library into the moyopy PyO3 extension module. Upstream publishes no riscv64 wheel.

Mirrors upstream's rw-python-release.yaml.

Differs from upstream

  • cibuildwheel replaces PyO3/maturin-action - this repo's standard riscv64 build path
  • LICENSE-APACHE/LICENSE-MIT staged into moyopy/ before build - maturin globs licences relative to pyproject.toml's directory and upstream ships none

Matrix: cp310-abi3 (pyo3's abi3-py310 floor) + cp314t; no cp313t (cibuildwheel ships no such build identifier)

Testing

  • same as upstream, minus prek (lint-only, unused by pytest)
  • test-sources stages only python/tests, not the sibling python/moyopy source package, so the installed wheel isn't shadowed

License: OK

Builds moyo's Rust crystal-symmetry library into the moyopy PyO3
extension via cibuildwheel + maturin, mirroring upstream's
rw-python-release.yaml narrowed to the riscv64 image.
pymatgen hard-requires orjson, and orjson's build script refuses to
compile under a free-threaded interpreter. Narrow test coverage for
that one identifier instead of dropping the build.
pymatgen (test-requires, sdist-only on riscv64) pulls in scipy/numpy/pandas/
orjson as runtime deps; without PIP_ONLY_BINARY pip resolved PyPI's newer
sdist-only releases over our registry's riscv64 wheels and tried to compile
scipy from source, failing on missing OpenBLAS.
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