-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] breaks numpy in cross-compiling environment #3549
Comments
@th0ma7 I'm hitting this same problem when installing Did you make any progress on this? |
Try downgrading the setuptools version? |
Downgrading setuptools is all i could find for now |
Hitting the same issue. Need to downgrade setuptools to <64 on our system. |
Hitting the same issue in MacOS, the solution to downgrade setuptools to <64 worked. |
This seems to have disappeared for me with recent versions of setuptools and/or numpy |
@mboisson Thnx! indeed it did and can confirm SynoCommunity/spksrc#5866 |
To be more specific, after more testing, |
I concur, you are absolutely and had to revert back to older setuptools due to a need for an older numpy. But indeed now working with 1.24+ |
I am having this issue with setuptools==65.5.1 as well as numpy==1.26.0, so I am not sure if the newest numpy (as of writing, 1.26.2) has already fixed for setuptools. update: upgrade to newest setuptools |
setuptools version
setuptools >= 64.x
Python version
python 3.10.x
OS
Linux
Additional environment information
Environment is using the Synology DSM toolchain for cross-compiling for multiple archs (armv5, v7, v8, ppc, x64, i686).
Description
While preparing python 3.10.6 update I've took care to update all build requirements, including setuptools.
It hapens that it made numpy to fail to build starting with setuptools >= 64.x (also fails on 65.x).
Full build logs can be found here: https://github.com/SynoCommunity/spksrc/runs/7917533394?check_suite_focus=true
Associated SynoCommunity PR: SynoCommunity/spksrc#5395
Expected behavior
numpy to build properly (like all other regular wheel being cross-compiled)
How to Reproduce
Can be reproduced easily using the SynoCommunity (spksrc) cross-compiling environment.
Output
Output is mostly hidden under pip call:
The text was updated successfully, but these errors were encountered: