From caf4f48117efe7de710261507adda14fa89f3513 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 1 Jun 2022 22:37:16 -0400 Subject: [PATCH] fix(deps): require protobuf <4.0.0dev (#87) --- packages/google-cloud-source-context/setup.py | 3 ++- .../google-cloud-source-context/testing/constraints-3.6.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/google-cloud-source-context/setup.py b/packages/google-cloud-source-context/setup.py index ee26467f5b28..2e9180e245cc 100644 --- a/packages/google-cloud-source-context/setup.py +++ b/packages/google-cloud-source-context/setup.py @@ -29,7 +29,8 @@ # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", - "proto-plus >= 1.15.0", + "proto-plus >= 1.15.0, <2.0.0dev", + "protobuf >= 3.19.0, <4.0.0dev", ] package_root = os.path.abspath(os.path.dirname(__file__)) diff --git a/packages/google-cloud-source-context/testing/constraints-3.6.txt b/packages/google-cloud-source-context/testing/constraints-3.6.txt index be5a64f35aac..786e637393c5 100644 --- a/packages/google-cloud-source-context/testing/constraints-3.6.txt +++ b/packages/google-cloud-source-context/testing/constraints-3.6.txt @@ -6,3 +6,4 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.31.5 proto-plus==1.15.0 +protobuf==3.19.0