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
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
andpip 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
Code of Conduct