Check hashes for pip wheels before installing

pull/18241/head
Lidi Zheng 6 years ago
parent bc81010f10
commit 168df1cb5f
  1. 2
      test/distrib/python/test_packages.sh

@ -41,7 +41,7 @@ PYTHON=$VIRTUAL_ENV/bin/python
function at_least_one_installs() { function at_least_one_installs() {
for file in "$@"; do for file in "$@"; do
if "$PYTHON" -m pip install "$file"; then if "$PYTHON" -m pip install --require-hashes "$file"; then
return 0 return 0
fi fi
done done

Loading…
Cancel
Save