ancient-france-42909
11/08/2022, 6:46 PMinterpreter_constraints=["CPython~=3.7.4", "CPython~=3.10.8"]
to my test utils (and a parametrise for those two versions to the tests: interpreter_constraints=parametrize(py3_7=["CPython~=3.7.4"], py3_10=["CPython~=3.10.8"])
) and I get this error
pants.engine.process.ProcessExecutionFailure: Process 'Find interpreter for constraints: CPython~=3.10.8,~=3.7.4' failed with exit code 102.
stdout:
stderr:
Could not find a compatible interpreter.
Examined the following interpreters:
1.) /Users/user/.pyenv/versions/3.7.4/bin/python3.7 CPython==3.7.4
2.) /Users/user/.pyenv/versions/3.10.0/bin/python3.10 CPython==3.10.0
3.) /Users/user/.pyenv/versions/3.10.3/bin/python3.10 CPython==3.10.3
4.) /Users/user/.pyenv/versions/3.10.6/bin/python3.10 CPython==3.10.6
5.) /Users/user/.pyenv/versions/3.10.8/bin/python3.10 CPython==3.10.8
6.) /Users/user/.pyenv/versions/3.8.13/bin/python3.8 CPython==3.8.13
7.) /Users/user/.pyenv/versions/3.9.13/bin/python3.9 CPython==3.9.13
8.) /Users/user/.pyenv/versions/3.9.5/bin/python3.9 CPython==3.9.5
No interpreter compatible with the requested constraints was found:
Version matches CPython~=3.10.8,~=3.7.4
Is this not how I’m supposed to do it, or is there something else wrong here?enough-analyst-54434
11/08/2022, 6:49 PM-ldebug
to a rerun of Pants. Look for --interpreter-constraint
arguments, should be two, looks like Pants passes one with an embedded comma.ancient-france-42909
11/08/2022, 6:53 PM20:53:33.08 [DEBUG] Canceled: Scheduling: Find interpreter for constraints: CPython~=3.10.8,~=3.7.4 OR CPython~=3.7.4
enough-analyst-54434
11/08/2022, 6:55 PMancient-france-42909
11/08/2022, 6:56 PM20:55:34.78 [DEBUG] Completed: Find interpreter for constraints: CPython~=3.10.8,~=3.7.3,~=3.7.4 OR CPython~=3.10.8,~=3.7.4
2.14.0
, btw)enough-analyst-54434
11/08/2022, 6:57 PMancient-france-42909
11/08/2022, 6:57 PMenough-analyst-54434
11/08/2022, 6:58 PMancient-france-42909
11/08/2022, 6:58 PMenough-analyst-54434
11/08/2022, 6:59 PMancient-france-42909
11/08/2022, 7:01 PM21:02:59.88 [DEBUG] Completed: Find interpreter for constraints: CPython<3.11,>=3.7.4,~=3.10.8,~=3.7.4
happy-kitchen-89482
11/09/2022, 1:11 AM