From 6d63e5d38eee721b0ce3dd9a353a5775ed04ff26 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 6 Oct 2022 18:46:09 +0000 Subject: [PATCH 1/2] fix(deps): allow protobuf 3.19.5 --- 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 be02dc409..7edb04896 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ "google-cloud-core >= 1.4.1, <3.0.0dev", "google-resumable-media >= 0.6.0, < 3.0dev", "packaging >= 14.3, <22.0.0dev", - "protobuf >= 3.20.2, <5.0.0dev", # For the legacy proto-based types. + "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", # For the legacy proto-based types. "python-dateutil >= 2.7.2, <3.0dev", "pyarrow >= 3.0.0, < 10.0dev", "requests >= 2.18.0, < 3.0.0dev", diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index 3b07dc9fa..c9e40d823 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -18,7 +18,7 @@ opentelemetry-instrumentation==0.20b0 opentelemetry-sdk==1.1.0 pandas==1.1.0 proto-plus==1.22.0 -protobuf==3.20.2 +protobuf==3.19.5 pyarrow==3.0.0 python-dateutil==2.7.3 requests==2.18.0 From 05ac7e5ced2da6e70fd9c7ed12dc56d93db50daf Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 7 Oct 2022 19:09:14 +0000 Subject: [PATCH 2/2] explicitly exclude protobuf 4.21.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7edb04896..695ffd7d3 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ "google-cloud-core >= 1.4.1, <3.0.0dev", "google-resumable-media >= 0.6.0, < 3.0dev", "packaging >= 14.3, <22.0.0dev", - "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", # For the legacy proto-based types. + "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", # For the legacy proto-based types. "python-dateutil >= 2.7.2, <3.0dev", "pyarrow >= 3.0.0, < 10.0dev", "requests >= 2.18.0, < 3.0.0dev",