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

No longer available in Python 3.12: numpy.distutils #526

Closed
musicinmybrain opened this issue Sep 22, 2023 · 5 comments
Closed

No longer available in Python 3.12: numpy.distutils #526

musicinmybrain opened this issue Sep 22, 2023 · 5 comments

Comments

@musicinmybrain
Copy link
Contributor

musicinmybrain commented Sep 22, 2023

For the numpy 1.26 release, which brings official support for Python 3.12, numpy.distutils is removed entirely in Python 3.12.

This package will need to find a way to eliminate the use of numpy.distutils.

@matthew-brett
Copy link
Member

Yes, I think we'll have to follow scipy, scikit-image, and dipy in adopting Meson. E.g. dipy/dipy#2715

@jarrodmillman
Copy link
Member

See #527

@musicinmybrain
Copy link
Contributor Author

musicinmybrain commented Oct 12, 2023

I just tested out the latest commit in main, e5e063b. After some packaging changes (mostly welcome simplifications!) I’m able to build nipy in Fedora Rawhide with:

  • Python 3.12.0 (final)
  • NumPy 1.26.0
  • All tests, including doctests, running and passing with pytest and no nose or nose3
  • No lapack_lite, bundled or otherwise, and with FlexiBLAS in lieu of OpenBLAS by simply replacing openblas with flexiblas in nipy/labs/meson.build

I’m going to keep fussing over packaging details for a while, try things on non-x86_64 architectures, maybe offer some PR’s to deal with some warnings, and so on, before actually updating the Fedora package. Still, the recent work on this project has been an amazingly successful sprint.

Feel free to close this issue any time you like.

By the way, are you expecting to tag a new release in the moderately near future?

This was referenced Oct 12, 2023
@matthew-brett
Copy link
Member

Yes, we'll release soon - thanks for pressing us.

@effigies
Copy link
Member

Closing. #464 tracks the request for a new release.

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

No branches or pull requests

4 participants