Skip to content

Commit

Permalink
Add pandas extra for google-cloud-bigquery to pick up missing `py…
Browse files Browse the repository at this point in the history
…arrow` (#1153) (#1154)

* Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow`

(cherry picked from commit 978a1ae)
  • Loading branch information
mikealfare authored Mar 28, 2024
1 parent 7b727c0 commit fd27892
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changes/unreleased/Fixes-20240327-210249.yaml
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def _dbt_core_version(plugin_version: str) -> str:
include_package_data=True,
install_requires=[
f"dbt-core~={_dbt_core_version(_dbt_bigquery_version())}",
"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",
# ----
Expand Down

0 comments on commit fd27892

Please sign in to comment.