pipdeptree icon indicating copy to clipboard operation
pipdeptree copied to clipboard

multiple top level dependencies showing from one dependency?

Open PhilipAbed opened this issue 3 years ago • 1 comments

Hi,

I run "pip install jira" on a fresh environment i see that its installing "PyJWT==2.0.1" and "cryptography==3.3.1" i run pipdeptree and see image image

i see PyJWT==2.0.1 and cryptography==3.3.1 as top level dependencies and not children of jira==2.0.0 is that a bug? or am i missing something?

PhilipAbed avatar Feb 04 '21 17:02 PhilipAbed

Are cryptography and PyJWT installed as optional/extra dependencies of jira by any chance? If yes, then can you please try running pipdeptree.py from the idiot-z-add_extra_require branch?

That branch has work-in-progress code for supporting extra dependencies.

naiquevin avatar Feb 05 '21 10:02 naiquevin

I think this should be ok now.

gaborbernat avatar Sep 05 '22 03:09 gaborbernat

When installing jira==2.0.0 I find that pipdeptree 2.3.1 still shows cryptography as a top-level package. From reading the discussion above I expected the issue to be resolved.

bac avatar Sep 30 '22 18:09 bac