From 5fc6a3fb9aa6f0d9eb47dade024a80dfe967388f Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 31 May 2022 15:28:44 -0400 Subject: [PATCH] fix(deps): require protobuf <4.0.0dev (#58) Towards b/234444818 fix(deps): drop dependency packaging --- packages/google-cloud-common/setup.py | 4 ++-- packages/google-cloud-common/testing/constraints-3.6.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/google-cloud-common/setup.py b/packages/google-cloud-common/setup.py index 55dfe7f924b1..189daa19555f 100644 --- a/packages/google-cloud-common/setup.py +++ b/packages/google-cloud-common/setup.py @@ -30,8 +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", - "packaging >= 14.3", + "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-common/testing/constraints-3.6.txt b/packages/google-cloud-common/testing/constraints-3.6.txt index e01269f9abd7..786e637393c5 100644 --- a/packages/google-cloud-common/testing/constraints-3.6.txt +++ b/packages/google-cloud-common/testing/constraints-3.6.txt @@ -6,4 +6,4 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.31.5 proto-plus==1.15.0 -packaging==14.3 +protobuf==3.19.0