diff --git a/packages/google-cloud-build/setup.py b/packages/google-cloud-build/setup.py index ed1e6c3a3cdd..69d3e7bdeff4 100644 --- a/packages/google-cloud-build/setup.py +++ b/packages/google-cloud-build/setup.py @@ -32,7 +32,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-build/testing/constraints-3.6.txt b/packages/google-cloud-build/testing/constraints-3.6.txt index 9f829f6a0a4c..3b53664cacdc 100644 --- a/packages/google-cloud-build/testing/constraints-3.6.txt +++ b/packages/google-cloud-build/testing/constraints-3.6.txt @@ -8,3 +8,4 @@ google-api-core==1.31.5 proto-plus==1.15.0 libcst==0.2.5 +protobuf==3.19.0