Skip to content

Commit 9ba4449

Browse files
authored
fix(automl): remove unused libcst extra and constraints (#18056)
`libcst` was historically included in `google-cloud-automl` extras and testing constraints, but is not imported or used anywhere in the package or test suite. During pre-release / core dependencies testing on newer Python versions, `pip` attempts to build `libcst` from source, which fails due to the missing Rust toolchain in CI build environments. Googlers, see: https://fusion2.corp.google.com/ci;prev=s/kokoro/prod:cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fgoogle-cloud-python%2Fcontinuous%2Fcore_deps/activity/5b360144-9a17-4e4a-844b-deba86b165f7/log?q=google-cloud-python&s=p
1 parent db1622a commit 9ba4449

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

.librarian/generator-input/client-post-processing/integrate-isolated-handwritten-code.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ replacements:
198198
before: extras = \{\}
199199
after: |
200200
extras = {
201-
"libcst": "libcst >= 0.2.5",
202201
"pandas": ["pandas>=1.3.4"],
203202
"storage": [
204203
"google-cloud-storage >=2.14.0, <4.0.0",
@@ -215,7 +214,6 @@ replacements:
215214
after: |
216215
google-api-core==2.25.0
217216
google-cloud-storage==2.14.0
218-
libcst==0.2.5
219217
pandas==1.3.4
220218
# numpy is a dependency of pandas
221219
numpy==1.21.3

packages/google-cloud-automl/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"protobuf >= 6.33.5, < 8.0.0",
5353
]
5454
extras = {
55-
"libcst": "libcst >= 0.2.5",
5655
"pandas": ["pandas>=1.3.4"],
5756
"storage": [
5857
"google-cloud-storage >=2.14.0, <4.0.0",

packages/google-cloud-automl/testing/constraints-3.10.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# then this file should have google-cloud-foo==1.14.0
77
google-api-core==2.25.0
88
google-cloud-storage==2.14.0
9-
libcst==0.2.5
109
pandas==1.3.4
1110
# numpy is a dependency of pandas
1211
numpy==1.21.3

0 commit comments

Comments
 (0)