Skip to content

Commit c53e836

Browse files
committed
remove deprecated pip option
--build is a deprecated option in pip, remove it Change-Id: I8cb5f570431dcbd3389cd3b8d54d9ef40aa66dee
1 parent 8e087fa commit c53e836

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

functions-common

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,9 +1523,8 @@ function pip_install {
15231523
http_proxy=$http_proxy \
15241524
https_proxy=$https_proxy \
15251525
no_proxy=$no_proxy \
1526-
$cmd_pip install --build=${pip_build_tmp} \
1527-
$pip_mirror_opt $@ \
1528-
&& $sudo_pip rm -rf ${pip_build_tmp}
1526+
$cmd_pip install \
1527+
$pip_mirror_opt $@
15291528

15301529
if [[ "$INSTALL_TESTONLY_PACKAGES" == "True" ]]; then
15311530
local test_req="$@/test-requirements.txt"
@@ -1534,9 +1533,8 @@ function pip_install {
15341533
http_proxy=$http_proxy \
15351534
https_proxy=$https_proxy \
15361535
no_proxy=$no_proxy \
1537-
$cmd_pip install --build=${pip_build_tmp} \
1538-
$pip_mirror_opt -r $test_req \
1539-
&& $sudo_pip rm -rf ${pip_build_tmp}
1536+
$cmd_pip install \
1537+
$pip_mirror_opt -r $test_req
15401538
fi
15411539
fi
15421540
}

0 commit comments

Comments
 (0)