Skip to content

Commit e044328

Browse files
authored
fix(deps): require protobuf<4.0.0 on v1 branch (#602)
* fix(deps): require protobuf<4.0.0 on v1 branch * chore: fix ci * chore: fix ci
1 parent 34a79d2 commit e044328

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def docs(session):
178178
"""Build the docs for this library."""
179179

180180
session.install("-e", ".")
181-
session.install("sphinx", "alabaster", "recommonmark")
181+
session.install("sphinx==4.0.1", "alabaster", "recommonmark")
182182

183183
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
184184
session.run(
@@ -199,7 +199,7 @@ def docfx(session):
199199
"""Build the docfx yaml files for this library."""
200200

201201
session.install("-e", ".")
202-
session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml")
202+
session.install("sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml")
203203

204204
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
205205
session.run(

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
3333
"google-cloud-core >= 1.4.1, < 3.0dev",
3434
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
35+
"protobuf<4.0.0dev",
3536
]
3637
extras = {
3738
}

0 commit comments

Comments
 (0)