full-toothbrush-75676
02/04/2022, 2:35 AMpex
also caches installed_wheels
in ~/.cache/pants/named_caches/pex_root
. Is Pants (through pex
) able to consult that cache when re-resolving dependencies? In other words, does it still re-install packages from indexes even if the exact package / version is in that pex
named cache? We currently save / restore the three Pants cache directories in our build pipelines and bust these caches whenever our 3rdparty lockfile changes. I’m wondering if persisting ~/.cache/pants/named_caches/
even in the case of a 3rdparty lockfile change would allow the build to not have to re-download packages from indexes, therefore saving time. Do these questions / this line of thought make sense? Thanks in advance 🙏witty-crayon-22786
02/04/2022, 5:12 PMIs Pants (throughyes, PEX uses that cache when re-resolving dependencies) able to consult that cache when re-resolving dependencies? In other words, does it still re-install packages from indexes even if the exact package / version is in thatpex
named cache?pex
witty-crayon-22786
02/04/2022, 5:12 PMwitty-crayon-22786
02/04/2022, 5:13 PMwitty-crayon-22786
02/04/2022, 5:13 PMfull-toothbrush-75676
02/04/2022, 8:50 PMwitty-crayon-22786
02/04/2022, 9:11 PMfull-toothbrush-75676
02/05/2022, 1:14 AM