-
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
Fails updating with "authorization error" (private repos) #6422
Comments
that's not a failure, that's just a new log |
And one cannot suppress that? 😮 Is there more info about that new "feature"? |
what info could you possibly want? #5984 contains some discussion around the fact that poetry currently likes to try all sources for all packages, and an embryonic plan to change that |
Check out https://python-poetry.org/docs/repositories/, in particular ``If package sources are defined for a project, these will take precedence over PyPI. If you do not want this to be the case, you should declare all package sources to be secondary.'' Give that a burl. |
I don't expect that to help, poetry has always tried secondary sources for packages even if the package was already found in a primary source. That's exactly what #5984 is about. This one can safely be closed as a duplicate, though |
Yeah, I just don't want to see those error messages.
I agree. Thanks! |
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. |
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:
Linux XYZ 5.19.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:40 +0000 x86_64 GNU/Linux
Poetry version: 1.2.0
Link of a Gist with the contents of your pyproject.toml file: pyproject.toml
Issue
When trying to updating dependencies using
poetry update
poetry fails with following error messages (truncated):It looks like Poetry is trying to install the dependencies all from the private repositories instead from pypi.
When downgrading to poetry 1.1.15 updating works as expected:
The text was updated successfully, but these errors were encountered: