From 92526081958dd4b1c7e30a3d03c38af055a30d48 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 6 Oct 2022 18:46:08 +0000 Subject: [PATCH 1/3] 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 9dadc489..3efe9873 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ release_status = "Development Status :: 5 - Production/Stable" dependencies = [ "googleapis-common-protos >= 1.56.2, < 2.0dev", - "protobuf >= 3.20.2, <5.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", "google-auth >= 1.25.0, < 3.0dev", "requests >= 2.18.0, < 3.0.0dev", ] diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index eab4c2e7..d58c05b0 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -6,7 +6,7 @@ # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", # Then this file should have foo==1.14.0 googleapis-common-protos==1.56.2 -protobuf==3.20.2 +protobuf==3.19.5 google-auth==1.25.0 requests==2.18.0 packaging==14.3 From 7a24ab237f9c0f0891ebdbb59975cad975502e00 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 7 Oct 2022 19:09:13 +0000 Subject: [PATCH 2/3] 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 3efe9873..1e746c8e 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ release_status = "Development Status :: 5 - Production/Stable" dependencies = [ "googleapis-common-protos >= 1.56.2, < 2.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", + "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", "google-auth >= 1.25.0, < 3.0dev", "requests >= 2.18.0, < 3.0.0dev", ] From 501578e4c8d8f3a6f2d8a975e656416b7cbec6a6 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 7 Oct 2022 19:51:57 -0400 Subject: [PATCH 3/3] chore: use a compatible version of protobuf for testing --- testing/constraints-3.8.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/constraints-3.8.txt b/testing/constraints-3.8.txt index 8d760bbd..1b5bb58e 100644 --- a/testing/constraints-3.8.txt +++ b/testing/constraints-3.8.txt @@ -1,2 +1,2 @@ googleapis-common-protos==1.56.3 -protobuf==4.21.5 \ No newline at end of file +protobuf==4.21.6 \ No newline at end of file