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

brainy-solstice-27042

05/15/2023, 9:32 PM
Where would I find an updated pants bash script that I can call to run pants. I have a bash script that retrieves the tool and executes whatever pants goal you specify. Last one I have is from a year ago, and I was hoping there was a newer one which has direct support for python 3.11 and drops requirements for 3.7
w

witty-crayon-22786

05/15/2023, 9:35 PM
the updated “Installing Pants” page explains the new recommended way: https://www.pantsbuild.org/docs/installation
the
pants
binary bootstraps a private copy of Python to run itself with, and so no longer has the requirement that any Python is already installed
b

brainy-solstice-27042

05/15/2023, 9:40 PM
Interesting, that certainly sheds light on the interpreter handling. If I have a separate pants toml for testing purposes, how do I tell the binary what to use, just
export PANTS_TOML
like the old bash script would do?
w

witty-crayon-22786

05/15/2023, 9:40 PM
correct
or… whatever the env var was, yea.
~all of the features of the old committed
pants
have been ported over
b

brainy-solstice-27042

05/15/2023, 9:40 PM
Ok cool. That's super helpful if we want to override the current pants.toml for whatever reason and test changes