You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although #1828 fixed running PEX zip files that might re-direct to PEX_ROOT housed --venvs with pex scripts that had too-long shebangs, it did not fix this same issue for the internal loose PEXes dogfooded by PEX itself. This dogfood PEXes are used at PEX buildtime.
In short, #1828 fixed runtime, but it did not fix buildtime.
There are two dogfood loose venv PEXes Pex executes by running the venv pex script and both should be switched to running via <venv_dir>/bin/python <venv_dir>/pex`:
The fix in #1828 did not cover the two dogfood venvs Pex uses to run
its own internal tools. Add a failing test for each of these cases and
fix with a new `VenvPex` type that ~forces doing the right thing.
Fixes#1842
Although #1828 fixed running PEX zip files that might re-direct to PEX_ROOT housed
--venv
s withpex
scripts that had too-long shebangs, it did not fix this same issue for the internal loose PEXes dogfooded by PEX itself. This dogfood PEXes are used at PEX buildtime.In short, #1828 fixed runtime, but it did not fix buildtime.
There are two dogfood loose venv PEXes Pex executes by running the venv
pex
script and both should be switched to running via<venv_dir>/bin/python
<venv_dir>/pex`:https://github.com/pantsbuild/pex/blob/ddc2d23799b976d301626d1ca8ee27947674d738/pex/build_system/pep_518.py#L57-L88
https://github.com/pantsbuild/pex/blob/ddc2d23799b976d301626d1ca8ee27947674d738/pex/build_system/pep_517.py#L85-L118
https://github.com/pantsbuild/pex/blob/3e71bc7896935a8177e9bbe9399769c3522528dc/pex/pip/tool.py#L235-L280
https://github.com/pantsbuild/pex/blob/3e71bc7896935a8177e9bbe9399769c3522528dc/pex/pip/tool.py#L407-L408
The text was updated successfully, but these errors were encountered: