From e0443284416bb9b5c69ff39c1f20d210eec273f9 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 7 Jun 2022 19:12:40 -0400 Subject: [PATCH] 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 --- noxfile.py | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 5123f233b..fb04e7365 100644 --- a/noxfile.py +++ b/noxfile.py @@ -178,7 +178,7 @@ def docs(session): """Build the docs for this library.""" session.install("-e", ".") - session.install("sphinx", "alabaster", "recommonmark") + session.install("sphinx==4.0.1", "alabaster", "recommonmark") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( @@ -199,7 +199,7 @@ def docfx(session): """Build the docfx yaml files for this library.""" session.install("-e", ".") - session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml") + session.install("sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( diff --git a/setup.py b/setup.py index ae57ef8f1..148d3332f 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "google-cloud-core >= 1.4.1, < 3.0dev", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", + "protobuf<4.0.0dev", ] extras = { }