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:
pip index versions --quiet pip
pip index versions --quiet --quiet pip
pip help --quiet
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
Description
Running
pip index versionsproduces an "experimental command" warning. Silencing this warning with--quietsilences 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 showandpip help.Expected behavior
Commands whose primary purpose is to display output should not omit that output no matter how many levels of
--quietis given on the command line.pip version
24.2
Python version
3.12.3
OS
Ubuntu
How to Reproduce
Run any of:
pip index versions --quiet pippip index versions --quiet --quiet pippip help --quietpip show --quiet pipObserve no (useful) output.
Output
Code of Conduct