-
Notifications
You must be signed in to change notification settings - Fork 760
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
use asterisk for dependency cycle too #4626
use asterisk for dependency cycle too #4626
Conversation
@zanieb fyi |
└── uv-cyclic-dependencies-a v0.1.0 (#) | ||
(#) Dependency cycle | ||
└── uv-cyclic-dependencies-a v0.1.0 (*) | ||
(*) Package tree already displayed |
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.
Why is the message changing?
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.
Ah I see, if --no-dedupe
isn't passed we se the same message for both.
crates/uv/src/commands/pip/tree.rs
Outdated
printer.stdout(), | ||
"{}", | ||
let message = if no_dedupe { | ||
"(*) Dependency cycle".italic() |
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.
Should we say "Package tree is a cycle and cannot be shown" as we discussed before?
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.
Or "Package tree forms/contains a cycle and cannot be shown"
Summary
#4611 (comment) #4449 (comment) this change was lost in merge conflict resolution :.(
Test Plan
almost purely aesthetic change 🌵