From e949364ce3a2c4c3cdb2658054d4793aa942d999 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 7 Oct 2022 20:36:48 -0400 Subject: [PATCH] fix(deps): allow protobuf 3.19.5 (#459) * fix(deps): allow protobuf 3.19.5 * explicitly exclude protobuf 4.21.0 * chore: use a compatible version of protobuf for testing --- setup.py | 2 +- testing/constraints-3.7.txt | 2 +- testing/constraints-3.8.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 9dadc489..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.20.2, <5.0.0dev", + "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", ] 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 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