From 6687160de945c02d9caeb7bab5f88001f12c88a1 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sun, 27 Mar 2022 21:08:23 +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 8a228036..8486ff87 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ # 'Development Status :: 5 - Production/Stable' release_status = "Development Status :: 4 - Beta" dependencies = [ - "google-api-core[grpc] >= 1.14.0, < 2.0.0dev", + "google-api-core[grpc] >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", 'enum34; python_version < "3.4"', ] From df459a9d2fa8598faf60330489776b4db3043a73 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sat, 9 Apr 2022 17:10:17 +0000 Subject: [PATCH 2/2] ci: use click < 8.1.0 --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index d3d763c6..a3936076 100644 --- a/noxfile.py +++ b/noxfile.py @@ -42,7 +42,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) session.run("flake8", "google", "tests") @@ -57,7 +57,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)