Skip to content

Commit

Permalink
Add support for pyarrow-19 (#17794)
Browse files Browse the repository at this point in the history
This PR upgrades the upper bound pinnings for `pyarrow` in `cudf`.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #17794
  • Loading branch information
galipremsagar authored Jan 25, 2025
1 parent 3d5cafc commit 922ca75
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dependencies:
- polars>=1.11,<1.18
- pre-commit
- ptxcompiler
- pyarrow>=14.0.0,<19.0.0a0
- pyarrow>=14.0.0,<20.0.0a0
- pydata-sphinx-theme>=0.15.4
- pynvml>=12.0.0,<13.0.0a0
- pytest-benchmark
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies:
- pandoc
- polars>=1.11,<1.18
- pre-commit
- pyarrow>=14.0.0,<19.0.0a0
- pyarrow>=14.0.0,<20.0.0a0
- pydata-sphinx-theme>=0.15.4
- pynvjitlink>=0.0.0a0
- pynvml>=12.0.0,<13.0.0a0
Expand Down
6 changes: 3 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,16 +483,16 @@ dependencies:
common:
- output_types: [conda]
packages:
- pyarrow>=14.0.0,<19.0.0a0
- pyarrow>=14.0.0,<20.0.0a0
- output_types: [requirements, pyproject]
packages:
# pyarrow 17.0.0 wheels have a subtle issue around threading that
# can cause segmentation faults around imports on arm. It appears to
# be highly dependent on the exact build configuration, so we'll just
# avoid 17.0.0 for now unless we observe similar issues in future
# releases as well.
- pyarrow>=14.0.0,<19.0.0a0; platform_machine=='x86_64'
- pyarrow>=14.0.0,<19.0.0a0,!=17.0.0; platform_machine=='aarch64'
- pyarrow>=14.0.0,<20.0.0a0; platform_machine=='x86_64'
- pyarrow>=14.0.0,<20.0.0a0,!=17.0.0; platform_machine=='aarch64'
cuda_version:
specific:
- output_types: conda
Expand Down
4 changes: 4 additions & 0 deletions python/cudf/cudf/tests/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -4373,6 +4373,10 @@ def test_parquet_reader_mismatched_nullability_structs(tmpdir):
)


@pytest.mark.skipif(
pa.__version__ == "19.0.0",
reason="https://github.com/rapidsai/cudf/issues/17806",
)
@pytest.mark.parametrize(
"stats_fname,bloom_filter_fname",
[
Expand Down
4 changes: 2 additions & 2 deletions python/cudf/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ dependencies = [
"packaging",
"pandas>=2.0,<2.2.4dev0",
"ptxcompiler",
"pyarrow>=14.0.0,<19.0.0a0,!=17.0.0; platform_machine=='aarch64'",
"pyarrow>=14.0.0,<19.0.0a0; platform_machine=='x86_64'",
"pyarrow>=14.0.0,<20.0.0a0,!=17.0.0; platform_machine=='aarch64'",
"pyarrow>=14.0.0,<20.0.0a0; platform_machine=='x86_64'",
"pylibcudf==25.2.*,>=0.0.0a0",
"rich",
"rmm==25.2.*,>=0.0.0a0",
Expand Down
6 changes: 3 additions & 3 deletions python/pylibcudf/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
# Copyright (c) 2021-2025, NVIDIA CORPORATION.

[build-system]
build-backend = "rapids_build_backend.build"
Expand All @@ -22,8 +22,8 @@ dependencies = [
"libcudf==25.2.*,>=0.0.0a0",
"nvtx>=0.2.1",
"packaging",
"pyarrow>=14.0.0,<19.0.0a0,!=17.0.0; platform_machine=='aarch64'",
"pyarrow>=14.0.0,<19.0.0a0; platform_machine=='x86_64'",
"pyarrow>=14.0.0,<20.0.0a0,!=17.0.0; platform_machine=='aarch64'",
"pyarrow>=14.0.0,<20.0.0a0; platform_machine=='x86_64'",
"rmm==25.2.*,>=0.0.0a0",
"typing_extensions>=4.0.0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
Expand Down

0 comments on commit 922ca75

Please sign in to comment.