Run pip install with --require-hashes.

PiperOrigin-RevId: 487569781
Change-Id: I0a810403f789415a3f884531617801ae111c957b
This commit is contained in:
Saran Tunyasuvunakool
2022-11-10 10:06:53 -08:00
committed by Copybara-Service
parent 601963beb2
commit fd139276bc
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ else
readonly tmp_dir="$(mktemp -d)"
fi
python -m pip install --upgrade pip setuptools
python -m pip install absl-py
python -m pip install --upgrade --require-hashes \
-r ${package_dir}/make_sdist_requirements.txt
pushd ${tmp_dir}
cp -r "${package_dir}"/* .