From 8b3b995ac982e7e1695143144ab88f252184f293 Mon Sep 17 00:00:00 2001 From: Chang Su Date: Thu, 4 Sep 2025 22:09:30 -0700 Subject: [PATCH] [router] fix release workflow to include protobuf (#10055) --- .github/workflows/release-pypi-router.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pypi-router.yml b/.github/workflows/release-pypi-router.yml index 5653cd1d1..a2128be83 100644 --- a/.github/workflows/release-pypi-router.yml +++ b/.github/workflows/release-pypi-router.yml @@ -47,7 +47,14 @@ jobs: env: CIBW_BUILD: "cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64" CIBW_BEFORE_ALL: | - yum update && yum install -y openssl-devel protobuf-compiler && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + yum update -y && yum install -y openssl-devel wget unzip && \ + # Install latest protoc (v32.0) that supports proto3 + cd /tmp && \ + wget https://github.com/protocolbuffers/protobuf/releases/download/v32.0/protoc-32.0-linux-x86_64.zip && \ + unzip protoc-32.0-linux-x86_64.zip -d /usr/local && \ + rm protoc-32.0-linux-x86_64.zip && \ + # Install Rust + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y CIBW_ENVIRONMENT: "PATH=$HOME/.cargo/bin:$PATH" - name: List built packages