https://pantsbuild.org/ logo
#general
Title
# general
r

rapid-bird-79300

03/03/2023, 9:12 PM
Hey Pants Team, something odd I'm trying to force Pants to use 3.9 for bootstrap but it does not seem the env vars are working
Copy code
PANTS_PYTHON_BOOTSTRAP_SEARCH_PATH="[/venv/3.9/bin]" ./pants run my-goal
Bootstrapping Pants using /bin/python3.7
I also tried setting
PANTS_PYTHON_BOOTSTRAP_NAMES="[python3.9]"
but it's still picking 3.7. I'm follow the docs here https://www.pantsbuild.org/docs/reference-python-bootstrap
e

enough-analyst-54434

03/03/2023, 9:15 PM
Is using scie-pants instead of
./pants
ruled out?: https://www.pantsbuild.org/docs/installation
👀 1
Hrm, my suggestion may not be relevant.
r

rapid-bird-79300

03/03/2023, 11:33 PM
it's okay I was able to get around this. Definitely will check out scie-pants tho thank you!
4 Views