From 836f5ce6ae7ae1b905db35dfa53d1adc6ed31cc0 Mon Sep 17 00:00:00 2001 From: Chelsea Lin Date: Fri, 16 Aug 2024 21:32:51 +0000 Subject: [PATCH 1/2] deps: Update mininum support to Pandas 1.5.3 and Pyarrow 10.0.1 --- setup.py | 5 ++--- testing/constraints-3.10.txt | 6 +++--- testing/constraints-3.9.txt | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 0e0be5fd77..2ae61a44f3 100644 --- a/setup.py +++ b/setup.py @@ -50,9 +50,8 @@ "ibis-framework[bigquery] >=8.0.0,<9.0.0dev", "jellyfish >=0.8.9", "numpy >=1.24.0", - # TODO: Relax upper bound once we have fixed `system_prerelease` tests. - "pandas >=1.5.0", - "pyarrow >=8.0.0", + "pandas >=1.5.3", + "pyarrow >=10.0.1", "pydata-google-auth >=1.8.2", "requests >=2.27.1", "scikit-learn >=1.2.2", diff --git a/testing/constraints-3.10.txt b/testing/constraints-3.10.txt index 5782b03a2f..b11ab5a88d 100644 --- a/testing/constraints-3.10.txt +++ b/testing/constraints-3.10.txt @@ -3,10 +3,10 @@ google-auth==2.27.0 ipykernel==5.5.6 ipython==7.34.0 notebook==6.5.5 -pandas==2.0.3 -pandas-stubs==2.0.3.230814 +pandas==2.1.4 +pandas-stubs==2.1.4.231227 portpicker==1.5.2 -requests==2.31.0 +requests==2.32.3 tornado==6.3.3 absl-py==1.4.0 debugpy==1.6.6 diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index 0d3f16e95f..a446a4bfa7 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -15,8 +15,8 @@ google-cloud-storage==2.0.0 ibis-framework==8.0.0 jellyfish==0.8.9 numpy==1.24.0 -pandas==1.5.0 -pyarrow==8.0.0 +pandas==1.5.3 +pyarrow==10.0.1 pydata-google-auth==1.8.2 requests==2.27.1 scikit-learn==1.2.2 From 5a0dca32d5193f7b09e4ffbd1b05bc108a50abe9 Mon Sep 17 00:00:00 2001 From: Chelsea Lin Date: Fri, 16 Aug 2024 22:20:08 +0000 Subject: [PATCH 2/2] fixing tests --- tests/system/small/operations/test_strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/small/operations/test_strings.py b/tests/system/small/operations/test_strings.py index 3191adf920..15e8512317 100644 --- a/tests/system/small/operations/test_strings.py +++ b/tests/system/small/operations/test_strings.py @@ -634,7 +634,7 @@ def test_getitem_w_array(index): def test_getitem_w_struct_array(): - if packaging.version.Version(pd.__version__) <= packaging.version.Version("1.5.0"): + if packaging.version.Version(pd.__version__) <= packaging.version.Version("1.5.3"): pytest.skip("https://github.com/googleapis/python-bigquery/issues/1992") pa_struct = pa.struct(