lpsinger / ligo.skymap

Localization of gravitational-wave transients. Mirror of https://git.ligo.org/lscsoft/ligo.skymap
23 stars 18 forks source link

ERROR: Failed building wheel for numpy #13

Closed scimaksim closed 2 years ago

scimaksim commented 2 years ago

Dependency on numpy 1.19.3 is preventing installation (ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects), could the pyproject.toml be updated with a more recent version of numpy?

lpsinger commented 2 years ago

We generally build wheels against the oldest version of Numpy that is supported by Scipy through the oldest-supported-numpy metapackage. Some time ago we had to pin it to what was then a slightly newer version (1.19.3). I'm now trying reverting to oldest-supported-numpy in https://git.ligo.org/lscsoft/ligo.skymap/-/merge_requests/274.

What platform and CPU architecture are you on?

scimaksim commented 2 years ago

Understood. I had been running a Mac M1 realized that, afyer manually adjusting the numpy version, at least 1 other dependency (lalsuite) posed an issue on osx-aarch_64. Installation on x86-64 went smoothly. I believe I can close this issue.

lpsinger commented 2 years ago

Yes, lalsuite is a complicated package that is not yet being built for aarch64.