modern-leather-27612
02/23/2022, 5:03 PM(devtools) Moon-Kang's-MacBook-Pro:devtools moon$ make lint
./pants lint typecheck ::
15:14:58.25 [INFO] Initializing scheduler...
15:14:58.53 [INFO] Scheduler initialized.
15:15:10.94 [ERROR] Exception caught: (pants.engine.internals.scheduler.ExecutionError)
File "/Users/moon/.cache/pants/setup/bootstrap-Darwin-x86_64/2.7.0_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 236, in _run_inner
return self._perform_run(goals)
File "/Users/moon/.cache/pants/setup/bootstrap-Darwin-x86_64/2.7.0_py39/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 175, in _perform_run
self._raise_on_error([t for _, t in throws])
File "/Users/moon/.cache/pants/setup/bootstrap-Darwin-x86_64/2.7.0_py39/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 506, in _raise_on_error
raise ExecutionError(
Exception message: 1 Exception encountered:
ProcessExecutionFailure: Process 'Find interpreter for constraints: CPython<4,>=3.6' failed with exit code 1.
This is a MacBook Pro running macOS 12.2.1. As far as Python is concerned, they have several installed, including 3.7, 3.8, 3.9, as far as I know mostly with pyenv.
Roberthundreds-father-404
02/23/2022, 5:12 PMwitty-crayon-22786
02/23/2022, 5:13 PMenough-analyst-54434
02/23/2022, 5:44 PM2.7.0_py39/lib/python3.9
modern-leather-27612
02/23/2022, 7:25 PMwitty-crayon-22786
02/23/2022, 7:26 PMmodern-leather-27612
02/23/2022, 7:28 PMinterpreter_search_paths
in the [python]
section. But the documentation page suggests setting search_paths
in the [python-bootstrap]
section. That’s pretty confusing. Which one is it and when did that change?hundreds-father-404
02/23/2022, 7:32 PM[python].interpreter_search_paths
was deprecated in favor of [python-bootstra].search_paths
. Both still work in 2.9, but the former was removed in 2.10