Skip to content

Commit 28337ca

Browse files
authored
Require PyArrow >=16 (#9185)
1 parent 7649d2f commit 28337ca

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ jobs:
7575
- os: ubuntu-latest
7676
environment: mindeps
7777
label: pandas
78-
extra_packages: [numpy=1.24, pandas=2.0, pyarrow=14.0.1]
78+
extra_packages: [numpy=1.24, pandas=2.0, pyarrow=16.0]
7979
partition: "ci1"
8080
- os: ubuntu-latest
8181
environment: mindeps
8282
label: pandas
83-
extra_packages: [numpy=1.24, pandas=2.0, pyarrow=14.0.1]
83+
extra_packages: [numpy=1.24, pandas=2.0, pyarrow=16.0]
8484
partition: "not ci1"
8585

8686
- os: ubuntu-latest

continuous_integration/environment-3.11.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies:
2828
- pre-commit
2929
- prometheus_client
3030
- psutil
31-
- pyarrow=14
31+
- pyarrow=16.0
3232
- pytest
3333
- pytest-cov
3434
- pytest-faulthandler

continuous_integration/recipes/dask/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ requirements:
2727
- {{ pin_compatible('distributed', exact=True) }}
2828
- cytoolz >=0.11.2
2929
- lz4 >=4.3.2
30-
- numpy >=1.21
30+
- numpy >=1.24
3131
- pandas >=2
3232
- bokeh >=3.1.0
3333
- jinja2 >=2.10.3
34-
- pyarrow >=7.0
34+
- pyarrow >=16
3535

3636
run_constrained:
3737
- openssl !=1.1.1e

distributed/protocol/arrow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55
from distributed.protocol.serialize import dask_deserialize, dask_serialize
66

7-
if pyarrow.__version__ < "0.10":
7+
if int(pyarrow.__version__.split(".")[0]) < 16:
88
raise ImportError(
9-
"Need pyarrow >= 0.10 . "
10-
"See https://arrow.apache.org/docs/python/install.html"
9+
"Need pyarrow >=16.0. See https://arrow.apache.org/docs/python/install.html"
1110
)
1211

1312

distributed/shuffle/tests/test_shuffle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,6 @@ async def test_heartbeat(c, s, a, b):
10841084

10851085

10861086
@pytest.mark.skipif("not pa", reason="Requires PyArrow")
1087-
@pytest.mark.filterwarnings("ignore:DatetimeTZBlock") # pandas >=2.2 vs. pyarrow <15
10881087
@pytest.mark.parametrize("drop_column", [True, False])
10891088
def test_processing_chain(tmp_path, drop_column):
10901089
"""

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ filterwarnings = [
178178
'''ignore:datetime\.datetime\.utc(fromtimestamp|now)\(\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning:tornado''',
179179
# https://github.com/dateutil/dateutil/issues/1284
180180
'''ignore:datetime\.datetime\.utc(fromtimestamp|now)\(\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning:dateutil''',
181-
# https://github.com/dask/dask/pull/10622
182-
'''ignore:Minimal version of pyarrow will soon be increased to 14.0.1''',
183181
'''ignore:the matrix subclass is not the recommended way''',
184182
'''ignore:The current Dask DataFrame implementation is deprecated.*:DeprecationWarning''',
185183
]

0 commit comments

Comments
 (0)