Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumPy now supports Python 3.12 #7403

Merged
merged 4 commits into from Sep 20, 2023
Merged

NumPy now supports Python 3.12 #7403

merged 4 commits into from Sep 20, 2023

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Sep 17, 2023

Helps #6941.

With the release of NumPy 1.26.0, NumPy supports Python 3.12 - https://github.com/numpy/numpy/releases/tag/v1.26.0

@hugovk
Copy link
Member

hugovk commented Sep 17, 2023

Hmm, NumPy has wheels for PyPy3.9 but not for PyPy3.10:

  • numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl
  • numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl

https://pypi.org/project/numpy/1.26.0/#files

@hugovk
Copy link
Member

hugovk commented Sep 17, 2023

I asked NumPy about PyPy3.10 wheels: numpy/numpy#24728

@radarhere
Copy link
Member Author

I've added commits to fix building on PyPy 3.10 in the meanwhile.

As for Python 3.9 on Cygwin, the initial error is "Failed to build ninja".
Installing that, I get "No BLAS library detected! Install one, or use the allow-noblas build option".

https://stackoverflow.com/questions/73659464/does-openblas-devel-exist-for-cygwin tells me that there is no devel openblas package for Cygwin, so I attempted to use 'allow-noblas'.

To do this, numpy/numpy#24703 suggests

Instead, I have pushed a commit here to simply not use NumPy 1.26 on Cygwin.

@hugovk hugovk merged commit 7a633e3 into python-pillow:main Sep 20, 2023
53 checks passed
@hugovk
Copy link
Member

hugovk commented Sep 20, 2023

Thanks!

@radarhere
Copy link
Member Author

The NumPy pinning has been replaced in #7880 with the packaged NumPy versions instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants