aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2023-07-17 07:55:03 -0700
committerCopybara-Service <copybara-worker@google.com>2023-07-17 07:56:50 -0700
commitd1bcd9dd80ca132ba5409e6712d62975ca0c6623 (patch)
tree8101b47fb01c7c18353d61a555e3824396463192 /python
parent97d8c49c57ac30274173b943c7d6375ebfa541f8 (diff)
downloadtink-d1bcd9dd80ca132ba5409e6712d62975ca0c6623.tar.gz
Install Tink wheel dependencies from requirements.txt when testing
PiperOrigin-RevId: 548690159
Diffstat (limited to 'python')
-rwxr-xr-xpython/tools/distribution/test_linux_binary_wheels.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tools/distribution/test_linux_binary_wheels.sh b/python/tools/distribution/test_linux_binary_wheels.sh
index bb9f45445..430da04cf 100755
--- a/python/tools/distribution/test_linux_binary_wheels.sh
+++ b/python/tools/distribution/test_linux_binary_wheels.sh
@@ -56,7 +56,8 @@ for v in "${!PYTHON_VERSIONS[@]}"; do
(
# Executing in a subshell to make the PATH modification temporary.
export PATH="${PATH}:/opt/python/${PYTHON_VERSIONS[$v]}/bin"
- python3 -m pip install \
+ python3 -m pip install --require-hashes -r requirements.txt
+ python3 -m pip install --no-deps --no-index \
release/*-"${PYTHON_VERSIONS[$v]}"-"${PLATFORM_TAG_SET}".whl
find tink/ -not -path "*cc/pybind*" -type f -name "*_test.py" -print0 \
| xargs -0 -n1 python3