File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change
1
+ Ensure ``-vv `` gets passed to any ``pip install `` build environment subprocesses.
Original file line number Diff line number Diff line change 19
19
from pip ._internal .cli .spinners import open_spinner
20
20
from pip ._internal .locations import get_platlib , get_purelib , get_scheme
21
21
from pip ._internal .metadata import get_default_environment , get_environment
22
+ from pip ._internal .utils .logging import VERBOSE
22
23
from pip ._internal .utils .subprocess import call_subprocess
23
24
from pip ._internal .utils .temp_dir import TempDirectory , tempdir_kinds
24
25
@@ -242,6 +243,8 @@ def _install_requirements(
242
243
"--no-warn-script-location" ,
243
244
]
244
245
if logger .getEffectiveLevel () <= logging .DEBUG :
246
+ args .append ("-vv" )
247
+ elif logger .getEffectiveLevel () <= VERBOSE :
245
248
args .append ("-v" )
246
249
for format_control in ("no_binary" , "only_binary" ):
247
250
formats = getattr (finder .format_control , format_control )
You can’t perform that action at this time.
0 commit comments