mirror of
https://github.com/astral-sh/uv
synced 2026-01-23 06:20:12 -05:00
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Resolves https://github.com/astral-sh/uv/issues/4439 partially. Implements for `uv pip tree`: - `--no-dedupe` flag, similar to `cargo tree --no-dedupe` . - denote dependency cycles with `(#)` and add a footnote if there's a cycle (using `(*)` would require keeping track of the cycle state, so opted to do this instead). <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan The existing tests pass + added a couple of tests to validate `--no-dedupe` behavior. <!-- How was it tested? -->