From 52bc482c5908f2aaa8c734ead690301949a6f2d2 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Mon, 14 Feb 2022 11:26:34 -0700 Subject: [PATCH 1/2] fix(deps): move libcst to extras --- UPGRADING.md | 4 ++-- setup.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index 517c39ad..8d8ec3bc 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -20,10 +20,10 @@ If you previously were using modules or functions under the namespace To assist with this, we have included some helpful scripts to make some of the code modifications required to use 2.0.0. -* Install the library +* Install the library with `libcst`. ```py -python3 -m pip install google-cloud-datastore +python3 -m pip install google-cloud-datastore[libcst] ``` * The scripts `fixup_datastore_v1_keywords.py` and `fixup_datastore_admin_v1_keywords.py` diff --git a/setup.py b/setup.py index 286653d5..6afa95e7 100644 --- a/setup.py +++ b/setup.py @@ -38,9 +38,8 @@ # https://github.com/googleapis/google-cloud-python/issues/10566 "google-cloud-core >= 1.4.0, <3.0.0dev", "proto-plus >= 1.4.0", - "libcst >= 0.2.5", ] -extras = {} +extras = {"libcst >= 0.2.5"} # Setup boilerplate below this line. From e78b3841c5874ae02fd4aae66eb1402acd1ae7e0 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Mon, 14 Feb 2022 15:08:43 -0700 Subject: [PATCH 2/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6afa95e7..6d24d2ee 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ "google-cloud-core >= 1.4.0, <3.0.0dev", "proto-plus >= 1.4.0", ] -extras = {"libcst >= 0.2.5"} +extras = {"libcst": "libcst >= 0.2.5"} # Setup boilerplate below this line.