-
-
Notifications
You must be signed in to change notification settings - Fork 689
Open
Description
There is a common mention/complaint that calling pants generate-lockfiles :: is slow. Creating this ticket to capture associated discussions, tickets, and even better, sample repos.
pants generate-lockfilesto useuvfor dependency resolution #20679- New Python Backend wishlist #20897 (comment)
- New Python Backend wishlist #20897 (comment)
- New Python Backend wishlist #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
uvto some degree - Use
fast-depsif we're not currently doing so (though, whether that will continue to be a standalone option: perform 1-3 HTTP requests for each wheel using fast-deps pypa/pip#12208)
Reactions are currently unavailable