From ad50e3648954edf27575001be833bb5e1e598f46 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 13 Aug 2024 12:47:35 -0400 Subject: [PATCH] fix: Allow protobuf 5.x; require protobuf >=3.20.2 (#560) * fix: Allow protobuf 5.x; require protobuf >=3.20.2 * update constraints --------- Co-authored-by: Daniel Sanche --- setup.py | 2 +- testing/constraints-3.7.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5f588e05..eb3c2660 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ "google-cloud-core >= 1.4.0, <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 = {"libcst": "libcst >= 0.2.5"} diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index da9c6ca8..b99d4dc5 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -10,4 +10,4 @@ google-auth==2.14.1 google-cloud-core==1.4.0 proto-plus==1.22.0 libcst==0.2.5 -protobuf==3.19.5 +protobuf==3.20.2