-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support --tree rendering from requirements.txt #52
Comments
Hi @abitrolly, Could you paste the full output/traceback of your above command, including
Just guessing here: maybe your traceback is not from pipgrip trying to install a package, but rather occurs during dependency resolution? Like a traceback from pip trying to build a package? pipgrip vendors this process out to pip, by calling something like |
Without
The
|
Can you try adding |
The link to log with Yes, I was going to add the |
Got it: You could try to open an issue with wagtail for changing their requirement to I will close for now as it's a downstream issue. On pipgrip's side, a workaround to avoid building wheels for dependency resolution is currently still blocked by some open issues on PyPA, for more info see #40. |
Yes, the process of building wheels is unexpected. I hoped it does static analysis without executing Python code. Could the |
For the reference, I was able to get a graph for each dependency separately by removing all empty and comment lines from cat requirements/base.txt | xargs -n 1 pipgrip --tree -v |
I'm afraid this is rather cumbersome, as the tree is built after the full resolution, and it happens recursively and exhaustively (so would error on missing metadata when being passed a partially resolved package_source).
Interesting! On my machine, running |
It appeared I had
|
Description
pipgrip --tree -r requirements/base.txt
doesn't render a tree. It starts to install packages (and fails, because some dependencies are faulty). It would be nice if it didn't try to install anything unless an explicit--install
is given. Or at least show partial dependency tree for specific package before installing it.Use case / motivation
I am trying to troubleshoot who adds a failing dependency which is not immediately present in
requirements.txt
.The text was updated successfully, but these errors were encountered: