Skip to content

Commit 3e0b2a3

Browse files
author
Nehal Patel
authored
Allow using a newer version of protobuf (#1040)
* Allow using a newer version of protobuf Will require recompiling protos * Download a newer protoc for CI
1 parent e724173 commit 3e0b2a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
python -m pip install --upgrade pip
2626
python -m pip install tox tox-gh-actions
2727
pip install coveralls
28-
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
29-
unzip protoc-3.6.1-linux-x86_64.zip
28+
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.6/protoc-21.6-linux-x86_64.zip
29+
unzip protoc-21.6-linux-x86_64.zip
3030
sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc
3131
sudo cp -r include/. /usr/include && sudo chmod -R +r /usr/include/google
3232
protoc --version

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def run(self):
135135
'inflection',
136136
'google-auth>=1.34.0',
137137
'mutablerecords>=0.4.1',
138-
'protobuf>=3.6.0,<4.0',
138+
'protobuf>=3.6.0',
139139
'PyYAML>=3.13',
140140
'pyOpenSSL>=17.1.0',
141141
'requests>=2.27.1',

0 commit comments

Comments
 (0)