Where would I find an updated pants bash script th...
# general
b
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
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
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
correct
or… whatever the env var was, yea.
~all of the features of the old committed
pants
have been ported over
b
Ok cool. That's super helpful if we want to override the current pants.toml for whatever reason and test changes