From 3d3e0aa9f0283dafe3056ed7d3067310535db48c Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 12 Aug 2022 11:34:11 -0400 Subject: [PATCH] fix(deps): allow protobuf < 5.0.0 (#1587) fix(deps): require proto-plus >= 1.22.0 --- setup.py | 6 +++--- testing/constraints-3.7.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 4ac1acf68a..534cd91932 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ "attrs==21.4.0", "absl-py>=0.7", "numpy>=1.19.0", - "protobuf>=3.6,<4.0", + "protobuf>=3.6,<5.0", "keras-tuner>=1.0,<2.0", "portpicker==1.3.1", "googleapis-common-protos==1.56.0", @@ -128,8 +128,8 @@ include_package_data=True, install_requires=( "google-api-core[grpc] >= 1.32.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*", - "proto-plus >= 1.15.0, <2.0.0dev", - "protobuf >= 3.19.0, <4.0.0dev", + "proto-plus >= 1.22.0, <2.0.0dev", + "protobuf >= 3.19.0, <5.0.0dev", "packaging >= 14.3, <22.0.0dev", "google-cloud-storage >= 1.32.0, < 3.0.0dev", "google-cloud-bigquery >= 1.15.0, < 3.0.0dev", diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index 39c6d5ff9c..a6e702060d 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -7,7 +7,7 @@ # Then this file should have foo==1.14.0 google-api-core==1.32.0 libcst==0.2.5 -proto-plus==1.15.0 +proto-plus==1.22.0 protobuf==3.19.0 mock==4.0.2 google-cloud-storage==1.32.0