Skip to content
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

Fix pex resolving for foreign platforms. #835

Merged
merged 5 commits into from
Dec 28, 2019
Merged

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Dec 27, 2019

This change restores manylinux handling to the pre pex 2.0.0 status quo
while properly supporting manylinux-next via the new --manylinux
option that takes a manylinux platform upper bound to assume whenever
the user specified platform is linux. This upper bound now defaults to
manylinux2014.

The change also brings in a pip fix for abi3 handling for foreign
platforms and a test is added to track this continues to work.

Fixes #823

@jsirois
Copy link
Member Author

jsirois commented Dec 27, 2019

Reviewers, note that the 1st commit -
626093a - is pending in #834. The next commit -
8123f95 - is an automated vendoring commit, so its best to focus on d1ac2be which contains the substantive changes here.

This pulls in improved support for foreign download targets.
This change restores manylinux handling to the pre pex 2.0.0 status quo
while properly supporting manylinux-next via the new `--manylinux`
option that takes a manylinux platform upper bound to assume whenever
the user specified platform is linux. This upper bound now defaults to
manylinux2014.

The change also brings in a pip fix for abi3 handling for foreign
platforms and a test is added to track this continues to work.

Fixes pex-tool#823
Ensure the platforms used are always foreign.
Eliminate encode_identity by inlining where its used. This keeps the
symmetry of encode/decode local within a few lines of each other in the
same function.
@jsirois jsirois mentioned this pull request Dec 28, 2019
@jsirois jsirois merged commit e078b88 into pex-tool:master Dec 28, 2019
@jsirois jsirois deleted the issues/823 branch December 28, 2019 17:56
@jsirois jsirois mentioned this pull request Dec 28, 2019
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pex does not download foreign abi3 wheels correctly
2 participants