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
When solving dependencies poetry repeadetly re-downloads url dependencies. As can be seen in the attached pyproject.toml I have a url dependency which is downloaded many times during solving. This not only makes the resolving slower, but also makes it impossible in some cases because the server will give "429 too many tries" error after a while.
When running the poetry lock -vvv command the output shows that the package is constantly redownloaded.
I suspect the bug is due to cache misses in the deferred cache of the Provider class.
The text was updated successfully, but these errors were encountered:
It is indeed a duplicate. When I initially read #2415 I thought it was about re-downloading a package during installing while it was already downloaded during locking; while my issue is about re-downloading packages during only locking. But I now see that #2415 covers both cases.
-vvv
option).Issue
When solving dependencies poetry repeadetly re-downloads url dependencies. As can be seen in the attached pyproject.toml I have a url dependency which is downloaded many times during solving. This not only makes the resolving slower, but also makes it impossible in some cases because the server will give "429 too many tries" error after a while.
When running the
poetry lock -vvv
command the output shows that the package is constantly redownloaded.I suspect the bug is due to cache misses in the deferred cache of the Provider class.
The text was updated successfully, but these errors were encountered: