modern-leather-2761212/27/2021, 8:01 PM
flag. When running
that worked like a charm and all files nicely stuck around, waiting to be inspected. But originally the resource issue only showed when running
./pants test …
. In that case, Pants happily kept around the PEX files for finding Python and also the cached PEX file for the dependencies. But it did not keep around the PEX file with the local Python code, which kind of defeated the purpose of the flag. Admittedly, that is with Pants 2.7. I’m good now, thanks to good old trusted
./pants run …
plus some choice
invocations. But that does look like a bug to me.