From e4edea7267b8d64a586cca6b2586c1d41dc73508 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 12 Aug 2022 13:50:51 -0400 Subject: [PATCH] fix(deps): allow protobuf < 5.0.0 (#320) * fix(deps): allow protobuf < 5.0.0\nfix(deps): require proto-plus >= 1.22.0 * fix(deps): require proto-plus >= 1.22.0 * update constraints --- setup.py | 4 ++-- testing/constraints-3.7.txt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 4173950af..359dd3782 100644 --- a/setup.py +++ b/setup.py @@ -45,8 +45,8 @@ include_package_data=True, install_requires=( "google-api-core[grpc] >= 2.8.0, <3.0.0dev", - "proto-plus >= 1.19.7, <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", ), python_requires=">=3.7", classifiers=[ diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index adecac80d..95cf1e82c 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -6,6 +6,5 @@ # e.g., if setup.py has "google-cloud-foo >= 1.14.0, < 2.0.0dev", # Then this file should have google-cloud-foo==1.14.0 google-api-core==2.8.0 -proto-plus==1.19.7 -dataclasses==0.6.0 +proto-plus==1.22.0 protobuf==3.19.0