Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit de6e7c1

Browse files
authored
fix(deps): move libcst to extras (#322)
1 parent ca99f96 commit de6e7c1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

UPGRADING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ The 2.0.0 release requires Python 3.6+.
1717
1818
Methods expect request objects. We provide a script that will convert most common use cases.
1919

20-
* Install the library
20+
* Install the library with the `libcst` extra
2121

2222
```py
23-
python3 -m pip install google-cloud-speech
23+
python3 -m pip install google-cloud-speech[libcst]
2424
```
2525

2626
* 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.

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@
3333
# Until this issue is closed
3434
# https://github.com/googleapis/google-cloud-python/issues/10566
3535
"google-api-core[grpc] >= 1.28.0, <3.0.0dev",
36-
"libcst >= 0.2.5",
3736
"proto-plus >= 1.4.0",
3837
]
39-
extras = {}
38+
extras = {"libcst": "libcst >= 0.2.5"}
4039

4140

4241
# Setup boilerplate below this line.

0 commit comments

Comments
 (0)