Skip to content

Commit

Permalink
Upgrade to arrow 13
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Sep 22, 2023
1 parent dcac6cc commit 4b2a8e2
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask-core>=2023.7.1
- dask-cuda==23.10.*
# - dask-cuda==23.10.*
- dask>=2023.7.1
- distributed>=2023.7.1
- dlpack>=0.5,<0.6.0a0
Expand All @@ -39,7 +39,7 @@ dependencies:
- hypothesis
- identify>=2.5.20
- ipython
- libarrow==12.0.1.*
- libarrow==13.0.0.*
- libcufile-dev=1.4.0.31
- libcufile=1.4.0.31
- libcurand-dev=10.3.0.86
Expand Down Expand Up @@ -68,9 +68,9 @@ dependencies:
- pre-commit
- protobuf>=4.21,<5
- ptxcompiler
- pyarrow==12.0.1.*
- pyarrow==13.0.0.*
- pydata-sphinx-theme
- pyorc
# - pyorc
- pytest
- pytest-benchmark
- pytest-cases
Expand All @@ -79,7 +79,7 @@ dependencies:
- python-confluent-kafka>=1.9.0,<1.10.0a0
- python-snappy>=0.6.0
- python>=3.9,<3.11
- pytorch<1.12.0
- pytorch<1.12.0 # potential
- rmm==23.10.*
- s3fs>=2022.3.0
- scikit-build>=0.13.1
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-120_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
- hypothesis
- identify>=2.5.20
- ipython
- libarrow==12.0.1.*
- libarrow==13.0.0.*
- libcufile-dev
- libcurand-dev
- libkvikio==23.10.*
Expand All @@ -65,7 +65,7 @@ dependencies:
- pip
- pre-commit
- protobuf>=4.21,<5
- pyarrow==12.0.1.*
- pyarrow==13.0.0.*
- pydata-sphinx-theme
- pyorc
- pytest
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ requirements:
- scikit-build >=0.13.1
- setuptools
- dlpack >=0.5,<0.6.0a0
- pyarrow =12
- pyarrow =13
- libcudf ={{ version }}
- rmm ={{ minor_version }}
{% if cuda_major == "11" %}
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/libcudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ gtest_version:
- ">=1.13.0"

libarrow_version:
- "=12"
- "=13"

dlpack_version:
- ">=0.5,<0.6.0a0"
Expand Down
2 changes: 1 addition & 1 deletion cpp/cmake/thirdparty/get_arrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ if(NOT DEFINED CUDF_VERSION_Arrow)
set(CUDF_VERSION_Arrow
# This version must be kept in sync with the libarrow version pinned for builds in
# dependencies.yaml.
12.0.1
13.0.0
CACHE STRING "The version of Arrow to find (or build)"
)
endif()
Expand Down
6 changes: 3 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ dependencies:
- &gmock gmock>=1.13.0
# Hard pin the patch version used during the build. This must be kept
# in sync with the version pinned in get_arrow.cmake.
- libarrow==12.0.1.*
- libarrow==13.0.0.*
- librdkafka>=1.9.0,<1.10.0a0
- spdlog>=1.11.0,<1.12
specific:
Expand Down Expand Up @@ -258,7 +258,7 @@ dependencies:
- cython>=3.0.0
# Hard pin the patch version used during the build. This must be kept
# in sync with the version pinned in get_arrow.cmake.
- pyarrow==12.0.1.*
- pyarrow==13.0.0.*
- numpy>=1.21
build_python:
common:
Expand All @@ -283,7 +283,7 @@ dependencies:
- output_types: [conda, requirements, pyproject]
packages:
# Allow runtime version to float up to minor version
- pyarrow==12.*
- pyarrow==13.*
cudatoolkit:
specific:
- output_types: conda
Expand Down
6 changes: 3 additions & 3 deletions python/cudf/cudf/tests/test_decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ def test_from_arrow_max_precision_decimal32():
)
def test_typecast_from_float_to_decimal(data, from_dtype, to_dtype):
got = data.astype(from_dtype)

import pdb;pdb.set_trace()
pa_arr = got.to_arrow().cast(
pa.decimal128(to_dtype.precision, to_dtype.scale)
)
expected = cudf.Series(Decimal64Column.from_arrow(pa_arr))

got = got.astype(to_dtype)
new_got = got.astype(to_dtype)

assert_eq(got, expected)
assert_eq(new_got, expected)


@pytest.mark.parametrize(
Expand Down
4 changes: 2 additions & 2 deletions python/cudf/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requires = [
"ninja",
"numpy>=1.21",
"protoc-wheel",
"pyarrow==12.0.1.*",
"pyarrow==13.0.0.*",
"rmm==23.10.*",
"scikit-build>=0.13.1",
"setuptools",
Expand Down Expand Up @@ -38,7 +38,7 @@ dependencies = [
"pandas>=1.3,<1.6.0dev0",
"protobuf>=4.21,<5",
"ptxcompiler",
"pyarrow==12.*",
"pyarrow==13.*",
"rmm==23.10.*",
"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
2 changes: 1 addition & 1 deletion python/cudf_kafka/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
requires = [
"cython>=3.0.0",
"numpy>=1.21",
"pyarrow==12.0.1.*",
"pyarrow==13.0.0.*",
"setuptools",
"wheel",
] # 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 4b2a8e2

Please sign in to comment.