From 64b29fba5de6cd49183e9b486174623744c5890d Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Wed, 13 Mar 2019 09:58:54 -0700 Subject: [PATCH 1/2] An attempt to fix distrib test --- test/distrib/python/test_packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/distrib/python/test_packages.sh b/test/distrib/python/test_packages.sh index 4e1e6dbc94f..0ed6a2965e6 100755 --- a/test/distrib/python/test_packages.sh +++ b/test/distrib/python/test_packages.sh @@ -37,7 +37,7 @@ TESTING_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-testing-[0-9]*.tar VIRTUAL_ENV=$(mktemp -d) virtualenv "$VIRTUAL_ENV" PYTHON=$VIRTUAL_ENV/bin/python -"$PYTHON" -m pip install --upgrade six pip +"$PYTHON" -m pip install --upgrade six pip wheel function validate_wheel_hashes() { for file in "$@"; do From f42ad52c44f5d06b3418676611d5758e5061f3d5 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Wed, 13 Mar 2019 12:40:10 -0700 Subject: [PATCH 2/2] Update `--dest-dir` to `-d` --- test/distrib/python/test_packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/distrib/python/test_packages.sh b/test/distrib/python/test_packages.sh index 0ed6a2965e6..e9f494310d6 100755 --- a/test/distrib/python/test_packages.sh +++ b/test/distrib/python/test_packages.sh @@ -41,7 +41,7 @@ PYTHON=$VIRTUAL_ENV/bin/python function validate_wheel_hashes() { for file in "$@"; do - "$PYTHON" -m wheel unpack "$file" --dest-dir /tmp || return 1 + "$PYTHON" -m wheel unpack "$file" -d /tmp || return 1 done return 0 }