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

Support statically linked CPython. #2472

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Jul 24, 2024

This pulls in a new vendored version of Pip with
the recent fix in pypa/pip#12716 applied in
pex-tool/pip#13. As a result, Pex can run using
vendored Pip under statically linked musl libc CPython interpreters.
This opens the door to bootstrapping newer unpatched Pip's that also
have this same fix (versions 24.2 and later; see: #2471).

Fixes #2017

@jsirois jsirois requested review from zmanji, kaos, benjyw and huonw July 24, 2024 00:21
Copy link
Collaborator

@zmanji zmanji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test and changes lgtm.

With this you can have a devenv that's purely managed by pex and python build standalone on alpine linux.

@jsirois jsirois changed the title Support statically linked musl libc CPython. Support statically linked CPython. Jul 24, 2024
@jsirois jsirois merged commit 5dbc706 into pex-tool:main Jul 24, 2024
26 checks passed
@jsirois jsirois deleted the issues/2017 branch July 24, 2024 03:18
Copy link
Collaborator

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Cannot use pex with statically linked python
3 participants