calm-ambulance-65371
10/17/2022, 9:26 PMpex
does not honor indexes.add
after the first entry 😞calm-ambulance-65371
10/17/2022, 9:33 PMhappy-kitchen-89482
10/17/2022, 9:34 PM.add
in config files is a pants construct, so it might be a pants issue? Can you give a more elaborate example?calm-ambulance-65371
10/17/2022, 9:37 PMpex
call :
❯ ./pants generate-lockfiles --resolve=<resolve>
16:29:58.44 [ERROR] 1 Exception encountered:
ProcessExecutionFailure: Process 'Generate lockfile for <resolve>' failed with exit code 1.
stdout:
stderr:
pid 861252 -> /home/noah/.cache/pants/named_caches/pex_root/venvs/1d025be2b3d2024670ccbfbce824218209fcd325/ddab8011daaee380698a
c2fb9701af18c90c03f6/bin/python -sE /home/noah/.cache/pants/named_caches/pex_root/venvs/1d025be2b3d2024670ccbfbce824218209fcd32
5/ddab8011daaee380698ac2fb9701af18c90c03f6/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-i
nput --isolated -q --cache-dir /home/noah/.cache/pants/named_caches/pex_root/pip_cache --log /tmp/pants-sandbox-Xwf0j3/.tmp/pex
-pip-log.il4jjj_8/pip.log download --dest /tmp/pants-sandbox-Xwf0j3/.tmp/tmp0az740uu/usr.bin.python3.8 --requirement __pip_args
.txt <bunch of requirements> --index-url <https://pypi.org/simple/> --extra-index-url https://<url 1> --extra-index-url <url 2>
--extra-index-url <url 3> --retries 5 --timeout 15 exited with 1 and STDERR:
ERROR: Could not find a version that satisfies the requirement <package found in extra index 2>
ERROR: No matching distribution found for <package found in extra index 2>
calm-ambulance-65371
10/17/2022, 9:38 PMpants.toml
results in a similar error, except for the package that's now in the second extra indexhappy-kitchen-89482
10/17/2022, 9:39 PMhappy-kitchen-89482
10/17/2022, 9:39 PMcalm-ambulance-65371
10/17/2022, 9:40 PMcalm-ambulance-65371
10/17/2022, 9:40 PMhappy-kitchen-89482
10/17/2022, 9:53 PMpex
pex.happy-kitchen-89482
10/17/2022, 9:54 PMcalm-ambulance-65371
10/17/2022, 9:54 PMcalm-ambulance-65371
10/17/2022, 9:54 PMcalm-ambulance-65371
10/18/2022, 5:43 PMpip
issue. They assume HTTPBasic credentials are valid for an entire domain and only use the last pair if multiple --extra-index-url
under the same domain (but with different auth) are specified. We're using various GitLab repos which all fall under the <http://gitlab.com|gitlab.com>
domain, but have different auth because they are part of different projectscalm-ambulance-65371
10/18/2022, 7:04 PM