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

Clarify, whether poetry uses only the given repository, or whether it uses Pypi as a fallback #1089

Closed
1 task done
HolgerPeters opened this issue May 8, 2019 · 3 comments

Comments

@HolgerPeters
Copy link

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

Issue

#559 gives me the impression that the described config replaces pypi as the source repository and not just provides a mirror.

https://poetry.eustace.io/docs/repositories/#install-dependencies-from-a-private-repository makes it sound as if it is a fallback by using "also".

From now on, Poetry will also look for packages in your private repository.

@dbanty
Copy link

dbanty commented May 8, 2019

Adding a source still uses PyPI as a fallback. I haven’t looked at the code, but I use a private repo with Peotry in multiple projects and can confirm it treats it like an extra-index-url. It will try your private repo first for all packages, then fall back to PyPI.

@HolgerPeters
Copy link
Author

Ah, I now found the corresponding discussion on whether this is the desired functionality #331

I would say this ticket can be closed because the current logic is properly described then.

Copy link

github-actions bot commented Mar 3, 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 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants