Skip to content

Commit 22f12fc

Browse files
DEPS: bump pyarrow minimum version from 10.0 to 12.0 (#61723)
1 parent 3550556 commit 22f12fc

35 files changed

+112
-201
lines changed

ci/deps/actions-310-minimum_versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies:
4141
- qtpy=2.3.0
4242
- openpyxl=3.1.2
4343
- psycopg2=2.9.6
44-
- pyarrow=10.0.1
44+
- pyarrow=12.0.1
4545
- pyiceberg=0.7.1
4646
- pymysql=1.1.0
4747
- pyqt=5.15.9

ci/deps/actions-310.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies:
3939
- qtpy>=2.3.0
4040
- openpyxl>=3.1.2
4141
- psycopg2>=2.9.6
42-
- pyarrow>=10.0.1
42+
- pyarrow>=12.0.1
4343
- pyiceberg>=0.7.1
4444
- pymysql>=1.1.0
4545
- pyqt>=5.15.9

ci/deps/actions-311-downstream_compat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies:
4040
- qtpy>=2.3.0
4141
- openpyxl>=3.1.2
4242
- psycopg2>=2.9.6
43-
- pyarrow>=10.0.1
43+
- pyarrow>=12.0.1
4444
- pyiceberg>=0.7.1
4545
- pymysql>=1.1.0
4646
- pyqt>=5.15.9

ci/deps/actions-311.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies:
4040
- pyqt>=5.15.9
4141
- openpyxl>=3.1.2
4242
- psycopg2>=2.9.6
43-
- pyarrow>=10.0.1
43+
- pyarrow>=12.0.1
4444
- pyiceberg>=0.7.1
4545
- pymysql>=1.1.0
4646
- pyreadstat>=1.2.6

ci/deps/actions-312.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies:
4040
- pyqt>=5.15.9
4141
- openpyxl>=3.1.2
4242
- psycopg2>=2.9.6
43-
- pyarrow>=10.0.1
43+
- pyarrow>=12.0.1
4444
- pyiceberg>=0.7.1
4545
- pymysql>=1.1.0
4646
- pyreadstat>=1.2.6

ci/deps/actions-313.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies:
4141
- pyqt>=5.15.9
4242
- openpyxl>=3.1.2
4343
- psycopg2>=2.9.6
44-
- pyarrow>=10.0.1
44+
- pyarrow>=12.0.1
4545
- pymysql>=1.1.0
4646
- pyreadstat>=1.2.6
4747
- pytables>=3.8.0

doc/source/getting_started/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Dependency Minimum Version pip ex
307307
`PyTables <https://github.com/PyTables/PyTables>`__ 3.8.0 hdf5 HDF5-based reading / writing
308308
`zlib <https://github.com/madler/zlib>`__ hdf5 Compression for HDF5
309309
`fastparquet <https://github.com/dask/fastparquet>`__ 2024.2.0 - Parquet reading / writing (pyarrow is default)
310-
`pyarrow <https://github.com/apache/arrow>`__ 10.0.1 parquet, feather Parquet, ORC, and feather reading / writing
310+
`pyarrow <https://github.com/apache/arrow>`__ 12.0.1 parquet, feather Parquet, ORC, and feather reading / writing
311311
`PyIceberg <https://py.iceberg.apache.org/>`__ 0.7.1 iceberg Apache Iceberg reading / writing
312312
`pyreadstat <https://github.com/Roche/pyreadstat>`__ 1.2.6 spss SPSS files (.sav) reading
313313
`odfpy <https://github.com/eea/odfpy>`__ 1.4.1 excel Open document format (.odf, .ods, .odt) reading / writing

doc/source/whatsnew/v3.0.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ Optional libraries below the lowest tested version may still work, but are not c
321321
+------------------------+---------------------+
322322
| Package | New Minimum Version |
323323
+========================+=====================+
324+
| pyarrow | 12.0.1 |
325+
+------------------------+---------------------+
324326
| pytz | 2023.4 |
325327
+------------------------+---------------------+
326328
| fastparquet | 2024.2.0 |

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies:
4343
- openpyxl>=3.1.2
4444
- odfpy>=1.4.1
4545
- psycopg2>=2.9.6
46-
- pyarrow>=10.0.1
46+
- pyarrow>=12.0.1
4747
- pyiceberg>=0.7.1
4848
- pymysql>=1.1.0
4949
- pyreadstat>=1.2.6

pandas/_testing/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
set_locale,
1919
)
2020

21-
from pandas.compat import pa_version_under10p1
21+
from pandas.compat import HAS_PYARROW
2222

2323
import pandas as pd
2424
from pandas import (
@@ -183,7 +183,7 @@
183183
]
184184
]
185185

186-
if not pa_version_under10p1:
186+
if HAS_PYARROW:
187187
import pyarrow as pa
188188

189189
UNSIGNED_INT_PYARROW_DTYPES = [pa.uint8(), pa.uint16(), pa.uint32(), pa.uint64()]

0 commit comments

Comments
 (0)