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

hundreds-breakfast-49010

12/04/2019, 11:56 PM
can the
pants_version
global option be configured to fetch the latest version of pants/master ?
a

aloof-angle-91616

12/04/2019, 11:57 PM
in what sense?
it can be, but there's no magic to do that right now
h

hundreds-breakfast-49010

12/05/2019, 12:05 AM
I'd like to be able to specify that pants should upgrade itself to the latest version of the codebase on the master git branch (or maybe some arbitrary commit or branch, but right now I care about master)
w

witty-crayon-22786

12/05/2019, 12:18 AM
no, it cannot. but master builds do publish wheels to s3
twitter consumes them via
release.sh -p
(ie, building a pex)
and hypothetically you could consume any sha's wheels to run off of nightly.
h

hundreds-breakfast-49010

12/05/2019, 12:20 AM
so if I wanted to make my project's pants instance always use the master build, how would I specify it?
(I don't actually want to do this in general, I just want to test against the commit I merged to master a few hours ago. but this seems like a useful thing to be able to do on occasion)
w

witty-crayon-22786

12/05/2019, 12:34 AM
Via custom code based on the above
Most likely modifying the venv built by the
pants
script to hit s3