happy-kitchen-89482
03/17/2021, 1:46 AMenough-analyst-54434
03/17/2021, 1:55 AMenough-analyst-54434
03/17/2021, 1:56 AMenough-analyst-54434
03/17/2021, 1:57 AMenv
in the hand case and the pex case to see if there are differences there.enough-analyst-54434
03/17/2021, 1:59 AMPEX_TOOLS=1 the.pex venv --help
enough-analyst-54434
03/17/2021, 1:59 AMenough-analyst-54434
03/17/2021, 2:10 AMenough-analyst-54434
03/17/2021, 2:11 AMenough-analyst-54434
03/17/2021, 2:14 AM$ grep VIRTUAL_ENV= /home/jsirois/.pex/venvs/58fcefe170c11af69bfde52b33ba6424ccb3260f/800ae8ef047bd783543e8282c22bfdbee7b7fca8/bin/activate
VIRTUAL_ENV="/home/jsirois/.pex/venvs/58fcefe170c11af69bfde52b33ba6424ccb3260f/800ae8ef047bd783543e8282c22bfdbee7b7fca8.9c28554a8e4c4931a664c3d329088975"
The two paths don't match since the venv - when auto-created under ~/pex/venvs - is created in a temporary directory that is atomically renamed. That leads to a mismatch in the script contents and the final resting venv dir name.enough-analyst-54434
03/17/2021, 2:20 AMhappy-kitchen-89482
03/17/2021, 3:58 AMhappy-kitchen-89482
03/17/2021, 3:59 AMhappy-kitchen-89482
03/17/2021, 3:59 AM