-
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
tree
does not properly handle multiple versions of the same package
#5253
Comments
Can we make all the hash maps there keyed on (name, version) instead of just name? |
so is the expected output for the above
(relatedly, is there a design doc for |
@ChannyClaus -- Yeah, that looks right to me. I don't know that we have a design doc on GitHub, but we're starting to build up the documentation here -- it's still a work-in-progress: https://docs.astral.sh/uv/ |
How about displaying only the packages available on the current platform? |
It seems useful to inspect the lockfile tree as a whole though |
@eth3lbert -- That could be useful but I think it would be a separate flag. |
Fair enough! |
(We could accept the |
It's actually even harder than this, because we can have a single package at a single version but multiple URLs (#5294). |
This is possible in
uv tree
(but notpip tree
typically), since the lockfile can contain multiple versions. Notice the strange result here:The text was updated successfully, but these errors were encountered: