From bf202ab5656cbd7dfdff6847310d4321c48735d4 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Fri, 14 May 2021 19:08:06 -0600 Subject: [PATCH] fix(deps): add packaging requirement (#91) Add packaging requirement. packaging.version is used for a version comparison in transports/base.py and is needed after the upgrade to gapic-generator-python 0.46.3 --- setup.py | 6 +++++- testing/constraints-3.6.txt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2482921..0e767ef 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,11 @@ description = "Cloud Recommender API client library" version = "2.1.0" release_status = "Development Status :: 5 - Production/Stable" -dependencies = ["google-api-core[grpc] >= 1.22.2, < 2.0.0dev", "proto-plus >= 1.10.0"] +dependencies = [ + "google-api-core[grpc] >= 1.22.2, < 2.0.0dev", + "proto-plus >= 1.10.0", + "packaging >= 14.3", +] extras = {"libcst": "libcst >= 0.2.5"} scripts = [ "scripts/fixup_recommender_v1_keywords.py", diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index a929701..b664e31 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -7,3 +7,4 @@ # Then this file should have google-cloud-foo==1.14.0 google-api-core==1.22.2 proto-plus==1.15.0 +packaging==14.3