Skip to content

cantera: build riscv64 wheels for 3.2.0 - #2352

Open
luhenry wants to merge 2 commits into
mainfrom
cantera
Open

luhenry wants to merge 2 commits into
mainfrom
cantera

Conversation

@luhenry

@luhenry luhenry commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Compiles Cantera's C++ core and its Cython bindings into one extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's python-package.yml.

Differs from upstream

  • Dependencies built in before-all from upstream's base-image superbuild - no riscv64 image
  • build-frontend = "build" instead of build[uv] - no host uv on the runner

Testing

  • test/ staged through test-sources instead of the /host mount
  • cp314t runs without the pandas extra (no free-threaded riscv64 wheel), which skips test_onedim.py

License: Wheel bundles fmt and yaml-cpp (MIT), HDF5, zlib, libaec, OpenBLAS, SUNDIALS (BSD-style), Eigen (MPL-2.0), HighFive and Boost (BSL-1.0) and libgfortran (GPL-3.0 with runtime exception); upstream ships no licence text for them, so the build adds it.

Patches

  • 0001-python_sdist-ship-licence-files-of-bundled-libraries.patch - To upstream [needs a companion base-image change]. Without it the bundled licences are not packaged. Not riscv64-specific.
  • 0002-Python-Fix-species-slicing-error-with-Numpy-2.4.0-dev.patch - Backport [Fix species slicing error with Numpy 2.4.0 dev version Cantera/cantera#2063]. Without it species slicing raises cannot resize an array on Python 3.14 with NumPy 2.4+. Reproduces on x86_64 with upstream's own wheel.

luhenry added a commit that referenced this pull request Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2352/

Built to branch gh-pages at 2026-09-26 05:40 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

This branch has not been deployed

No deployments
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