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

Quiet option removes useful output #13018

Open
1 task done
koterpillar opened this issue Oct 14, 2024 · 1 comment
Open
1 task done

Quiet option removes useful output #13018

koterpillar opened this issue Oct 14, 2024 · 1 comment
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@koterpillar
Copy link

Description

Running pip index versions produces an "experimental command" warning. Silencing this warning with --quiet silences the actual output first, so there is no way to disable just the warning while preserving the useful output.

The same happens with at least pip show and pip help.

Expected behavior

Commands whose primary purpose is to display output should not omit that output no matter how many levels of --quiet is given on the command line.

pip version

24.2

Python version

3.12.3

OS

Ubuntu

How to Reproduce

Run any of:

  1. pip index versions --quiet pip
  2. pip index versions --quiet --quiet pip
  3. pip help --quiet
  4. pip show --quiet pip

Observe no (useful) output.

Output

# pip index versions --quiet pip
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
# pip index versions --quiet --quiet pip
# pip help --quiet
# pip show --quiet pip

Code of Conduct

@koterpillar koterpillar added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Oct 14, 2024
@Smriti-Prajapati
Copy link

hey please assign this issue to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants