-
Notifications
You must be signed in to change notification settings - Fork 59
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
delocate-merge fails to merge numpy #227
Comments
Unsure what to do here. I don't have the tools to inspect these files. I might need to raise this issue upstream to ronaldoussoren/macholib. In theory the native CLI |
For now I added an except to cover this ValueError returning None. The reason for the troubles here might be that some of those numpy binaries are generated from Fortran code which might generate wired headers. However, those binary things are mostly an unknown field for me. |
Line 173 in b0c3781
Could do what you did and rely on the exceptions from If the headers are unusual then that's definitely something I should report upstream. |
Ideally we'd upgrade to delocate 0.12.0 and use the new delocate-merge command, but it fails on numpy (matthew-brett/delocate#227), so we'll stick to 0.11.0 for now.
Ideally we'd upgrade to delocate 0.12.0 and use the new delocate-merge command, but it fails on numpy (matthew-brett/delocate#227), so we'll stick to 0.11.0 for now.
Ideally we'd upgrade to delocate 0.12.0 and use the new delocate-merge command, but it fails on numpy (matthew-brett/delocate#227), so we'll stick to 0.11.0 for now.
#229 has identified the problem as being caused by fat static libraries. I'm likely to continue any discussion over there. |
Describe the bug
A ValueError is thrown by macholib on trying to get the determine the macOS min version on applying delocate-merge to numpy 2.1.1 arm & x86_64 wheels downloaded from PyPip for macOS
To Reproduce
Expected behavior
A successful merge
Wheels used
If a wheel is involved then consider attaching the original wheel (before being delocated) or linking to the repository where the original wheel can be created.
https://files.pythonhosted.org/packages/6b/6c/a9fbef5fd2f9685212af2a9e47485cde9357c3e303e079ccf85127516f2d/numpy-2.1.1-cp312-cp312-macosx_11_0_arm64.whl
https://files.pythonhosted.org/packages/36/11/c573ef66c004f991989c2c6218229d9003164525549409aec5ec9afc0285/numpy-2.1.1-cp312-cp312-macosx_10_9_x86_64.whl
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: