From dbf1c9bbfcb3504d5b9feaa1ee0f6745402d9c92 Mon Sep 17 00:00:00 2001 From: David del Real Sifuentes Date: Tue, 7 Jul 2026 23:04:55 +0000 Subject: [PATCH] chore(bigquery): bump pyarrow to 24.0.0 to fix dependabot alert - Bumped `pyarrow` to 24.0.0 in `bigquery/bqml`, `bigquery/pandas-gbq-migration`, and `bigquery_storage/to_dataframe` to address a Dependabot vulnerability. - Simplified dependency entries by removing Python version constraints for `pyarrow`. --- bigquery/bqml/requirements.txt | 3 +-- bigquery/pandas-gbq-migration/requirements.txt | 3 +-- bigquery_storage/to_dataframe/requirements.txt | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/bigquery/bqml/requirements.txt b/bigquery/bqml/requirements.txt index cfed3976b1d..c511b62074d 100644 --- a/bigquery/bqml/requirements.txt +++ b/bigquery/bqml/requirements.txt @@ -2,7 +2,6 @@ google-cloud-bigquery[pandas,bqstorage]==3.27.0 google-cloud-bigquery-storage==2.27.0 pandas==2.0.3; python_version == '3.8' pandas==2.2.3; python_version > '3.8' -pyarrow==17.0.0; python_version <= '3.8' -pyarrow==20.0.0; python_version > '3.9' +pyarrow==24.0.0 flaky==3.8.1 mock==5.1.0 diff --git a/bigquery/pandas-gbq-migration/requirements.txt b/bigquery/pandas-gbq-migration/requirements.txt index 2e8f1a6e66d..cec31109491 100644 --- a/bigquery/pandas-gbq-migration/requirements.txt +++ b/bigquery/pandas-gbq-migration/requirements.txt @@ -5,5 +5,4 @@ pandas==2.2.3; python_version > '3.8' pandas-gbq==0.24.0 grpcio==1.70.0; python_version == '3.8' grpcio==1.74.0; python_version > '3.8' -pyarrow==17.0.0; python_version <= '3.8' -pyarrow==20.0.0; python_version > '3.9' +pyarrow==24.0.0 diff --git a/bigquery_storage/to_dataframe/requirements.txt b/bigquery_storage/to_dataframe/requirements.txt index e3b75fdaf5f..cd0f51e756a 100644 --- a/bigquery_storage/to_dataframe/requirements.txt +++ b/bigquery_storage/to_dataframe/requirements.txt @@ -2,9 +2,7 @@ google-auth==2.40.3 google-cloud-bigquery-storage==2.32.0 google-cloud-bigquery===3.30.0; python_version <= '3.8' google-cloud-bigquery==3.35.1; python_version >= '3.9' -pyarrow===12.0.1; python_version == '3.7' -pyarrow===17.0.0; python_version == '3.8' -pyarrow==21.0.0; python_version >= '3.9' +pyarrow===24.0.0 ipython===7.31.1; python_version == '3.7' ipython===8.10.0; python_version == '3.8' ipython===8.18.1; python_version == '3.9'