flat-zoo-31952
11/02/2020, 1:48 PM[python-setup].resolver_http_cache_ttl = 0
set. This is hard to reproduce because it only happens once or so in a given day, usually when i'm not expecting it.
From previous logs, I suspect this is the remote TTL from the server. I'm not sure whether this is a vendored-pip thing, or a pex thing, but I really really don't think the HTTP cache TTL should apply to immutable resources like this. This is important to me because I'm often working with a slowish connection and dealing with opencv
and torch
which are just enormous packages that i really want to avoid downloading as much as possible.jolly-midnight-72759
11/02/2020, 2:05 PMdevpi
, https://www.devpi.net/. I run a local server with an index that passes through to our pypi server. This caches locally all the packages and only downloads to my mac when a new version is added to the server.jolly-midnight-72759
11/02/2020, 2:06 PMflat-zoo-31952
11/02/2020, 2:14 PMflat-zoo-31952
11/02/2020, 2:14 PMjolly-midnight-72759
11/02/2020, 2:28 PMflat-zoo-31952
11/02/2020, 2:37 PMflat-zoo-31952
11/02/2020, 2:38 PMflat-zoo-31952
11/02/2020, 2:39 PMwitty-crayon-22786
11/02/2020, 5:51 PMwitty-crayon-22786
11/02/2020, 5:52 PM~/.cache/pants/named_caches
⦠so would see if maybe theyāre being cleared?flat-zoo-31952
11/02/2020, 6:06 PMflat-zoo-31952
11/02/2020, 6:07 PMwitty-crayon-22786
11/02/2020, 6:08 PMwitty-crayon-22786
11/02/2020, 6:09 PMwitty-crayon-22786
11/02/2020, 6:09 PMflat-zoo-31952
11/02/2020, 6:15 PMwitty-crayon-22786
11/02/2020, 6:15 PMflat-zoo-31952
11/02/2020, 6:16 PMconstraints.txt
differently for different goals, if that makes sense?witty-crayon-22786
11/02/2020, 6:17 PM--pex-verbosity
to enable logging in generalwitty-crayon-22786
11/02/2020, 6:17 PMflat-zoo-31952
11/02/2020, 6:17 PMwitty-crayon-22786
11/02/2020, 6:18 PMflat-zoo-31952
11/02/2020, 6:20 PMresolver_http_cache_ttl
was addedflat-zoo-31952
11/02/2020, 7:38 PMwitty-crayon-22786
11/02/2020, 7:38 PMwitty-crayon-22786
11/02/2020, 7:39 PMflat-zoo-31952
11/02/2020, 7:39 PMwitty-crayon-22786
11/02/2020, 7:39 PM~/.cache/pants/named_caches
contains relevant content, it should re-run quicklywitty-crayon-22786
11/02/2020, 7:39 PMflat-zoo-31952
11/02/2020, 7:40 PMflat-zoo-31952
11/02/2020, 7:40 PMwitty-crayon-22786
11/02/2020, 7:41 PMflat-zoo-31952
11/02/2020, 7:42 PMflat-zoo-31952
11/02/2020, 7:42 PMwitty-crayon-22786
11/02/2020, 7:42 PMwitty-crayon-22786
11/02/2020, 8:03 PM$libx
here when we did $y
minutes agoāwitty-crayon-22786
11/02/2020, 8:04 PMflat-zoo-31952
11/02/2020, 8:04 PMwitty-crayon-22786
11/02/2020, 8:05 PMflat-zoo-31952
11/02/2020, 8:05 PMflat-zoo-31952
11/02/2020, 8:06 PMwitty-crayon-22786
11/02/2020, 8:07 PMflat-zoo-31952
11/02/2020, 8:09 PMRUN pip install -r requirements.txt
in dockerfiles, so i'll try to keep that in perspective šwitty-crayon-22786
11/02/2020, 8:09 PMflat-zoo-31952
11/02/2020, 8:16 PMwitty-crayon-22786
11/02/2020, 8:30 PMwitty-crayon-22786
11/02/2020, 8:41 PMwitty-crayon-22786
11/02/2020, 11:22 PMwitty-crayon-22786
11/02/2020, 11:24 PMflat-zoo-31952
11/03/2020, 12:38 AMjolly-midnight-72759
11/03/2020, 2:12 AMdev
index with an import of all the wheels and other packages from our company pypi. The root one had
"mirror_url": "<https://pypi.org/simple/>",
"mirror_web_url_fmt": "<https://pypi.org/project/{name}/>",
set up. It was the one that caches everything locally.witty-crayon-22786
11/04/2020, 1:18 AMwitty-crayon-22786
11/04/2020, 1:20 AMwitty-crayon-22786
11/04/2020, 1:21 AMjolly-midnight-72759
11/04/2020, 1:22 AM./pants devpi start
?witty-crayon-22786
11/04/2020, 1:28 AMwitty-crayon-22786
11/04/2020, 1:29 AMCache-Control: max-age
is set to 0⦠which actually disables using that cache. is that intentional? the default in 2.0.0
is one hourjolly-midnight-72759
11/04/2020, 1:30 AMwitty-crayon-22786
11/04/2020, 1:30 AMflat-zoo-31952
11/04/2020, 1:49 AMflat-zoo-31952
11/04/2020, 1:51 AMwitty-crayon-22786
11/04/2020, 2:09 AMwitty-crayon-22786
11/04/2020, 2:09 AMflat-zoo-31952
11/04/2020, 2:14 AMwitty-crayon-22786
11/04/2020, 6:44 PMwitty-crayon-22786
11/06/2020, 12:15 AMpackage
or run
? or is this during test
?flat-zoo-31952
11/06/2020, 12:27 AMwitty-crayon-22786
11/06/2020, 1:43 AMwitty-crayon-22786
11/06/2020, 1:44 AMwitty-crayon-22786
11/06/2020, 1:44 AM