Skip to content

Commit

Permalink
fix: avoid overly strict dependency on pyarrow 3.x (#564)
Browse files Browse the repository at this point in the history
Exclude "bignumeric_type" from the "all" extra
  • Loading branch information
tswast committed Mar 22, 2021
1 parent 84e646e commit 97ee6ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Expand Up @@ -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": [
Expand All @@ -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
Expand Down

0 comments on commit 97ee6ec

Please sign in to comment.