-
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
Private repositories broken after bdfdc62 #5476
Comments
cc. @radoering Who reviewed the relevant PR (#3868) |
I'd suspect the change in Before: poetry/src/poetry/repositories/legacy_repository.py Lines 117 to 139 in a808846
After: poetry/src/poetry/repositories/link_sources/base.py Lines 66 to 91 in bdfdc62
@lovesegfault Can you debug and compare what's happening in these lines for your use case? |
Working on it :) |
It's interesting, if I print the value of poetry/src/poetry/repositories/legacy_repository.py Lines 132 to 139 in a808846
But if I print in the new code before this poetry/src/poetry/repositories/link_sources/base.py Lines 78 to 82 in bdfdc62
I only see
It seems like if the version it needs isn't the first one it encounters, then it bails. If I edit
|
I got it! |
The issue is the |
It seems like the changes in that commit also made it hard to log from this code, which is a real bummer. |
poetry/src/poetry/repositories/link_sources/base.py Lines 66 to 82 in dca0c56
if we go into the |
Yeah, apart from @lovesegfault Can you include this fix in your PR and write unit tests at least for |
Hey @lovesegfault in theory the changes should not have changed anything for logging. Can you clarify what the difficult bits were? Improvements to those kinds of things are important. |
I just meant that the class no longer has a I'm not at all familiar with the Poetry codebase though, so perhaps I'm missing something? |
Fwiw, the |
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. |
-vvv
option).Issue
I was trying to bump our internal Poetry from 5900f37 to dca0c56 when I noticed our private repositories stopped working.
Upon attempting
poetry lock --no-update
, I got the following:I bisected this to commit bdfdc62 by @abn.
I still see this message at the beginning of the lock process:
But it doesn't seem to look in that repository for any packages at all.
The text was updated successfully, but these errors were encountered: