Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 0846762

Browse files
authored
fix(deps): move libcst to extras (#585)
`libcst` is only needed to run the fixup script.
1 parent 492bb81 commit 0846762

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

UPGRADING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ The 2.0.0 release requires Python 3.6+.
2424
Almost all methods that send requests to the backend expect request objects. We
2525
provide a script that will convert most common use cases.
2626

27-
* Install the library
27+
* Install the library with the `libcst` extra.
2828

2929
```py
30-
python3 -m pip install google-cloud-pubsub
30+
python3 -m pip install google-cloud-pubsub[libcst]
3131
```
3232

3333
* The script `fixup_pubsub_v1_keywords.py` is shipped with the library. It expects

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@
3434
# Until this issue is closed
3535
# https://github.com/googleapis/google-cloud-python/issues/10566
3636
"google-api-core[grpc] >= 1.28.0, <3.0.0dev",
37-
"libcst >= 0.3.10",
3837
"proto-plus >= 1.7.1",
3938
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
4039
]
41-
extras = {}
40+
extras = {"libcst": "libcst >= 0.3.10"}
4241

4342

4443
# Setup boilerplate below this line.

0 commit comments

Comments
 (0)