Skip to content

Commit 7ed3962

Browse files
authored
deps: Update minimum support to Pandas 1.5.3 and Pyarrow 10.0.1 (#903)
* deps: Update mininum support to Pandas 1.5.3 and Pyarrow 10.0.1 * fixing tests
1 parent 0413964 commit 7ed3962

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@
5050
"ibis-framework[bigquery] >=8.0.0,<9.0.0dev",
5151
"jellyfish >=0.8.9",
5252
"numpy >=1.24.0",
53-
# TODO: Relax upper bound once we have fixed `system_prerelease` tests.
54-
"pandas >=1.5.0",
55-
"pyarrow >=8.0.0",
53+
"pandas >=1.5.3",
54+
"pyarrow >=10.0.1",
5655
"pydata-google-auth >=1.8.2",
5756
"requests >=2.27.1",
5857
"scikit-learn >=1.2.2",

testing/constraints-3.10.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ google-auth==2.27.0
33
ipykernel==5.5.6
44
ipython==7.34.0
55
notebook==6.5.5
6-
pandas==2.0.3
7-
pandas-stubs==2.0.3.230814
6+
pandas==2.1.4
7+
pandas-stubs==2.1.4.231227
88
portpicker==1.5.2
9-
requests==2.31.0
9+
requests==2.32.3
1010
tornado==6.3.3
1111
absl-py==1.4.0
1212
debugpy==1.6.6

testing/constraints-3.9.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ google-cloud-storage==2.0.0
1515
ibis-framework==8.0.0
1616
jellyfish==0.8.9
1717
numpy==1.24.0
18-
pandas==1.5.0
19-
pyarrow==8.0.0
18+
pandas==1.5.3
19+
pyarrow==10.0.1
2020
pydata-google-auth==1.8.2
2121
requests==2.27.1
2222
scikit-learn==1.2.2

tests/system/small/operations/test_strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def test_getitem_w_array(index):
634634

635635

636636
def test_getitem_w_struct_array():
637-
if packaging.version.Version(pd.__version__) <= packaging.version.Version("1.5.0"):
637+
if packaging.version.Version(pd.__version__) <= packaging.version.Version("1.5.3"):
638638
pytest.skip("https://github.com/googleapis/python-bigquery/issues/1992")
639639

640640
pa_struct = pa.struct(

0 commit comments

Comments
 (0)