-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Include globally configured repositories as fallback package sources #625
Comments
I would go so far as to actually override the package repository. I use a local |
This change adds globally configured extra repositories from config.toml as dependency sources. These are added after project specific sources and before PyPI. Resolves: python-poetry#625
@bjoernpollex i reckon that should be a separate feature; ie. disable a repository by name or similar. In this particular case I'd want to check a private repository first and if that fails fetch the package from PyPI. This is especially useful when using patched builds that have not been released upstream yet. |
This change adds globally configured extra repositories from config.toml as dependency sources. These are added after project specific sources and before PyPI. Resolves: python-poetry#625
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this issue automatically because it has not had any activity since it has been marked as stale. If you think it is still relevant and should be addressed, feel free to open a new one. |
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. |
Issue
As per current behavior, repositories added and configured via
poetry config
will not be used unless configured as sources within the projectpyporject.toml
file.It would be useful, if we change the default behavior so as to make the second step is not mandatory. This would mean that a configured/added repository will be searched if the package is not available in any of the project specific sources prior to checking PyPI public repository.
An example, this is useful under CI/CD environments where controlled builds of dependent packages are required from a private repository without modifying checked out source.
The text was updated successfully, but these errors were encountered: