-
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
Indent second level requirements while freezing #2918
Comments
I can think of two immediate questions How would this look if aspen and mieparse both have a dependency on filesystem_tree? How would this look if aspen depends on filesystem_tree which depends on first which depends on second which depends on third which depends on fourth which depends on fifth... |
The first listed wins if you want to avoid duplication. But you may want to list both, especially if version requirements are different.
Beautiful.
Looks more useful than a plain list, but this is a very rare case. |
FYI the requested feature is the reason https://github.com/naiquevin/pipdeptree was created. |
Closing this, this seems to be handled by pipdeptree and ultimately we can't tell why something was installed, so something can be both a dependency and something at the top level with no way to differentiate. |
OS level packaging can do this. Should I open a feature request to support it? |
While looking at
requirement.txt
it is often hard to figure out why a particular package is here. Is it feasible withpip
to produce indented tree that gives an explanation about why a package is added to the fridge contents.The indented
requirements.txt
is parsed correctly withpip
's.The text was updated successfully, but these errors were encountered: