Skip to content
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

--reversed-tree raises NotImplementedError #134

Open
tekumara opened this issue Dec 2, 2023 · 1 comment
Open

--reversed-tree raises NotImplementedError #134

tekumara opened this issue Dec 2, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@tekumara
Copy link

tekumara commented Dec 2, 2023

What you were trying to do (and why)

--reversed-tree raises NotImplementedError

What happened (including command output)

Command output

$ pipgrip -vvv --reversed-tree
....

Traceback (most recent call last):
  File "/Users/tekumara/.local/bin/pipgrip", line 8, in <module>
    sys.exit(main())
  File "/Users/tekumara/.local/pipx/venvs/pipgrip/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Users/tekumara/.local/pipx/venvs/pipgrip/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Users/tekumara/.local/pipx/venvs/pipgrip/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/tekumara/.local/pipx/venvs/pipgrip/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/tekumara/.local/pipx/venvs/pipgrip/lib/python3.10/site-packages/pipgrip/cli.py", line 509, in main
    raise NotImplementedError()
NotImplementedError
<output here>

What you expected to happen

A tree with leaf nodes that are dependents rather than dependencies

Step-by-step reproduction instructions

@tekumara tekumara added the bug Something isn't working label Dec 2, 2023
@ddelange
Copy link
Owner

ddelange commented Dec 2, 2023

Hi @tekumara 👋 indeed, I never found a nice implementation for reverse_tree. There's now only pipgrip.cli.build_tree. The flag is there since the beginning (because pipdeptree had it, I wanted it too 😅).

@ddelange ddelange added the help wanted Extra attention is needed label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants