Skip to content

Commit 03c5573

Browse files
committed
Build binary wheels with protobuf==5.29.5 and allow protobuf>=5.29.5
This should allow using protobuf<=6.30.X with tink-py as per https://protobuf.dev/support/cross-version-runtime-guarantee/ #60 PiperOrigin-RevId: 862107196 Change-Id: Idf998367a86aa343dc96de4819394952b6f13d30 (cherry picked from commit 6971914)
1 parent 40347a0 commit 03c5573

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
absl-py>=2.1.0
2-
protobuf>=5.29.3
2+
protobuf>=5.29.5
33
bazel-runfiles>=1.3.0

tools/distribution/build_linux_binary_wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ curl -LsS "${BAZELISK_URL}" -o /usr/local/bin/bazelisk
5454
echo "${BAZELISK_SHA256} /usr/local/bin/bazelisk" | sha256sum -c -
5555
chmod +x /usr/local/bin/bazelisk
5656

57-
# Install protoc 30.2.
57+
# Install protoc 29.5.
5858
readonly PROTOC_DOWNLOAD_URL="https://github.com/protocolbuffers/protobuf/releases/download"
59-
readonly PROTOC_RELEASE_TAG="30.2"
59+
readonly PROTOC_RELEASE_TAG="29.5"
6060
PROTOC_URL="${PROTOC_DOWNLOAD_URL}/v${PROTOC_RELEASE_TAG}/protoc-${PROTOC_RELEASE_TAG}-linux-x86_64.zip"
61-
PROTOC_SHA256="327e9397c6fb3ea2a542513a3221334c6f76f7aa524a7d2561142b67b312a01f"
61+
PROTOC_SHA256="a3f094363cd205c6f7af0d1b9305cb4c8517043f265cdb188f098cae93e8b217"
6262
if [[ "${ARCH}" == "aarch64" || "${ARCH}" == "arm64" ]]; then
6363
PROTOC_URL="${PROTOC_DOWNLOAD_URL}/v${PROTOC_RELEASE_TAG}/protoc-${PROTOC_RELEASE_TAG}-linux-aarch_64.zip"
64-
PROTOC_SHA256="a3173ea338ef91b1605b88c4f8120d6c8ccf36f744d9081991d595d0d4352996"
64+
PROTOC_SHA256="25eb0848ff13a90a0b2d2a3b4a9d2babc7fbfe158f596c00d8c26a21028dd6f5"
6565
fi
6666
readonly PROTOC_URL
6767
readonly PROTOC_SHA256

0 commit comments

Comments
 (0)