-
Notifications
You must be signed in to change notification settings - Fork 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
[2020-resolver] List downloaded distributions before exiting #8709
Conversation
I think it is probably reasonable to move
|
926d65a
to
d6e6ed2
Compare
This unifies the behavior of pip download for both legacy and new resolvers. InstallRequirement.successfully_download is no longer needed for this task and is thus retired.
d6e6ed2
to
4f210f3
Compare
Thank you for the thoughtful comment, indeed |
I wonder if this is a good chance to change the output format as well. The current space-delimited format is very difficult to parse, both visually or by a program. The same actually applies to the “successfully installed” message for |
Separately, yes. |
@uranusjr, I've filed the ticket above to further discuss how we might want to improve it. BTW since you are here, may I have a review from you as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a little (very little) worried about dropping the if req_to_install.editable
part, but can’t find a code path that makes a difference. I’ll err on the side of cleanup and agree with the logic change. We can always fix the condition if that turns out to not work.
This unifies the behavior of pip download (listing downloaded distributions before exiting) and fixes GH-8696.