-
Notifications
You must be signed in to change notification settings - Fork 3k
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-like visualization of dependencies #8077
Comments
There's also pipgrip (see #988 (comment)) which can show the dependency graph. However, as mentioned in the linked issue, the dependency relationships made by Edit: did not see GH-8076. Also I looked it up and found GH-4968 asking for the opposite feature of |
just feeded the idea pipeline, hope it wheel help. |
I do like the idea. Something like It might also be a useful feature to show a (partial) tree when a |
@ei8fdb FYI |
Out of this discussion on pipdeptree, as some kind of challenge, I eventually wrote deptree. It might be of interest to those looking for this kind of feature. Anyway, since pipdeptree already uses pip's internal private APIs it could be a good fit to get parts of it integrated into pip. |
This feature is a must. pipdeptree does it perfectly. Just merge their code in. |
@alexchandel As of 2022, pipdeptree is unamaintained and it does not work with recent pip versions nor with py311. |
I did my own implementation, using |
What's the problem this feature will solve?
In the context of building a Python Distrubution, I suffer a lot to understand and manage dependancies and version contraints.
Recently, I fell on pipdeptree and it blew my mind per :
Describe the solution you'd like
. the pipdeptree feature shall be in standard pip ( a pip "--tree" option ?),
. pip internals becomes as accessible as pipdeptree, with json output options
today, when I want to know what package is use by what:
. pipdeptree + navigating the indented ouput let me see where/why a package is used
. pipdeptree -r + navigating the indented ouput let me see where/why a package is used from the other side (less practical for 1 given package, but not bad)
. I'm interested in its internal access (not command line) and json output options, as simplifying work to try build a simple GUI over pip...
Alternative Solutions
continue to use pipdeptree, if pip doesn't evolve
Additional context
Maintaining WinPython, while trying to have its "specifics weight" smaller and smaller (relying more and more on standard pip, standard pypi, ...)
The text was updated successfully, but these errors were encountered: