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

Run python sources with a VenvPex (Cherry-pick of #17700) #17761

Merged

Conversation

thejcannon
Copy link
Member

This change makes it so we use a VenvPex to run Python sources, which is a speed boost (I measure a gain of about ~500ms, which is also quoted in pex.py).

In order to make this work (specifically ensuring we don't revert the fix for #12055) we now have to weave the complete pex environment through to VenvPexRequest.

This change makes it so we use a `VenvPex` to run Python sources, which is a speed boost (I measure a gain of about ~500ms, which is also quoted in `pex.py`).

In order to make this work (specifically ensuring we don't revert the fix for pantsbuild#12055) we now have to weave the complete pex environment through to `VenvPexRequest`.
@thejcannon
Copy link
Member Author

This is being cherry picked because it is a precursor to #17678 which is an important bugfix for debugging.

@thejcannon thejcannon merged commit 3538f8e into pantsbuild:2.15.x Dec 9, 2022
@thejcannon thejcannon deleted the cherry-pick-17700-to-2.15.x branch December 9, 2022 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants