From a88cd08a2cca14afd3477afab9cb4db0e305d373 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 26 Jan 2022 15:04:15 -0500 Subject: [PATCH 1/2] fix(deps): require google-api-core>=1.31.5, >2.3.0 --- setup.py | 2 +- testing/constraints-3.6.txt | 2 +- testing/constraints-3.7.txt | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 46183550..52fe893a 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ # NOTE: Maintainers, please do not require google-api-core>=2.x.x # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 - "google-api-core[grpc] >= 1.28.0, <3.0.0dev", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "proto-plus >= 0.4.0", "pytz >= 2021.1", ] diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 79536abc..b971d245 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -5,6 +5,6 @@ # # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", # Then this file should have foo==1.14.0 -google-api-core==1.28.0 +google-api-core==1.31.5 proto-plus==0.4.0 libcst==0.2.5 diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index e69de29b..b971d245 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -0,0 +1,10 @@ +# This constraints file is used to check that lower bounds +# are correct in setup.py +# List *all* library dependencies and extras in this file. +# Pin the version to the lower bound. +# +# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", +# Then this file should have foo==1.14.0 +google-api-core==1.31.5 +proto-plus==0.4.0 +libcst==0.2.5 From 071b725b370fead5035796a7a116e2a3a47f8692 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 26 Jan 2022 20:21:41 +0000 Subject: [PATCH 2/2] revert update to testing/constraints-3.7.txt --- testing/constraints-3.7.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt index b971d245..e69de29b 100644 --- a/testing/constraints-3.7.txt +++ b/testing/constraints-3.7.txt @@ -1,10 +0,0 @@ -# This constraints file is used to check that lower bounds -# are correct in setup.py -# List *all* library dependencies and extras in this file. -# Pin the version to the lower bound. -# -# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", -# Then this file should have foo==1.14.0 -google-api-core==1.31.5 -proto-plus==0.4.0 -libcst==0.2.5