Skip to content
Permalink
Browse files
fix: avoid overly strict dependency on pyarrow 3.x (#564)
Exclude "bignumeric_type" from the "all" extra
  • Loading branch information
tswast committed Mar 22, 2021
1 parent 84e646e commit 97ee6ec6cd4bc9f833cd506dc6d244d103654cfd
Showing with 6 additions and 1 deletion.
  1. +6 −1 setup.py
@@ -48,7 +48,7 @@
"grpcio >= 1.32.0, < 2.0dev",
"pyarrow >= 1.0.0, < 4.0dev",
],
"pandas": ["pandas>=0.23.0", "pyarrow >= 1.0.0, < 4.0dev",],
"pandas": ["pandas>=0.23.0", "pyarrow >= 1.0.0, < 4.0dev"],
"bignumeric_type": ["pyarrow >= 3.0.0, < 4.0dev"],
"tqdm": ["tqdm >= 4.7.4, <5.0.0dev"],
"opentelemetry": [
@@ -61,6 +61,11 @@
all_extras = []

for extra in extras:
# Exclude this extra from all to avoid overly strict dependencies on core
# libraries such as pyarrow.
# https://github.com/googleapis/python-bigquery/issues/563
if extra in {"bignumeric_type"}:
continue
all_extras.extend(extras[extra])

extras["all"] = all_extras

0 comments on commit 97ee6ec

Please sign in to comment.