From f84fa6e78bb9a6a0746482d2c8717aa8e390ca03 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 15 Feb 2022 08:52:39 -0700 Subject: [PATCH] fix(deps): move libcst to extras (#322) --- packages/google-cloud-python-speech/UPGRADING.md | 4 ++-- packages/google-cloud-python-speech/setup.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/google-cloud-python-speech/UPGRADING.md b/packages/google-cloud-python-speech/UPGRADING.md index 3d3374945d6b..666c0e168094 100644 --- a/packages/google-cloud-python-speech/UPGRADING.md +++ b/packages/google-cloud-python-speech/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-speech +python3 -m pip install google-cloud-speech[libcst] ``` * The scripts `fixup_speech_v1_keywords.py` and `fixup_speech_v1p1beta1_keywords.py` are shipped with the library. It expects an input directory (with the code to convert) and an empty destination directory. diff --git a/packages/google-cloud-python-speech/setup.py b/packages/google-cloud-python-speech/setup.py index a07dd1a01731..b1b284880266 100644 --- a/packages/google-cloud-python-speech/setup.py +++ b/packages/google-cloud-python-speech/setup.py @@ -33,10 +33,9 @@ # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 "google-api-core[grpc] >= 1.28.0, <3.0.0dev", - "libcst >= 0.2.5", "proto-plus >= 1.4.0", ] -extras = {} +extras = {"libcst": "libcst >= 0.2.5"} # Setup boilerplate below this line.