creamy-truck-92790
01/02/2023, 1:15 PMpants.toml
...
[GLOBAL]
backend_packages = [
"pants.backend.python",
"pants.backend.python.mixed_interpreter_constraints",
"pants.backend.project_info",
]
[python-bootstrap]
search_path = ["<PYENV>", "<PATH>"]
[python]
interpreter_constraints = ["CPython==3.10.2"]
.python-version
3.9.13 # This is only set because pants doesn't work with 3.10.*
pyenv versions
system
3.9.13 (set by .python-version)
3.10.2
3.10.6
now if I run anything with pants, it only find my system interpreter and 3.9.13, but the other two not. Basically it doesn't matter what I set under search_path, I always get the same result:
Examined the following interpreters:
1.) /usr/bin/python3.10 CPython==3.10.8
2.) ~/.pyenv/versions/3.9.13/bin/python3.9 CPython==3.9.13
Any ideas someone?