Open mgaitan opened 2 weeks ago
I like the idea of having a tree view for this. cargo tree
is another good example -- really useful.
Strong support for this(!) I was about to make a proposal similar to it, although i didn't know pipdpeptree
so was going to use pip-chill
as an example. I'd love to see alongside this functionality like pip-autoremove
- remove given package and all the orphan packages it leaves behind.
For reference/design, poetry has --tree
as part of poetry show
pipdeptree is a cool tool for visualizing the dependency tree of python packages. It allows users to see a structured "tree" of dependencies and, using its reverse mode, to understand why a particular dependency is required for our project.
One particularly useful use case of
pipdeptree
is to filter out only the "top-level" packages. This helps in cleaning up*.in
files by leaving the resolution of transitive dependencies to the compilation process.Would it be possible to support something similar to this as a built-in feature of
uv
? something likeuv pip list --format=tree
?