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

Upgrade Pex to Pip 20.3.1. #1133

Merged
merged 4 commits into from
Dec 14, 2020
Merged

Upgrade Pex to Pip 20.3.1. #1133

merged 4 commits into from
Dec 14, 2020

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Dec 12, 2020

Since Pip now natively supports passing multiple --platform options on
the download CLI, the only adjustments needed were to remove the
--headers and --cache-ttl support that was provided by a custom patch
that never made it into Pip due to security concerns as well as an
adjustment to the wheel install code due to the 2020-resolver being more
strict.

A new --resolver-version option is added to toggle between the
legacy-resolver and the new 2020-resolver with the legacy-resolver being
used by default to allow Pex users to transition. A follow-up release
will add a deprecation notice / warning for those still using the
legacy-resolver.

Since Pip now natively supports passing multiple --platform options on
the download CLI, the only adjustments needed were to remove the
--headers and --cache-ttl support that was provided by a custom patch
that never made it into Pip due to security concerns as well as an
adjustment to the wheel install code due to the 2020-resolver being more
strict.

A new option is added to toggle between the legacy-resolver and the new
2020-resolver with the legacy-resolver being used by default to allow
Pex users to transition. A follow-up release will add a deprecation
notice / warning for those still using the legacy-resolver.
@jsirois jsirois changed the title Fix Pex to work with Pip 20.3.1. Upgrade Pex to Pip 20.3.1. Dec 12, 2020
@jsirois jsirois mentioned this pull request Dec 12, 2020
1 task
@jsirois
Copy link
Member Author

jsirois commented Dec 12, 2020

This is reviewable but will not be merged until after the 2.1.22 release (#1111) to go out in its own dedicated 2.1.23 release (#1134).

pex/bin/pex.py Show resolved Hide resolved
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.

None yet

2 participants