From 033e03fc991b356aacfe11742a8db6795ca92eaa Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 1 Jun 2022 22:29:29 -0400 Subject: [PATCH] fix(deps): require protobuf <4.0.0dev (#391) --- packages/google-cloud-automl/setup.py | 3 ++- packages/google-cloud-automl/testing/constraints-3.6.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/google-cloud-automl/setup.py b/packages/google-cloud-automl/setup.py index d880c46e5ed4..6476b88fa679 100644 --- a/packages/google-cloud-automl/setup.py +++ b/packages/google-cloud-automl/setup.py @@ -26,7 +26,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", ] extras = { "libcst": "libcst >= 0.2.5", diff --git a/packages/google-cloud-automl/testing/constraints-3.6.txt b/packages/google-cloud-automl/testing/constraints-3.6.txt index 11f3005b2cf0..7efb815c7d85 100644 --- a/packages/google-cloud-automl/testing/constraints-3.6.txt +++ b/packages/google-cloud-automl/testing/constraints-3.6.txt @@ -10,3 +10,4 @@ proto-plus==1.15.0 libcst==0.2.5 pandas==0.23.0 google-cloud-storage==1.18.0 +protobuf==3.19.0