Skip to content

Dependency resolution much slower when adding secondary sources #5096

@anth2o

Description

@anth2o

Issue

Hello, poetry lock is much slower in my project when I add internal pypi repositories as additional sources. My issue is strongly related to this one, but the main difference with mine is that I set the secondary = True for the additional repo.
I would have expected this secondary repo to be ignored when a dependency was found in the main Pypi because of the secondary = True.
This repo gives a reproducible example of my issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions