--sh-boot --venv
PEXes don't respect PEX_PYTHON
, PEX_PYTHON_PATH
, PEX_PATH
if venv exists
#2728
Labels
Similar to #2725, if a pex is built with
--sh-boot --venv
, executed at least once with the default configuration (to seed the venv in the PEX_ROOT cache), then certain env vars to control the details of the execution are ignored:PEX_PYTHON
PEX_PYTHON_PATH
PEX_PATH
This behaviour differs to non-
--sh-boot
where the vars are not ignored. Here's the results of running the reproducer below on my machine:--no-sh-boot
--sh-boot
PEX_PYTHON
interpreterPEX_PYTHON_PATH
interpreterPEX_PATH
can importcowsay
?Reproducer that tests overriding the
PEX_PYTHON*
vars to choose Python 3.9 for PEX execution, and alsoPEX_PATH
for inserting and importing acowsay
requirement:The text was updated successfully, but these errors were encountered: