From a4deaf7b1b5c4b7ce8f6dc5bb96d32ea8ff55c2d Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 2 Jun 2022 13:15:51 -0400 Subject: [PATCH] fix(deps): require protobuf <4.0.0dev (#595) --- setup.py | 3 ++- testing/constraints-3.6.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2742ecc78..651d6f18f 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,8 @@ # https://github.com/googleapis/google-cloud-python/issues/10566 "google-cloud-core >= 1.4.1, <3.0.0dev", "grpc-google-iam-v1 >= 0.12.4, <1.0.0dev", - "proto-plus >= 1.18.0", + "proto-plus >= 1.18.0, <2.0.0dev", + "protobuf >= 3.19.0, <4.0.0dev", ] extras = {"libcst": "libcst >= 0.2.5"} diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 0f4a447db..455fa9b7b 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -10,3 +10,4 @@ google-cloud-core==1.4.1 grpc-google-iam-v1==0.12.4 proto-plus==1.18.0 libcst==0.2.5 +protobuf==3.19.0