From fdcea12640bc5613fff2e6e0ea6a1220c234f8f5 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 7 Jun 2022 19:48:15 -0400 Subject: [PATCH] fix(deps): require protobuf>=3.19.0,<4.0.0 (#42) --- packages/google-cloud-optimization/setup.py | 3 ++- packages/google-cloud-optimization/testing/constraints-3.6.txt | 1 + packages/google-cloud-optimization/testing/constraints-3.7.txt | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/google-cloud-optimization/setup.py b/packages/google-cloud-optimization/setup.py index 63393010ab8d..796afc693119 100644 --- a/packages/google-cloud-optimization/setup.py +++ b/packages/google-cloud-optimization/setup.py @@ -30,7 +30,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-optimization/testing/constraints-3.6.txt b/packages/google-cloud-optimization/testing/constraints-3.6.txt index be5a64f35aac..786e637393c5 100644 --- a/packages/google-cloud-optimization/testing/constraints-3.6.txt +++ b/packages/google-cloud-optimization/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 diff --git a/packages/google-cloud-optimization/testing/constraints-3.7.txt b/packages/google-cloud-optimization/testing/constraints-3.7.txt index be5a64f35aac..786e637393c5 100644 --- a/packages/google-cloud-optimization/testing/constraints-3.7.txt +++ b/packages/google-cloud-optimization/testing/constraints-3.7.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