From 1c2c133fea551178e4bcba543d70d4846d61e079 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sat, 26 Mar 2022 14:42:36 +0000 Subject: [PATCH 1/2] 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 70ec372..600ff44 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ platforms="Posix; MacOS X; Windows", include_package_data=True, install_requires=( - "google-api-core[grpc] >= 1.22.2, < 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.4.0", ), python_requires=">=3.6", From 682ea4f76e3cd0871247b97516c6efab38365640 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 1 Apr 2022 00:39:34 +0000 Subject: [PATCH 2/2] 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 9e90799..db108f7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -49,7 +49,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, ) @@ -66,7 +66,7 @@ def blacken(session): That run uses an image that doesn't have 3.6 installed. Before updating this check the state of the `gcp_ubuntu_config` we use for that Kokoro run. """ - session.install(BLACK_VERSION) + session.install(BLACK_VERSION, "click<8.1.0") session.run( "black", *BLACK_PATHS, )