while i'm waiting for this cache/lockfile/constrai...
# pex
f
while i'm waiting for this cache/lockfile/constraints stuff to sort out, is there a work around i can get to now where i can send the
--cache-ttl
arg to
pex
commands?
h
From Pants? Not yet, but we had a meeting just now and are planning to prioritize improving the cache-ttl today/tomorrow. Some possible approaches: 1. Fix what sounds like a real bug you found that we redownload files, even if they didn’t change. 2. Allow Pants to change the option As soon as the Pants change is in, you can consume from a ~nightly build, rather than waiting for the release tomorrow. cc @happy-kitchen-89482, I can work on the Pants side while you work on the Pex side
h
I will look at the pex side
h
https://github.com/pantsbuild/pants/pull/10997. Once this lands, I’ll cherry-pick into 2.0.x, then you can consume that build in ~3-4 hours after the wheels are built
👍 1
Okay cherry-pick landed. Sorry for the delay. Once the Build wheels shards go green on https://travis-ci.com/github/pantsbuild/pants/builds/191470635, you can consume the build by setting the env var
PANTS_SHA=734ffa97f78d7048e2d327e09805c729154a9bbf
and running
./pants
, or by changing the
./pants
script to hardcode that SHA. (You need to be using a relatively recent version of https://github.com/pantsbuild/setup/blob/gh-pages/pants)
👍 1