--sh-boot --venv=... --include-tools
pex doesn't respect PEX_TOOLS=1
if venv exists
#2725
Labels
--sh-boot --venv=... --include-tools
pex doesn't respect PEX_TOOLS=1
if venv exists
#2725
If a PEX is built with
--sh-boot --venv=... --include-tools
, then runningPEX_TOOLS=1 ./path/to/pex
only works if the venv hasn't already been created in$PEX_ROOT
(that is, the cache is cold).If the venv already exists, then the
PEX_TOOLS=1 ./path/to/pex ...
invocation is equivalent to./path/to/pex ...
, i.e. just invoking the pex normally withoutPEX_TOOLS=1
.I'd expect the state of the cache to not change the behaviour of these invocations (only the performance).
Reproducer:
The bug stops reproducing after removing any of the options.
The text was updated successfully, but these errors were encountered: