Skip to content

Commit

Permalink
update protoc
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Oct 10, 2024
1 parent 0c2d062 commit b4add58
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ jobs:
echo "Running on unsupported architecture: $ARCH. Expected one of: ['x86_64', 'aarch64']"
exit 1
fi
curl -LO $PB_REL/download/v3.25.5/protoc-3.25.5-linux-${PROTOC_ARCH}.zip
unzip protoc-3.25.5-linux-${PROTOC_ARCH}.zip -d $HOME/.local
curl -LO $PB_REL/download/v4.25.5/protoc-4.25.5-linux-${PROTOC_ARCH}.zip
unzip protoc-4.25.5-linux-${PROTOC_ARCH}.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
- name: Build Python wheels (macos)
Expand Down
14 changes: 7 additions & 7 deletions go/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Software Dependencies
- git
- GCC
- pkg-config
- protoc (protobuf compiler) >= v3.25.5
- protoc (protobuf compiler) >= v3.20.0
- openssl
- openssl-dev
- rustup
Expand All @@ -45,10 +45,10 @@ source "$HOME/.cargo/env"
rustc --version
# Install protobuf compiler
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v3.25.5/protoc-3.25.5-linux-x86_64.zip
unzip protoc-3.25.5-linux-x86_64.zip -d $HOME/.local
curl -LO $PB_REL/download/v3.20.3/protoc-3.20.3-linux-x86_64.zip
unzip protoc-3.20.3-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
# Check that the protobuf compiler is installed. A minimum version of 3.25.5 is required.
# Check that the protobuf compiler is installed. A minimum version of 3.20.0 is required.
protoc --version
```

Expand All @@ -69,10 +69,10 @@ source "$HOME/.cargo/env"
rustc --version
# Install protobuf compiler
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v3.25.5/protoc-3.25.5-linux-x86_64.zip
unzip protoc-3.25.5-linux-x86_64.zip -d $HOME/.local
curl -LO $PB_REL/download/v3.20.3/protoc-3.20.3-linux-x86_64.zip
unzip protoc-3.20.3-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
# Check that the protobuf compiler is installed. A minimum version of 3.25.5 is required.
# Check that the protobuf compiler is installed. A minimum version of 3.20.0 is required.
protoc --version
```

Expand Down
12 changes: 6 additions & 6 deletions python/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Software Dependencies
- git
- GCC
- pkg-config
- protoc (protobuf compiler) >= v3.25.5
- protoc (protobuf compiler) >= v4.25.5
- openssl
- openssl-dev
- rustup
Expand All @@ -34,9 +34,9 @@ rustc --version
# Install protobuf compiler
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
# For other arch type from x86 example below, the signature of the curl url should be protoc-<version>-<os>-<arch>.zip,
# e.g. protoc-3.25.5-linux-aarch_64.zip for ARM64.
curl -LO $PB_REL/download/v3.25.5/protoc-3.25.5-linux-x86_64.zip
unzip protoc-3.25.5-linux-x86_64.zip -d $HOME/.local
# e.g. protoc-4.25.5-linux-aarch_64.zip for ARM64.
curl -LO $PB_REL/download/v4.25.5/protoc-4.25.5-linux-x86_64.zip
unzip protoc-4.25.5-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
# Check that the protobuf compiler is installed
protoc --version
Expand All @@ -55,8 +55,8 @@ source "$HOME/.cargo/env"
rustc --version
# Install protobuf compiler
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v3.25.5/protoc-3.25.5-linux-x86_64.zip
unzip protoc-3.25.5-linux-x86_64.zip -d $HOME/.local
curl -LO $PB_REL/download/v4.25.5/protoc-4.25.5-linux-x86_64.zip
unzip protoc-4.25.5-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"
# Check that the protobuf compiler is installed
protoc --version
Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
async-timeout==4.0.2
google-api-python-client==2.85.0
maturin==0.13.0
protobuf==3.25.*
protobuf==4.25.*
pytest==7.1.2
pytest-asyncio==0.19.0
typing_extensions==4.8.0
Expand Down

0 comments on commit b4add58

Please sign in to comment.