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

uv pip tree should show version specifiers for dependencies. #5217

Closed
Enayaaa opened this issue Jul 19, 2024 · 4 comments · Fixed by #5240
Closed

uv pip tree should show version specifiers for dependencies. #5217

Enayaaa opened this issue Jul 19, 2024 · 4 comments · Fixed by #5240
Labels
cli Related to the command line interface enhancement New feature or improvement to existing functionality help wanted Contribution especially encouraged

Comments

@Enayaaa
Copy link

Enayaaa commented Jul 19, 2024

With uv==0.2.26 it is not possible to see version specifiers in dependency graph.

I have used pipdeptree to find why some package is staying back. With version specifiers in the dependency tree you could find what package that depends on foo causes some dependency shared between multiple packages to stay back on an older version.

$  pipdeptree -lrp apeye
apeye==1.4.1
├── pypi-json==0.4.0 [requires: apeye>=1.1.0]
│   └── relic-radar==0.1.dev62+g0574a5f.d20240716093527 [requires: pypi-json>=0.3,<1]
└── relic-radar==0.1.dev62+g0574a5f.d20240716093527 [requires: apeye>=0.5,<2]

With pipdeptree they are shown inside brackets after the version.

@charliermarsh
Copy link
Member

That's a neat idea.

@charliermarsh charliermarsh added enhancement New feature or improvement to existing functionality cli Related to the command line interface help wanted Contribution especially encouraged labels Jul 19, 2024
@zanieb
Copy link
Member

zanieb commented Jul 19, 2024

This was actually in the original implementation and I asked it to be made opt-in: #3859 (comment)

I still think it's probably much noise for the default output, but am happy to have a flag that adds it? cc @ChannyClaus

@charliermarsh
Copy link
Member

Yeah opt-in is cool with me. That makes sense.

@ChannyClaus
Copy link
Contributor

i can do this sometime this weekend 🌵

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 enhancement New feature or improvement to existing functionality help wanted Contribution especially encouraged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants