Hey folks, is there a canonical way to set the ver...
# general
n
Hey folks, is there a canonical way to set the version of pants I use in my CD pipelines? Presently I use the
PANTS_SHA
envvar but I'd like to target a semver range (eg,
^1.2.3
), is it possible?
c
You put your pants version in pants.toml config file. See https://www.pantsbuild.org/ under “Installing Pants / Creating the launch script”
h
@nice-france-74763 Yeah the canonical way would be to set it in pants.toml. Granted that fixes a specific version, not a range. Not sure how we'd do a range, or if we'd advise it.
n
Thanks for the advice!