bitter-ability-32190
02/25/2022, 5:38 PMrequirements.pex
? Or rebuilding? (I'm using run_against_entire_lockfile = true
since we have some big kahuna deps). It takes ~6 minutes on my machine 😭
I'd imagine there's a solution for this which each dep is a little PEX, and then requirements.pex
is simply a pointer to all the little ones.
That way:
• We can use N processes to create each little PEX (I have 64 cores, let's CRANK it)
• We get incremental upgrading when deps changehundreds-father-404
02/25/2022, 5:40 PMbusy-vase-39202
02/25/2022, 5:43 PMhundreds-father-404
02/25/2022, 5:46 PMWe can use N processes to create each little PEX (I have 64 cores, let's CRANK it)Pex has parallelism. If on 2.10, Pants does it for you. If on 2.9, set https://www.pantsbuild.org/docs/reference-python#section-resolver-jobs
bitter-ability-32190
02/25/2022, 5:48 PMhappy-kitchen-89482
02/25/2022, 9:52 PMhappy-kitchen-89482
02/25/2022, 9:53 PMhappy-kitchen-89482
02/25/2022, 9:53 PMwitty-crayon-22786
02/25/2022, 10:14 PMrun_against_entire_lockfile
will be less necessary as the followup work for that rolls out (seed-resolve in particular)bitter-ability-32190
02/25/2022, 10:20 PM