question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

numpy 1.19.3 in pyproject.toml not compatible with macOS 11

See original GitHub issue

We 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rgommerscommented, Jan 10, 2021

Update: the fix was to use pip 20.3, see numpy/numpy#17807. I don’t know if that is related.

Indeed, I think that fix (tell users to upgrade pip) is fine. Happy with not uploading new wheels with manually renamed ABI tags.

0reactions
rgommerscommented, Feb 8, 2021

Added a release note about the minimum required pip version in gh-13518. Nothing else to do, so closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found