CI, BLD: Use `cibuildwheel` to build WASM NumPy wheels
Description
This PR intends to invoke pypa/cibuildwheel#1456 for building and testing the Pyodide builds for NumPy. cc @rgommers who recommended testing out on a fork of NumPy first, which I did, and I got it to pass.
Update: cibuildwheel version 2.19.1 is out with the required support for Pyodide.
Additional context
- Pyodide builds in the
cibuildwheeldocumentation: https://cibuildwheel.pypa.io/en/latest/setup/#pyodide-webassembly-builds-experimental
Do we want an extra CI job for this, or only change the existing one?
Do we want an extra CI job for this, or only change the existing one?
Ah, I should have mentioned it in the PR description. I plan to change the existing one to use cibuildwheel after we have a stable release for it – in the meantime, I plan to try this for a few other repositories.
P.S. This could have been incorporated into wheels.yml as well to reduce the number of workflows uploading artifacts or accessing secrets, but considering the instability of the platform, running only on [wheel build] commit messages on PRs and not every time is probably not the best approach.
Sounds good to me, thanks. And yes, I'd prefer to keep it separate from wheels.yml, at least for now.
@rgommers is this ready for merging?
I just noticed that there were conflicts here. I've merged the latest changes from main and fixed them, so this PR remains ready to merge.