From 89876f9577402ca3ee55387b9aa6bb6ded250e89 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 13 Aug 2024 09:56:07 -0400 Subject: [PATCH 1/2] fix: Allow protobuf 5.x; require protobuf >=3.20.2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 38f6d0e6ee..b779b4ce18 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ "google-cloud-core >= 1.4.1, <3.0.0dev", "proto-plus >= 1.22.0, <2.0.0dev", "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'", - "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", + "protobuf>=3.20.2,<6.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", ] extras = {} From 63b216ca24dd237f63e9faad435ef028e0ae00ca Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 13 Aug 2024 09:56:36 -0400 Subject: [PATCH 2/2] update constraints --- testing/constraints-3.7.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index 1470ab1b89..2e9ab779bf 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -9,4 +9,4 @@ google-api-core==1.34.0 google-auth==2.14.1 google-cloud-core==1.4.1 proto-plus==1.22.0 -protobuf==3.19.5 # transitive from `google-api-core` +protobuf==3.20.2 # transitive from `google-api-core`