From 1b9682420715685157078383cde40cb22b6c1921 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:44:49 -0700 Subject: [PATCH 1/2] fix(deps): move `libcst` to extras --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 9d6d76fb..38c080d4 100644 --- a/setup.py +++ b/setup.py @@ -35,9 +35,8 @@ "google-api-core[grpc] >= 1.28.0, <3.0.0dev", "grpc-google-iam-v1 >= 0.12.3, < 0.13dev", "proto-plus >= 1.15.0", - "libcst >= 0.2.5", ] -extras = {} +extras = {"libcst": "libcst >= 0.2.5"} # Setup boilerplate below this line. From 9d92cf04f03b9bb28becac64b3c1b34fbba4a318 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:45:12 -0700 Subject: [PATCH 2/2] chore: --- UPGRADING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index b96d89ff..e81fb03f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -17,10 +17,10 @@ The 2.0.0 release requires Python 3.6+. Methods expect request objects. We provide a script that will convert most common use cases. -* Install the library +* Install the library with the `libcst` extra. ```py -python3 -m pip install google-cloud-container +python3 -m pip install google-cloud-container[libcst] ``` * The script `fixup_container_v1_keywords.py` and `fixup_container_v1beta1_keywords.py`