Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency resolution much slower when adding secondary sources #5096

Closed
3 tasks done
anth2o opened this issue Jan 24, 2022 · 4 comments
Closed
3 tasks done

Dependency resolution much slower when adding secondary sources #5096

anth2o opened this issue Jan 24, 2022 · 4 comments
Labels
status/duplicate Duplicate issues

Comments

@anth2o
Copy link

anth2o commented Jan 24, 2022

  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Mac OS 12.0.1

  • Poetry version: 1.1.12

  • Link of a Gist with the contents of your pyproject.toml file: https://github.com/anth2o/poetry_slow_additional_source

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

@anth2o anth2o added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jan 24, 2022
@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Oct 5, 2022
@neersighted
Copy link
Member

Duplicate #5096

@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2022
@JacobHayes
Copy link

@neersighted this is #5096, do you mean this duplicates #5959 (or perhaps #4113)?

@neersighted
Copy link
Member

Ah, thanks, yes, I meant #4113

Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants