cool-easter-32542
07/28/2024, 9:10 PMpants generate-lockfiles :: is slow. Creating this ticket to capture associated discussions, tickets, and even better, sample repos.
• #20679
• #20897 (comment)
• #20897 (comment)
• #20897 (comment)
From my brief experiments, using pip 24.1 improves cold lockfile generation by about 50% on a small set of requirements, but does not affect incremental checking.
Some ideas that have been floated around:
• Use pex's incremental lockfile updates (available, but not wired into Pants)
• Use uv to some degree
• Use fast-deps if we're not currently doing so (though, whether that will continue to be a standalone option: pypa/pip#12208)
pantsbuild/pants