You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For every dependency in the requirements.txt file.
Since the change from the legacy resolver to the backtracking resolver, this process takes ages (multiple hours for most, 10+ hours for some).
Describe the solution you'd like
What I noticed is that even though a lot is cached already (package version lookups, wheels), it still does quite some work for every package in the backtracking process like copying the wheel, extracting the wheel, looking at the metadata.
The legacy resolver seemed to cache everything much "harder", and finishes almost instantly when things are cached.
Alternative Solutions
Couldn't find an alternative.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
I did some tests with pip itself and it's not better indeed. I have searched a bit and there seems to be multiple initiatives to make the backtracking resolver faster: pypa/pip#12921
Let me start with: I'm not sure if this is actually in pip-compile or in pip itself, so please let me know if this should be requested somewhere else.
What's the problem this feature will solve?
We use Dependabot to find package updates in our projects. Dependabot would basically run:
For every dependency in the
requirements.txt
file.Since the change from the legacy resolver to the backtracking resolver, this process takes ages (multiple hours for most, 10+ hours for some).
Describe the solution you'd like
What I noticed is that even though a lot is cached already (package version lookups, wheels), it still does quite some work for every package in the backtracking process like copying the wheel, extracting the wheel, looking at the metadata.
The legacy resolver seemed to cache everything much "harder", and finishes almost instantly when things are cached.
Alternative Solutions
Couldn't find an alternative.
Additional context
N/A
The text was updated successfully, but these errors were encountered: