cookie icon indicating copy to clipboard operation
cookie copied to clipboard

cibuildwheel pypy on os x does not like numpy

Open nsmith- opened this issue 4 years ago • 1 comments

I ran into https://github.com/joerick/cibuildwheel/issues/402 while building wheels that now incorporate numpy See e.g. https://github.com/cms-nanoAOD/correctionlib/runs/2521360719?check_suite_focus=true#step:3:1003 Seems the current best solution is to drop pypy wheels for os x?

nsmith- avatar May 06 '21 19:05 nsmith-

FYI,

brew install openblas
OPENBLAS="$(brew --prefix openblas)" cibuildwheel ...

was listed as a solution. The "best" solution would be for NumPy to provide macOS PyPy wheels. Though, of course, if you use pybind11, you don't need them when building, and you can disable testing for just this one job with TEST_SKIP.

henryiii avatar May 31 '21 15:05 henryiii

Assuming the situation is a bit better (more wheels provided by numpy for pypy these days)

henryiii avatar Jul 03 '23 14:07 henryiii