After upgrading pex to v2.1.93, i'm getting new er...
# general
r
After upgrading pex to v2.1.93, i'm getting new error reports while running `./pants export ::`:
Copy code
1. /home/user/.cache/pants/named_caches/pex_root/venvs/s/1d86a732/venv/lib/python3.10/site-packages/pip install --ignore-installed --no-user --prefix /home/user/.cache/pants/named_caches/pex_root/pip_cache/.tmp/pip-build-env-sw__kvfa/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- setuptools wheel Cython Check the logs for full command output.
2. /home/user/.cache/pants/named_caches/pex_root/venvs/s/1d86a732/venv/lib/python3.10/site-packages/pip install --ignore-installed --no-user --prefix /home/user/.cache/pants/named_caches/pex_root/pip_cache/.tmp/pip-build-env-_jw5tnql/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
3. /home/user/.cache/pants/named_caches/pex_root/venvs/s/1d86a732/venv/lib/python3.10/site-packages/pip install --ignore-installed --no-user --prefix /home/user/.cache/pants/named_caches/pex_root/pip_cache/.tmp/pip-build-env-mnx8s3sw/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- 'setuptools>=42' wheel Check the logs for full command output.
1
it seems that manually copy-and-pasting the
pip install ...
command and removing
--no-index
resolves the issue.
is this a new pex behavior or a bug?
manually clearing the pex's pip cache (
rm -rf ~/.cache/pants/named_caches/pex_root
) did not help
rolling back to the default pex version resolves the issue..
upgrading pants (2.12.0rc2 -> rc3) and pex (2.1.90 -> 2.1.93) after hydrating the local caches seems to be fine,
but freshly installing with the updated pants & pex causes the above errors
a
I also experienced this issue for 2.11.1rc2 when overwriting pex to 2.1.93 on MacOS