Poetry requesting information from a secondary PyPi source, even when it is not necessary, forces the solution to take a lot more time to execute #7204
Labels
status/duplicate
Duplicate issues
-vvv
option) and have included the output below.Issue
If I execute poetry lock for a pyproject file, it executes in:
If I maintain the exact same pyproject file but now I add a secondary PyPi source using this:
The solution for poetry lock takes:
Which is quite a large increase in time for the same file. From what I can see using
-vvv
the problem seems to be this:For some reason, even though the source is configured as a not default secondary source poetry is still trying to read from it for every single dependency and taking a long time to get to the end result.
Since in the pyproject it is possible to add dependencies specifying the source:
Poetry should only request anything from the secondary source if the source is specified in the dependency name.
The text was updated successfully, but these errors were encountered: