add tracing debug to pip install command args
This commit is contained in:
@@ -824,6 +824,7 @@ pub async fn handle_python_reqs(
|
||||
if let Some(host) = PIP_TRUSTED_HOST.as_ref() {
|
||||
command_args.extend(["--trusted-host", &host]);
|
||||
}
|
||||
|
||||
let mut envs = vec![("PATH", PATH_ENV.as_str())];
|
||||
if let Some(http_proxy) = HTTP_PROXY.as_ref() {
|
||||
envs.push(("HTTP_PROXY", http_proxy));
|
||||
@@ -834,6 +835,8 @@ pub async fn handle_python_reqs(
|
||||
if let Some(no_proxy) = NO_PROXY.as_ref() {
|
||||
envs.push(("NO_PROXY", no_proxy));
|
||||
}
|
||||
|
||||
tracing::debug!("pip install command: {:?}", command_args);
|
||||
|
||||
let mut flock_cmd = Command::new(FLOCK_PATH.as_str());
|
||||
flock_cmd
|
||||
|
||||
Reference in New Issue
Block a user