-
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
"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
Comments
triage-new-issues
bot
added
the
S: needs triage
Issues/PRs that need to be triaged
label
Aug 30, 2019
xavfernandez
added
C: list/show
'pip list' or 'pip show'
type: bug
A confirmed bug or unintended behavior
labels
Aug 30, 2019
triage-new-issues
bot
removed
the
S: needs triage
Issues/PRs that need to be triaged
label
Aug 30, 2019
xavfernandez
added
the
good first issue
A good item for first time contributors to work on
label
Aug 30, 2019
Thanks for the report, I can reproduce the issue. The fix should be quite simple: pip/src/pip/_internal/commands/show.py Lines 140 to 144 in 3b2d138
We are comparing the project names without normalisation and
For the contributors interested in fixing it, |
Merged
lock
bot
added
the
auto-locked
Outdated issues that have been locked by automation
label
Oct 4, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: