ancient-rose-27306
09/02/2022, 3:57 PM~/.cache/pants/named_caches/pex_root/venvs
get created? I see a bunch of them in my linux Docker container where I run Pants, why is that so? Why can’t there be only one venv? Moreover, how are the directories under venvs/
named? After some SHA256 (of what)? And then sub-directories under them which eventually have pex installed? For example, the last two directories in this path:
~/.cache/pants/named_caches/pex_root/venvs/f61cf2fb294c1349fb246a9500aef689076f209a/319fabea91de21f4b9853622585d1be26b57025e/
witty-crayon-22786
09/02/2022, 7:03 PMpex_binary
targets (for example) contain only what you actually need to ship them.ancient-rose-27306
09/02/2022, 8:57 PMpackage
, publish
, or test
? And let’s say I am packaging
the same target the second time without any changes in code or BUILD files, Pants would use the same venv from its cache and the keys are probably the name of the directories?witty-crayon-22786
09/02/2022, 8:58 PMancient-rose-27306
09/04/2022, 3:15 AMwitty-crayon-22786
09/04/2022, 3:17 AMancient-rose-27306
09/04/2022, 3:18 AM