```(monorepo) āžœ monorepo git:(main) āœ— ./pants dep...
# general
m
Copy code
(monorepo) āžœ  monorepo git:(main) āœ— ./pants dependencies ::          
16:43:13.00 [WARN] DEPRECATED: scope python-setup will be removed in version 2.10.0.dev0.

Use scope python instead (options: interpreter_constraints)
16:43:14.25 [INFO] Completed: Building dockerfile_parser.pex from dockerfile-parser_default_lockfile.txt
16:43:14.25 [ERROR] 1 Exception encountered:

  ProcessExecutionFailure: Process 'Building dockerfile_parser.pex from dockerfile-parser_default_lockfile.txt' failed with exit code 1.
stdout:

stderr:
ERROR: Exception:
Traceback (most recent call last):
  File "/home/marcelo/.cache/pants/named_caches/pex_root/venvs/s/53f402b6/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 171, in _merge_into_criterion
    crit = self.state.criteria[name]
KeyError: 'dockerfile'
On 2.9.0.dev2 I'm having this /\
šŸ‘€ 2
c
It works on the testproject files in the pants repo for me.. so.. can you identify what target is causing this, and share some key configurations for it?
(Iā€™m going to be afk for a while, perhaps until tomorrow, so will be slow to respond, sorry..)
m
ah, my
indexes
on
python-repos
caused this šŸ¤”
np then šŸ˜— thanks anyway
actually, when I add a new index e.g. on
indexes.add
, I have this issue šŸ¤”
If I remove the docker backend:
Copy code
(extract-monorepo) āžœ  monorepo git:(main) āœ— ./pants package ::
17:07:20.69 [WARN] DEPRECATED: scope python-setup will be removed in version 2.10.0.dev0.

Use scope python instead (options: interpreter_constraints, requirement_constraints)
17:07:24.51 [INFO] Completed: Building build_backend.pex from setuptools_default_lockfile.txt
17:07:24.51 [ERROR] 1 Exception encountered:

  ProcessExecutionFailure: Process 'Building build_backend.pex from setuptools_default_lockfile.txt' failed with exit code 1.
stdout:

stderr:
ERROR: Exception:
Traceback (most recent call last):
  File "/home/marcelo/.cache/pants/named_caches/pex_root/venvs/s/53f402b6/venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 171, in _merge_into_criterion
    crit = self.state.criteria[name]
KeyError: 'setuptools'
e
Does your extra index require authentication? Do you have authentication credentials in the URL? If so can you re-run with
--pex-verbosity=9
and see if Pip is prompting for credentials?
m
It's the same issue
I think I'm missing something tho
nvm, I was using the wrong credentials šŸ§Œ
Thanks @enough-analyst-54434, precise as always šŸ˜—
šŸ‘Œ 1