From 978a1aea7d18af79d6d78d0ab5e8d058c4b7c93c Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Wed, 27 Mar 2024 22:07:11 -0400 Subject: [PATCH] Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow` (#1153) * Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow` --- .changes/unreleased/Fixes-20240327-210249.yaml | 7 +++++++ setup.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixes-20240327-210249.yaml diff --git a/.changes/unreleased/Fixes-20240327-210249.yaml b/.changes/unreleased/Fixes-20240327-210249.yaml new file mode 100644 index 000000000..04a5c5e38 --- /dev/null +++ b/.changes/unreleased/Fixes-20240327-210249.yaml @@ -0,0 +1,7 @@ +kind: Fixes +body: Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow` + dependency +time: 2024-03-27T21:02:49.619691-04:00 +custom: + Author: mikealfare + Issue: "1152" diff --git a/setup.py b/setup.py index 3e714c74d..24d873689 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,8 @@ def _dbt_bigquery_version() -> str: install_requires=[ "dbt-common>=0.1.0a1,<2.0", "dbt-adapters>=0.1.0a1,<2.0", - "google-cloud-bigquery~=3.0", + # 3.20 introduced pyarrow>=3.0 under the `pandas` extra + "google-cloud-bigquery[pandas]>=3.0,<4.0", "google-cloud-storage~=2.4", "google-cloud-dataproc~=5.0", # ----