-
-
Notifications
You must be signed in to change notification settings - Fork 636
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 build an OSX pex from prebuilt pants wheels #7383
Comments
I've diffed the resulting 3rdparty wheels from working and non-working commits, and the diff indicates that we didn't lose any wheels... only gained them. So I'm going to explore the possibility that something in |
Yes, #7235 is almost certainly the culprit here. My hypothesis would be that we should be enumerating the expected ABIs here: https://github.com/pantsbuild/pants/blob/master/build-support/bin/release.sh#L594. I don't have time to look closely, but note I did not modify that function at all and it appears likely we should be fetching wheels differently to keep in mind that we have (now) six wheels built. I don't know what the expected behavior is. Is our Pex supposed to ship every single potential dependency needed, i.e. |
So, the input wheels are ~identical, and the pex invoke is ~identical:
... mysterious. |
Will investigate using |
@stuhood are you certain the wheels are identical at I would expect for platform specific wheels that we should have 6 wheels for each platform specific dependency like |
Not identical, but see: https://gist.github.com/stuhood/54a399dcf711a02396bc5bfc9be505ac |
PEX_VERBOSE for the unloadable pex claims:
...and inspecting the content of the good/bad pexes, I see the first significant difference:
The |
Ok, the following diff appears to resolve the issue on my machine:
So I'll look into including both |
…7393) ### Problem After #7235, we began building wheels for multiple ABIs and platforms, but when building a pex, we were allowing `pex` to choose which ABI to use in the output `pex`, which could result in an unusable output pex: see #7383. ### Solution Explicitly include all ABIs when constructing a pex with `-p`. ### Result Released and nightly pexes will be larger, but much more compatible. Fixes #7383.
Running (on master on an OSX 10.14 machine):
...results in a pex that cannot be consumed on 10.14:
Bisecting on whether that command succeeds (and skipping commits that didn't get wheels built for them) results in:
Of those, #7235 (7b2225e) is the most likely to be related.
The text was updated successfully, but these errors were encountered: