"pip show" incorrect result for "Required-by" #6947
Labels
auto-locked
Outdated issues that have been locked by automation
C: list/show
'pip list' or 'pip show'
good first issue
A good item for first time contributors to work on
type: bug
A confirmed bug or unintended behavior
Environment
Description
Running
pip show <package>
does not display all dependent packages under "Required-by:", even when<package>
shows up in the "Requires:" field of a dependent package.Expected behavior
Running
pip show <package>
should show all packages dependent on<package>
under the "Required-by:" field of the output.How to Reproduce
virtualenv pip_show_bug source pip_show_bug/bin/activate pip install black pip show click pip show black
click
is clearly a dependency ofblack
, butblack
does not show up under "Required-by:" when you runpip show click
. All ofblack
's other dependencies (i.e.appdirs
,attrs
, andtoml
) behave as expected withpip show
, and runningpip show black
does showclick
under "Required:"Output
The text was updated successfully, but these errors were encountered: