Skip to content

Commit 1afd1cc

Browse files
authored
chore: assure bqstorage extra installs grpcio (#87)
Due to a bug in pip, this does not happen automatically, thus an explicit grpcio pin is needed.
1 parent 952164b commit 1afd1cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
extras = {
4141
"bqstorage": [
4242
"google-cloud-bigquery-storage >= 0.6.0, <2.0.0dev",
43+
# Due to an issue in pip's dependency resolver, the `grpc` extra is not
44+
# installed, even though `google-cloud-bigquery-storage` specifies it
45+
# as `google-api-core[grpc]`. We thus need to explicitly specify it here.
46+
# See: https://github.com/googleapis/python-bigquery/issues/83
47+
"grpcio >= 1.8.2, < 2.0dev",
4348
"pyarrow>=0.16.0, < 2.0dev",
4449
],
4550
"pandas": ["pandas>=0.17.1"],

0 commit comments

Comments
 (0)