-
Notifications
You must be signed in to change notification settings - Fork 322
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
Unable to install numpy2.2.0 for Python3.10 #2409
Comments
The issue is that an older GCC version is being used to build numpy on Z14. Compilers that can successfully compile the HWY_Z14/HWY_Z15 targets are GCC 11 and later and Clang 19 and later (Clang 18 and earlier have bugs with some of the ZVector intrinsics that was fixed in Clang 19). |
I ran an experiment with the same setup but downgrading numpy<2.0.0 and it works fine.
|
Thanks for the report. @Sunny-Anand in the meantime, are you able to update your GCC compiler? |
I have implemented fixes for the compiler errors that occur when compiling the Z14 target with GCC 8 or GCC 9, and I will be submitting a pull request with these fixes. |
Ooh, even better. Thank you :D |
Thanks @johnplatts and @jan-wassenberg for the quick turnaround.
Do you know when Numpy will pick this up? We don't directly use Highway, but Numpy uses it for building the wheel files, so I wonder when this fix will be picked up. |
After the fix here, we can ask someone from numpy to update the Highway version. |
Thanks @jan-wassenberg for the quick help. Will wait for the fix to get upstreamed. |
The fix is merged. Hi @r-devulap, can you help update numpy to pick up the new Highway version? |
Docker Base Image: UBI-8
Host: zLinux on IBM Z
This was working fine on IBM z14,z15 and z16 machines when installing numpy inside a container with UBI-8 image.
Our production build fails due to the error reported below in the build log. It started to happen when we started pulling in numpy2.2.0.
The text was updated successfully, but these errors were encountered: