Skip to content
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

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

ChannyClaus
Copy link
Contributor

@ChannyClaus ChannyClaus commented Jun 28, 2024

Summary

#4611 (comment) #4449 (comment) this change was lost in merge conflict resolution :.(

Test Plan

almost purely aesthetic change 🌵

@ChannyClaus
Copy link
Contributor Author

@zanieb fyi

└── uv-cyclic-dependencies-a v0.1.0 (#)
(#) Dependency cycle
└── uv-cyclic-dependencies-a v0.1.0 (*)
(*) Package tree already displayed
Copy link
Member

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?

Copy link
Member

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.

printer.stdout(),
"{}",
let message = if no_dedupe {
"(*) Dependency cycle".italic()
Copy link
Member

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?

Copy link
Member

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"

@zanieb zanieb added the cli Related to the command line interface label Jun 28, 2024
@ibraheemdev ibraheemdev enabled auto-merge (squash) June 28, 2024 22:23
@ibraheemdev ibraheemdev merged commit 72438ef into astral-sh:main Jun 28, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants