Open
Description
Is your feature request related to a problem? Please describe.
Pants has a concept of a VenvPex
, used for running internal tools (etc.), that pokes into PEX internals to minimise start-up time. I think this is now supported more directly via PEX with its --sh-boot
argument.
Removing the custom code makes pants simpler and more reliable.
Describe the solution you'd like
- Verify a
--sh-boot
-built PEX behaves similarly to theVenvPex
- Replace uses of
VenvPex
in this repository with--sh-boot
-built PEXes - Deprecate
VenvPex
and its support to help plugin authors migrate
Describe alternatives you've considered
N/A
Additional context
Reference code:
- Support --venv mode for internal PEXes. #11557
- docs (relevant code surrounds it)
pants/src/python/pants/backend/python/util_rules/pex.py
Lines 1039 to 1063 in cfb3caf
PEX code: pex-tool/pex#1721
There's some issues that might be resolved by eliminating this:
Activity