z&format_command_args...s< ",C!< CH%++cBRRsA A)join)rs rformat_command_argsr%%s" 88 rcd|Dcgc] }t|tr |jn|"c}Scc}w)z= Return the arguments in their raw, unredacted form. )rrsecret)rrs rreveal_command_argsr(4s,KO O3*S*5CJJ3 > OO Os%-c  |g}|g}|r!tj} tj} ntj} t } tj | k} | xr|du}| d| tjj}|r|j||D]}|j|d tjt|tjtj| stj ntj||d}g}| s|j&sJ|j(sJ|j(j+ |j&j-}|snC|j/}|j1|dz| ||r|sJ|j3` |j5|j&r|j&j+ dj7|}nq|j9\}}|j;D] }| | |j1||j;D] }| | |j1||}|j<xr|j<|v}|r)|sJ|r|j?d n|j?d |r|d k(rtA| |j<| s|nd }|rmtjBd |dditjdtEtG|dditjdtE|xsdddi||dk(r$tjHd| |j<||S|dk(r |StKd||S#t"$r}|rtj$d|| d}~wwxYw#|j&r|j&j+wwxYw)a Args: show_stdout: if true, use INFO to log the subprocess's stderr and stdout streams. Otherwise, use DEBUG. Defaults to False. extra_ok_returncodes: an iterable of integer return codes that are acceptable, in addition to 0. Defaults to None, which means []. unset_environ: an iterable of environment variable names to unset prior to calling subprocess.Popen(). log_failed_cmd: if false, failed commands are not logged, only raised. stdout_only: if true, return only stdout, else return both. When true, logging of both stdout and stderr occurs when the subprocess has terminated, else logging occurs as subprocess output is produced. NzRunning command %sbackslashreplace)stdinstdoutstderrcwdenverrorsz#Error %s while executing command %sT errordoneraise)command_description exit_code output_linesz%srich)extraz*[bold magenta]full command[/]: [blue]%s[/]markupz[bold magenta]cwd[/]: %sz [inherit]warnz$Command "%s" had error code %s in %signorezInvalid value: on_returncode=)&rinfologgingINFOverbosergetEffectiveLevelosenvironcopyupdatepop subprocessPopenr(PIPESTDOUT Exceptioncriticalr,r+closereadlinerstriprspinwaitr$ communicate splitlines returncodefinishr r3r r%warning ValueError)cmd show_stdoutr. on_returncodeextra_ok_returncodes extra_environ unset_environspinnerlog_failed_cmd stdout_only command_desclog_subprocess used_levelshowing_subprocess use_spinnerr/nameprocexc all_outputlineoutputouterrout_lineerr_lineproc_had_errorr3s rcall_subprocessrr;s6#! .?.D.D\\ +22 +<<>*L)(@WD-@K'6 **// C =! d  $//??,7:$$Z__%  $J {{{zzz  ,,.D;;=D   dTk * 4 w  $ IIK{{ !!#$##%S( %H 8 $ %#( %H 8 $ %#__T@T)TNw  NN7 # NN6 " G #/$0///AZtE !''eFD>J!))@.s34#T* ")).3-+.#T* K f $  % %6   M h &  M<].runners; ' " g $+     s'0)NN)rY list[str]r. str | Noner]Mapping[str, Any] | NonereturnNone)rurvs` rrunner_with_spinner_messager}s;26     0    Mr)rzstr | HiddenText | CommandArgsrz CommandArgs)rlist[str] | CommandArgsrzr!)rrrzrw) FNr5NNNNTF)rYrrZboolr.rxr[z"Literal['raise', 'warn', 'ignore']r\zIterable[int] | Noner]ryr^zIterable[str] | Noner_zSpinnerInterface | Noner` bool | Nonerarrbr!rzr!)rur!rzzCallable[..., None])" __future__rr?rCrrHcollections.abcrrtypingrrrr pip._vendor.rich.markupr pip._internal.cli.spinnersr r pip._internal.exceptionsr pip._internal.utils.loggingrrpip._internal.utils.miscrrr!r~rr%r(rrr}r|rrrs" -00*E@B/5j)* " P8?15.2*.'+"&$e ee e6 e / e , e(e%e eee ePr