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
Update numpy to 1.25.2 #4125
Update numpy to 1.25.2 #4125
Conversation
This is the last version that defaults to a distutils/setup.py-based build.
Thanks @rgommers! It seems to be mad about |
Argh, I was hoping it would be smooth sailing. I tried building locally in a conda env following the contributor guide, but that had some hiccup. I will try with the recommended Docker setup instead. And yes indeed, more C++ in this release. This snippet from the release notes may also be relevant:
C++17 is no problem in principle I assume, right? EDIT: build failure for future reference:
|
Are there any simple tricks to leave tmp files in the file system after compilation fails? I always have this problem where the failing command takes arguments that were in |
Ah but this test is hard coded into |
Yes, that is usually a pain. If you build via |
Okay found the problem. |
It built really fast, |
Not that I know of. Locally 1m 31s isn't unusual for a local parallel build though. I just tried on Linux:
It'll get a lot faster still from 1.26.0 onwards, due to the Meson rewrite:
|
The macOS job failure looks unrelated. Something that picked up the system Python 2.7 in the final |
Yeah the github macos job flakes a lot so I tend not to pay much attention to it especially if the circleci safari tests pass. |
I can reproduce the initial failure and the completed build after your fix locally now. Thanks for the help! |
Thanks again @rgommers! |
Description
This is the last version of
numpy
that defaults to a distutils/setup.py-based build. I am also looking into moving the build to Meson (xref numpy/numpy#24603), but I thought it'd be good to make this update in case anything changed in the 1.25.x release series.Checklists