numpy 1.19.3 in pyproject.toml not compatible with macOS 11
See original GitHub issueWe added Python 3.9 support to pyproject.toml in commit 9228984a7 for 1.6.0. That commit required numpy 1.19.3, which is the first version to support Python 3.9. However macOS 11 is not yet supported by that release, hence we need to bump the minimum numpy version for macOS >= 11.
See the sys_platform and platform_version in PEP 509 for how to specify this.
It looks like numpy 1.20.0 (not yet released) will be the first version with macOS 11 compatible wheels (but double check this). When addressing this issue, both the SciPy pyproject.toml and the one in https://github.com/scipy/oldest-supported-numpy should be updated.
Cc @dplepage who reported this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
python 3.x - numpy build fail in M1 Big sur 11.1 - Stack Overflow
Yes, numpy still seems to be not supported in stable, but if you are ready to work with unstable version try this command:...
Read more >Installing NumPy
NumPy can be installed with conda , with pip , with a package manager on macOS and Linux, or from source. For more...
Read more >Error installing numpy on m1 Mac using terminal - Python
I get an error trying to install numpy via terminal on m1 mac, Big Sur V11.2.3. Does anyone have any ideas on how...
Read more >Installing numpy and spaCy on an Apple M1 - Adriane Boyd
Update June 2021: numpy 1.21 released. ... the it requires a version of wheel in pyproject.toml (PEP 518) that doesn't work on Big...
Read more >Napari, TensorFlow, AICSImageIO, StarDist, CARE/N2V ...
So we need the StarDist repo to tweak the pyproject.toml: ... It seems to make the napari-pyclesperanto-assistant not work, which is a big ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Indeed, I think that fix (tell users to upgrade
pip) is fine. Happy with not uploading new wheels with manually renamed ABI tags.Added a release note about the minimum required pip version in gh-13518. Nothing else to do, so closing.