Skip to content

Conversation

@cburroughs
Copy link
Contributor

This was established in #18433 and only worked due to a Pex bug that unconditionally stripped PEX_PYTHON on PEX boot. the portions of #18433 related to the cleanup so described are reverted:

Additionally when making this change, the Python/pex code was
refactored so that we always use this Python to run pex, with Python
either being chosen by pex, or by using PEX_PYTHON env var at
runtime. I think this is a nice cleanup of the handshake between
CompletePexEnvironment.create_argv and
CompletePexEnvironment.environment_dict used to have.

Fixes #22988

This was established in pantsbuild#18433 and only worked due to a Pex bug that
unconditionally stripped `PEX_PYTHON` on PEX boot. the portions of 
pantsbuild#18433 related to the cleanup so described are reverted:

> Additionally when making this change, the Python/pex code was
> refactored so that we always use this Python to run pex, with Python
> either being chosen by pex, or by using PEX_PYTHON env var at
> runtime. I think this is a nice cleanup of the handshake between
> CompletePexEnvironment.create_argv and
> CompletePexEnvironment.environment_dict used to have.

Fixes pantsbuild#22988
@cburroughs cburroughs added the release-notes:not-required [CI] PR doesn't require mention in release notes label Jan 12, 2026
@cburroughs
Copy link
Contributor Author

Fails due to this release line being too old and hitting actions/runner-images#13046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants