-
Notifications
You must be signed in to change notification settings - Fork 3.1k

Description
Description
when executing pip using both --quiet
and --log
, the progress bar is shown.
primarily using python 3.8 with pip version 21.1.1 on linux, however tested to see the same behavior with python 3.10 & pip 21.3.1 on windows. commands executed:
linux (python 3.8, pip 21.1.1): python3.8 -m pip install --quiet --no-cache-dir --no-deps --log ./test.log --target ./test numpy
windows (python 3.10, pip 21.3.1): python -m pip install --quiet --no-cache-dir --no-deps --log ./test.log --target ./test numpy
in this case, we're automatically creating necessary archives for lambda layers so we don't want any additional noise except errors, etc, which we're already capturing.
Expected behavior
expected behavior: completely silent output including no progress bar.
pip version
21.1.1
Python version
3.8
OS
linux
How to Reproduce
run python -m pip install --quiet --no-cache-dir --no-deps --log ./test.log --target ./test numpy
to see progress bar
run python -m pip install --quiet --no-cache-dir --no-deps --target ./test numpy
to see silent operation
Output
python3.8 -m pip install --quiet --no-cache-dir --no-deps --log ./test.log --target ./test numpy
|████████████████████████████████| 16.8 MB 2.5 MB/s
python3.8 -m pip install --quiet --no-cache-dir --no-deps --target ./test numpy
Code of Conduct
- I agree to follow the PSF Code of Conduct.