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: Questionable macOS wheel contents #15539
Comments
Can maybe ping @isuruf for opinion maybe. I think we've been leaning toward ditching the |
To be clear, you should be able to install a binary directly on MacOS M1, if you are using a recent enough OS. |
Yes, you need MacOS 12.x for M1 because of issues on 11.x. I'm sure you could dig up the issues/reasons we had for this.. but they were serious like segfaults with 11.x on M1. |
I'll close this, since it is working as intended--you need MacOS 12.x for M1 binary install b/c of serious segfault issues. I think Ralf worked a bit with Apple folks on that one too. |
From a quick search of our issue tracker: #13409 (comment) |
Maybe a separate issue would be appropriate for the "cocktail" inside the universal2 binary if it can be demonstrated that it actually causes a problem. You didn't report an actual i.e., test failure there? |
I'll leave this open until i.e., Isuru comments on the wheel contents maybe |
The cocktail has knocked out PyInstaller support but that's more PyInstaller's problem but other than that it doesn't appear to have broken anything. Like I said, I just wanted to confirm that it is intentional. Given how hard it is to get anything resembling macOS M1 CI/CD, I thought that that wheel might have had to be released untested. |
That's because the gfortran toolchain we are using for x86_64 has a libgfortran.dylib that has both x86_64 and i386 slices.
This is expected because libquadmath doesn't support arm64/aarch64. |
Ahh so |
Ok, thanks Isuru--I think I can close this then. Ralf did carefully run our full test suite on his M1 Mac, but @bwoodsend is correct that the CI situation there is unfortunate of course. Shrinking wheels is of interest to us too, we've had some "bloating" recently I think. |
Yes. It's only needed for np.float128 support which is only supported in x86_64 and not arm64. |
Perfect. Thanks for clearing that up for me. The redundant |
Describe your issue.
I'm not sure if this really is a bug. Merely I found it very unusual so I thought I'd check if it was deliberate. It has broken our pipelines and whilst that's more due to missasumptions on our end, I want to be sure before I start trying to fix it.
The latest release (1.8.0) of wheels for macOS includes both
universal2
and separate architecture variants. Both thearm64
slice of theuniversal2
wheel and thearm64
wheel targets macOS >= 12 leaving macOS M1 Big Surs to compile from source?Inside the
universal2
wheel there is a mixture of fat and thin dylibs including onei386
slice:In particular, I find that seemingly redundant
i386
slice and the lack of anarm64
variant oflibquadmath
unlikely.Is the lack of an macOS 11 M1 compatible wheel and the above cocktail of binaries types intentional?
Reproducing Code Example
Error message
SciPy/NumPy/Python version information
1.8.0 1.22.2
The text was updated successfully, but these errors were encountered: