Hey, is it possible to use a pre-release version o...
# general
s
Hey, is it possible to use a pre-release version of pants in a project? like a specific commit in git? how would the
pants_version
in
pants.toml
look like?
b
Pre-release release, yes, just change `pants_version`… but a commit that hasn’t be released, not so easily. The best/easy way is to check out the repository at that commit, and then use
PANTS_SOURCE
pointing to that checkout. https://www.pantsbuild.org/2.19/docs/contributions/development/running-pants-from-sources#running-pants-from-sources-in-other-repos
🙌 1
s
testing with your branch 😃
👍 1
b
I suspect you’re interested in https://github.com/pantsbuild/pants/pull/20365 ? Once I’m at a computer I can merge it and the kick off the next dev1 release with it in (proper releases are “easy”), but that’ll be a few hours away at the earliest
s
no rush, just wanted to see if that solved my issues
and it does!
b
But please do test it like that first, if you can 🙏
Ah cool! Thanks