aboutsummaryrefslogtreecommitdiff
path: root/python/tools
diff options
context:
space:
mode:
authorckl <ckl@google.com>2021-02-12 10:26:19 -0800
committerCopybara-Service <copybara-worker@google.com>2021-02-12 10:26:51 -0800
commit6fb0607a6357a7f322c9ac25442fdf5ec797c30a (patch)
tree24c6cd4c5a52083b4c450f9bd9546c239fe8ead3 /python/tools
parent439a8f05307646cc408ff77f9430e28d44fb194d (diff)
downloadtink-6fb0607a6357a7f322c9ac25442fdf5ec797c30a.tar.gz
Update protobuf version in test and release configurations.
Also, in the PIP tests use the same approach to protoc installation as kokoro/run_tests.sh. This is more resilient to permissions differences in the protoc binary distribution, since it doesn't rely on using sudo. PiperOrigin-RevId: 357218503
Diffstat (limited to 'python/tools')
-rwxr-xr-xpython/tools/distribution/build_linux_binary_wheels.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tools/distribution/build_linux_binary_wheels.sh b/python/tools/distribution/build_linux_binary_wheels.sh
index 8026057a5..bdee3c613 100755
--- a/python/tools/distribution/build_linux_binary_wheels.sh
+++ b/python/tools/distribution/build_linux_binary_wheels.sh
@@ -13,8 +13,9 @@ chmod +x bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
./bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
# Install Protoc which is needed for compiling the protos
-PROTOC_ZIP='protoc-3.11.4-linux-x86_64.zip'
-curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/${PROTOC_ZIP}
+PROTOC_VERSION='3.14.0'
+PROTOC_ZIP="protoc-${PROTOC_VERSION}-linux-x86_64.zip"
+curl -OL "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/${PROTOC_ZIP}"
unzip -o "${PROTOC_ZIP}" -d /usr/local bin/protoc
# Setup required for Tink