witty-crayon-22786
03/23/2022, 5:35 PM--pex-repository
, and directly consuming the lockfile to build each subset of the resolve. i haven’t followed up on this because there is a lot in flight, but doing that is likely something that would be worth getting into 2.11.x as a key benefit to the switchbitter-ability-32190
03/23/2022, 9:12 PMwitty-crayon-22786
03/23/2022, 9:30 PMhundreds-father-404
03/24/2022, 1:28 AMpex_from_targets.py
. That's where all the repository pex shenanigans happen. pex.py
is too general for that.
My advice is to temporarily assume that all lockfiles are Pex format - how would we implement this? Now, still assume Pex format, but consider [python].use_entire_lockfile
or whatever it is. Finally, consider requirements.txt-style lockfiles which need to still do the repository Pex thing. It's gonna be pretty ugly code to figure this out, but I think worth it!bitter-ability-32190
03/25/2022, 11:45 PM./pants lint ::
on 2.11
from 12m31.230s
to 5m8.468s
...and now we can incrementally lint a single file without paying the 10 minute penalty of a full repo PEX. This is glorious.witty-crayon-22786
03/28/2022, 7:49 PMbitter-ability-32190
03/29/2022, 6:08 PMwitty-crayon-22786
03/29/2022, 8:18 PM