From ebe960f777a53ad47774d9ac89112446ca5a0a2c Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sun, 27 Mar 2022 13:40:27 +0000 Subject: [PATCH 1/3] fix(deps): require google-api-core >= 1.31.5, >= 2.3.2 on v0 release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b17a656..c341521 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ platforms="Posix; MacOS X; Windows", include_package_data=True, install_requires=( - "google-api-core[grpc] >= 1.26.0, <2.0.0dev", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "proto-plus >= 1.10.0", "packaging >= 14.3", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", From 6f4856bf0a6ae559a206614c077197720ed80db4 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 1 Apr 2022 00:48:57 +0000 Subject: [PATCH 2/3] ci: use click<8.1.0 for lint/blacken session --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 03aa2f5..b613354 100644 --- a/noxfile.py +++ b/noxfile.py @@ -55,7 +55,7 @@ def lint(session): Returns a failure if the linters find linting errors or sufficiently serious code quality issues. """ - session.install("flake8", BLACK_VERSION) + session.install("flake8", BLACK_VERSION, "click<8.1.0") session.run( "black", "--check", *BLACK_PATHS, ) @@ -65,7 +65,7 @@ def lint(session): @nox.session(python=DEFAULT_PYTHON_VERSION) def blacken(session): """Run black. Format code to uniform standard.""" - session.install(BLACK_VERSION) + session.install(BLACK_VERSION, "click<8.1.0") session.run( "black", *BLACK_PATHS, ) From 44be7df230f46f5340a7eeb388d00e894514d718 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 1 Apr 2022 00:49:11 +0000 Subject: [PATCH 3/3] update constraints to reflect setup.py --- testing/constraints-3.6.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index bbc5a8c..0b012f8 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -5,7 +5,7 @@ # # 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.26.0 +google-api-core==1.31.5 proto-plus==1.10.0 grpc-google-iam-v1==0.12.3 packaging==14.3