Skip to content

Commit d43d878

Browse files
sebergmroeschke
andauthoredDec 12, 2024
Update to use Rapids 24.10 at runtime and build setup (rapidsai#8)
The main change here is the build setup @jameslamb. The `pylibcudf` changes were started by Matt before, the C change, is just a very simple change in public API (there is the new stream parameter). *~Draft, since the update to 25.01.00.dev should happen first~ Ready for review, but I suspect tests will fail due to a small (fixed!) legate issue for another day*. --------- Signed-off-by: Sebastian Berg <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
1 parent dd9bc3c commit d43d878

26 files changed

+108
-104
lines changed
 

‎README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,8 @@ if __name__ == "__main__":
121121

122122
int main(int argc, char** argv)
123123
{
124-
// First we initialize Legate and cuPyNumeric
125-
int32_t errcode = legate::start(argc, argv);
126-
if (errcode != 0) {
127-
throw std::runtime_error("legate::start() errorcode: " + std::to_string(errcode));
128-
}
124+
// First we initialize Legate use either `legate` or `LEGATE_CONFIG` to customize launch
125+
legate::start();
129126

130127
// Then let's create a new logical column
131128
legate::dataframe::LogicalColumn col_a = legate::dataframe::sequence(20, -10);

‎build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ if (( NUMARGS == 0 )) || hasArg legate_dataframe; then
155155
cd ${REPODIR}/python/
156156
SKBUILD_CONFIGURE_OPTIONS="-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} -DCMAKE_LIBRARY_PATH=${LIBLEGATE_DATAFRAME_BUILD_DIR} ${EXTRA_CMAKE_ARGS}" \
157157
SKBUILD_BUILD_OPTIONS="-j${PARALLEL_LEVEL:-1}" \
158-
python -m pip install --no-build-isolation --no-deps ${VERBOSE_FLAG} .
158+
python -m pip install --no-build-isolation --no-deps --config-settings rapidsai.disable-cuda=true ${VERBOSE_FLAG} .
159159
fi
160160

161161

‎conda/environments/all_cuda-124_arch-x86_64.yaml

+9-8
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,28 @@ dependencies:
1717
- cuda-profiler-api
1818
- cuda-sanitizer-api
1919
- cuda-version=12.4
20-
- cudf==24.08.*,>=0.0.0a0
20+
- cudf==24.10.*,>=0.0.0a0
2121
- cupy>=12.0.0
2222
- cupynumeric==25.01.*,>=0.0.0.dev0
2323
- cxx-compiler
24-
- cython>=3.0.0
25-
- dask-cuda==24.08.*
26-
- dask-cudf==24.08.*
24+
- cython>=3.0.3
25+
- dask-cuda==24.10.*
26+
- dask-cudf==24.10.*
2727
- gcc_linux-64=11.*
2828
- legate==25.01.*,>=0.0.0.dev0
29-
- libcudf==24.08.*,>=0.0.0a0
30-
- librmm==24.08.*,>=0.0.0a0
29+
- libcudf==24.10.*,>=0.0.0a0
30+
- librmm==24.10.*,>=0.0.0a0
3131
- make
3232
- myst-parser>=4.0
3333
- ninja
3434
- numpy >=1.23,<3.0.0a0
3535
- openssh
3636
- pydata-sphinx-theme>=0.16.0
37+
- pylibcudf==24.10.*,>=0.0.0a0
3738
- pytest>=7.0
3839
- python>=3.10,<3.13
39-
- scikit-build>=0.18.0
40-
- setuptools>=70.0
40+
- rapids-build-backend>=0.3.2,<0.4.0.dev0
41+
- scikit-build-core>=0.10.0
4142
- sphinx>=8.0
4243
- sysroot_linux-64==2.17
4344
- valgrind

‎conda/recipes/legate-dataframe/conda_build_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ legate_version:
2323
- "=25.01.*,>=0.0.0.dev0"
2424

2525
rapids_version:
26-
- =24.08.*
26+
- =24.10.*

‎conda/recipes/legate-dataframe/meta.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,15 @@ requirements:
6161
# is compatible with an existing cupynumeric version.
6262
# (may also stabilize not using debug/sanitizer builds)
6363
- cupynumeric
64-
- cython>=3.0.0
6564
- python
6665
- pip
67-
- scikit-build >=0.18.0
68-
- setuptools >=70.0
66+
- cython >=3.0.3
67+
- rapids-build-backend >=0.3.0,<0.4.0.dev0
68+
- scikit-build-core >=0.10.0
6969
- cudf {{ rapids_version }} # pulls in pyarrow?
7070
- libcudf {{ rapids_version }}
7171
- librmm {{ rapids_version }}
72+
- pylibcudf {{ rapids_version }}
7273
run:
7374
- python
7475
# cuda-version is used to constrain __cuda

‎cpp/cmake/fetch_rapids.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# the License.
1313
# =============================================================================
1414
if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/LEGATE_DATAFRAME_RAPIDS.cmake)
15-
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-24.08/RAPIDS.cmake
15+
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-24.10/RAPIDS.cmake
1616
${CMAKE_CURRENT_BINARY_DIR}/LEGATE_DATAFRAME_RAPIDS.cmake
1717
)
1818
endif()

‎cpp/cmake/thirdparty/get_cudf.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ function(find_and_configure_cudf)
5151
endfunction()
5252

5353
find_and_configure_cudf(
54-
VERSION 24.08 GIT_REPO https://github.com/rapidsai/cudf.git GIT_TAG branch-24.08
54+
VERSION 24.10 GIT_REPO https://github.com/rapidsai/cudf.git GIT_TAG branch-24.10
5555
)

‎cpp/examples/hello.cpp

+3-6
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@
2424
#include <legate_dataframe/parquet.hpp>
2525
#include <legate_dataframe/unaryop.hpp>
2626

27-
int main(int argc, char** argv)
27+
int main(void)
2828
{
29-
// First we initialize Legate
30-
int32_t errcode = legate::start(argc, argv);
31-
if (errcode != 0) {
32-
throw std::runtime_error("legate::start() errorcode: " + std::to_string(errcode));
33-
}
29+
// First we initialize Legate use either `legate` or `LEGATE_CONFIG` to customize launch
30+
legate::start();
3431

3532
// Then let's create a new logical column
3633
legate::dataframe::LogicalColumn col_a = legate::dataframe::sequence(20, -10);

‎cpp/examples/third_party/third_party_hello.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@
2222

2323
int main(int argc, char** argv)
2424
{
25-
// First we initialize Legate
26-
int32_t errcode = legate::start(argc, argv);
27-
if (errcode != 0) {
28-
throw std::runtime_error("legate::start() errorcode: " + std::to_string(errcode));
29-
}
25+
// First we initialize Legate use either `legate` or `LEGATE_CONFIG` to customize launch
26+
legate::start();
3027

3128
// Then let's create a new logical column
3229
legate::dataframe::LogicalColumn col_a = legate::dataframe::sequence(10, 0);

‎cpp/tests/main.cpp

+2-13
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,13 @@
1919

2020
class Environment : public ::testing::Environment {
2121
public:
22-
Environment(int argc, char** argv) : argc_(argc), argv_(argv) {}
23-
24-
void SetUp() override
25-
{
26-
const char* argv[] = {"./test", "--gpus", "2"}; // TODO: make configurable
27-
int argc = 3;
28-
EXPECT_EQ(legate::start(argc, (char**)argv), 0);
29-
}
22+
void SetUp() override { legate::start(); }
3023
void TearDown() override { EXPECT_EQ(legate::finish(), 0); }
31-
32-
private:
33-
int argc_;
34-
char** argv_;
3524
};
3625

3726
int main(int argc, char** argv)
3827
{
3928
::testing::InitGoogleTest(&argc, argv);
40-
::testing::AddGlobalTestEnvironment(new Environment(argc, argv));
29+
::testing::AddGlobalTestEnvironment(new Environment());
4130
return RUN_ALL_TESTS();
4231
}

‎cpp/tests/test_join.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ template <std::pair<std::unique_ptr<rmm::device_uvector<cudf::size_type>>,
6969
cudf::table_view const& left_keys,
7070
cudf::table_view const& right_keys,
7171
cudf::null_equality compare_nulls,
72+
rmm::cuda_stream_view stream,
7273
rmm::device_async_resource_ref mr),
7374
cudf::out_of_bounds_policy oob_policy = cudf::out_of_bounds_policy::DONT_CHECK>
7475
std::unique_ptr<cudf::table> join_and_gather(
@@ -77,21 +78,22 @@ std::unique_ptr<cudf::table> join_and_gather(
7778
std::vector<cudf::size_type> const& left_on,
7879
std::vector<cudf::size_type> const& right_on,
7980
cudf::null_equality compare_nulls,
81+
rmm::cuda_stream_view stream = cudf::get_default_stream(),
8082
rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource())
8183
{
8284
auto left_selected = left_input.select(left_on);
8385
auto right_selected = right_input.select(right_on);
8486
auto const [left_join_indices, right_join_indices] =
85-
join_impl(left_selected, right_selected, compare_nulls, mr);
87+
join_impl(left_selected, right_selected, compare_nulls, stream, mr);
8688

8789
auto left_indices_span = cudf::device_span<cudf::size_type const>{*left_join_indices};
8890
auto right_indices_span = cudf::device_span<cudf::size_type const>{*right_join_indices};
8991

9092
auto left_indices_col = cudf::column_view{left_indices_span};
9193
auto right_indices_col = cudf::column_view{right_indices_span};
9294

93-
auto left_result = cudf::gather(left_input, left_indices_col, oob_policy);
94-
auto right_result = cudf::gather(right_input, right_indices_col, oob_policy);
95+
auto left_result = cudf::gather(left_input, left_indices_col, oob_policy, stream, mr);
96+
auto right_result = cudf::gather(right_input, right_indices_col, oob_policy, stream, mr);
9597

9698
return std::make_unique<cudf::table>(
9799
legate::dataframe::concat(left_result->release(), right_result->release()));

‎dependencies.yaml

+32-11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ files:
77
arch: [x86_64]
88
includes:
99
- build
10+
- rapids_build_skbuild
1011
- cuda
1112
- cuda_version
1213
- depends_on_cudf
@@ -34,6 +35,14 @@ files:
3435
pyproject_dir: python
3536
extras:
3637
table: build-system
38+
includes:
39+
- rapids_build_skbuild
40+
py_rapids_build:
41+
output: pyproject
42+
pyproject_dir: python/
43+
extras:
44+
table: tool.rapids-build-backend
45+
key: requires
3746
includes:
3847
- build
3948
- depends_on_legate
@@ -68,10 +77,8 @@ dependencies:
6877
- output_types: [conda, requirements, pyproject]
6978
packages:
7079
- cmake>=3.26.4,!=3.30.0
71-
- cython>=3.0.0
80+
- cython>=3.0.3
7281
- ninja
73-
- scikit-build>=0.18.0
74-
- setuptools>=70.0
7582
- output_types: [conda]
7683
packages:
7784
- c-compiler
@@ -92,6 +99,18 @@ dependencies:
9299
packages:
93100
- cuda-nvcc
94101

102+
rapids_build_skbuild:
103+
common:
104+
- output_types: [conda, requirements, pyproject]
105+
packages:
106+
- rapids-build-backend>=0.3.2,<0.4.0.dev0
107+
- output_types: conda
108+
packages:
109+
- scikit-build-core>=0.10.0
110+
- output_types: [requirements, pyproject]
111+
packages:
112+
- scikit-build-core[pyproject]>=0.10.0
113+
95114
cuda_version:
96115
specific:
97116
- output_types: conda
@@ -156,8 +175,8 @@ dependencies:
156175
packages:
157176
- cupynumeric==25.01.*,>=0.0.0.dev0
158177
- pytest>=7.0
159-
- dask-cuda==24.08.*
160-
- dask-cudf==24.08.*
178+
- dask-cuda==24.10.*
179+
- dask-cudf==24.10.*
161180
- output_types: conda
162181
packages:
163182
- cuda-sanitizer-api
@@ -168,15 +187,17 @@ dependencies:
168187
common:
169188
- output_types: conda
170189
packages:
171-
- &cudf_unsuffixed cudf==24.08.*,>=0.0.0a0
190+
- &cudf_unsuffixed cudf==24.10.*,>=0.0.0a0
191+
- &pylibcudf_unsuffixed pylibcudf==24.10.*,>=0.0.0a0
172192
specific:
173193
- output_types: [requirements, pyproject]
174194
matrices:
175195
- matrix:
176196
cuda: "12.*"
177197
cuda_suffixed: "true"
178198
packages:
179-
- cudf-cu12==24.08.*,>=0.0.0a0
199+
- cudf-cu12==24.10.*,>=0.0.0a0
200+
- pylibcudf-cu12==24.10.*,>=0.0.0a0
180201
- {matrix: null, packages: [*cudf_unsuffixed]}
181202

182203
depends_on_cupy:
@@ -202,30 +223,30 @@ dependencies:
202223
common:
203224
- output_types: conda
204225
packages:
205-
- &libcudf_unsuffixed libcudf==24.08.*,>=0.0.0a0
226+
- &libcudf_unsuffixed libcudf==24.10.*,>=0.0.0a0
206227
specific:
207228
- output_types: [requirements, pyproject]
208229
matrices:
209230
- matrix:
210231
cuda: "12.*"
211232
cuda_suffixed: "true"
212233
packages:
213-
- libcudf-cu12==24.08.*,>=0.0.0a0
234+
- libcudf-cu12==24.10.*,>=0.0.0a0
214235
- {matrix: null, packages: [*libcudf_unsuffixed]}
215236

216237
depends_on_librmm:
217238
common:
218239
- output_types: conda
219240
packages:
220-
- &librmm_unsuffixed librmm==24.08.*,>=0.0.0a0
241+
- &librmm_unsuffixed librmm==24.10.*,>=0.0.0a0
221242
specific:
222243
- output_types: [requirements, pyproject]
223244
matrices:
224245
- matrix:
225246
cuda: "12.*"
226247
cuda_suffixed: "true"
227248
packages:
228-
- librmm-cu12==24.08.*,>=0.0.0a0
249+
- librmm-cu12==24.10.*,>=0.0.0a0
229250
- matrix:
230251
packages:
231252
- *librmm_unsuffixed

‎python/legate_dataframe/lib/binaryop.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from libc.stdint cimport int32_t
88

9-
from cudf._lib.pylibcudf.types cimport data_type
9+
from pylibcudf.types cimport data_type
1010

1111
from legate_dataframe.lib.core.column cimport LogicalColumn, cpp_LogicalColumn
1212
from legate_dataframe.lib.core.data_type cimport as_data_type

‎python/legate_dataframe/lib/core/column.pxd

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ from libcpp cimport bool
88
from libcpp.memory cimport unique_ptr
99
from libcpp.string cimport string
1010

11-
from cudf._lib.pylibcudf.libcudf.column.column cimport column, column_view
12-
from cudf._lib.pylibcudf.types cimport data_type
11+
from pylibcudf.libcudf.column.column cimport column, column_view
12+
from pylibcudf.types cimport data_type
1313

1414
from legate_dataframe.lib.core.legate_task cimport cpp_AutoTask
1515
from legate_dataframe.lib.core.logical_array cimport cpp_LogicalArray

‎python/legate_dataframe/lib/core/column.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ from libcpp.string cimport string
1111
from libcpp.utility cimport move
1212

1313
from cudf._lib.column cimport Column as cudfColumn
14-
from cudf._lib.pylibcudf.libcudf.column.column cimport column
14+
from pylibcudf.libcudf.column.column cimport column
1515

1616
from legate_dataframe.lib.core.legate_task cimport get_auto_task_handle
1717
from legate_dataframe.lib.core.logical_array cimport cpp_LogicalArray

‎python/legate_dataframe/lib/core/data_type.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# distutils: language = c++
55
# cython: language_level=3
66

7-
from cudf._lib.pylibcudf.types cimport data_type as cpp_cudf_type
7+
from pylibcudf.types cimport data_type as cpp_cudf_type
88

99

1010
cdef cpp_cudf_type as_data_type(data_type_like)

‎python/legate_dataframe/lib/core/data_type.pyx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
# cython: language_level=3
66

77

8-
from cudf._lib.pylibcudf.types cimport DataType
9-
from cudf._lib.pylibcudf.types cimport data_type as cpp_cudf_type
108
from cudf._lib.types cimport underlying_type_t_type_id
9+
from pylibcudf.types cimport DataType
10+
from pylibcudf.types cimport data_type as cpp_cudf_type
1111

1212
import cudf
13-
from cudf._lib import pylibcudf
13+
import pylibcudf
1414
from cudf._lib.types import PYLIBCUDF_TO_SUPPORTED_NUMPY_TYPES, dtype_to_pylibcudf_type
1515
from numpy.typing import DTypeLike
1616

‎python/legate_dataframe/lib/core/scalar.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from libcpp cimport bool
88
from libcpp.memory cimport unique_ptr
99

10-
from cudf._lib.pylibcudf.libcudf.scalar.scalar cimport scalar as cudf_cpp_scalar
10+
from pylibcudf.libcudf.scalar.scalar cimport scalar as cudf_cpp_scalar
1111

1212

1313
cdef extern from "legate.h" nogil:

‎python/legate_dataframe/lib/groupby_aggregation.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
from libcpp.string cimport string
99
from libcpp.vector cimport vector
1010

11-
from cudf._lib.pylibcudf.aggregation cimport aggregation as cudf_agg
11+
from pylibcudf.aggregation cimport aggregation as cudf_agg
1212

1313
from legate_dataframe.lib.core.table cimport LogicalTable, cpp_LogicalTable
1414

1515
from typing import Iterable, Tuple
1616

17-
from cudf._lib.pylibcudf.libcudf.aggregation import Kind as AggregationKind
17+
from pylibcudf.libcudf.aggregation import Kind as AggregationKind
1818

1919
from legate_dataframe.utils import _track_provenance
2020

‎python/legate_dataframe/lib/timestamps.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from libc.stdint cimport int32_t
99
from libcpp.string cimport string
1010

11-
from cudf._lib.pylibcudf.types cimport data_type
11+
from pylibcudf.types cimport data_type
1212

1313
from legate_dataframe.lib.core.column cimport LogicalColumn, cpp_LogicalColumn
1414
from legate_dataframe.lib.core.data_type cimport as_data_type

‎python/pyproject.toml

+29-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description = "Basic cudf operations on Legate"
2020
license = {text = "Apache 2.0"}
2121
requires-python = ">=3.10"
2222
dependencies = [
23-
"cudf==24.08.*,>=0.0.0a0",
23+
"cudf==24.10.*,>=0.0.0a0",
2424
"legate==25.01.*,>=0.0.0.dev0",
2525
"numpy >=1.23,<3.0.0a0",
2626
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
@@ -33,25 +33,44 @@ License = "https://github.com/rapidsai/legate-dataframe/blob/main/LICENSE"
3333
[project.optional-dependencies]
3434
test = [
3535
"cupynumeric==25.01.*,>=0.0.0.dev0",
36-
"dask-cuda==24.08.*",
37-
"dask-cudf==24.08.*",
36+
"dask-cuda==24.10.*",
37+
"dask-cudf==24.10.*",
3838
"pytest>=7.0",
3939
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
4040

4141
[build-system]
42+
build-backend = "rapids_build_backend.build"
43+
requires = [
44+
"rapids-build-backend>=0.3.2,<0.4.0.dev0",
45+
"scikit-build-core[pyproject]>=0.10.0",
46+
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
47+
48+
[tool.rapids-build-backend]
49+
build-backend = "scikit_build_core.build"
50+
dependencies-file = "../dependencies.yaml"
51+
matrix-entry = "cuda_suffixed=true"
4252
requires = [
4353
"cmake>=3.26.4,!=3.30.0",
44-
"cython>=3.0.0",
54+
"cython>=3.0.3",
4555
"legate==25.01.*,>=0.0.0.dev0",
46-
"libcudf==24.08.*,>=0.0.0a0",
56+
"libcudf==24.10.*,>=0.0.0a0",
4757
"ninja",
48-
"scikit-build>=0.18.0",
49-
"setuptools>=70.0",
5058
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
51-
build-backend = "setuptools.build_meta"
5259

53-
[tool.setuptools.dynamic]
54-
version = {file = "legate_dataframe/VERSION"}
60+
[tool.scikit-build.metadata.version]
61+
provider = "scikit_build_core.metadata.regex"
62+
input = "../VERSION"
63+
regex = "(?P<value>.*)"
64+
65+
[tool.scikit-build]
66+
build-dir = "build/{wheel_tag}"
67+
cmake.build-type = "Release"
68+
cmake.version = "CMakeLists.txt"
69+
minimum-version = "build-system.requires"
70+
ninja.make-fallback = true
71+
sdist.exclude = ["*tests*"]
72+
sdist.reproducible = true
73+
wheel.packages = ["legate_dataframe"]
5574

5675
[tool.black]
5776
line-length = 88

‎python/setup.py

-19
This file was deleted.

‎python/tests/test_binaryop.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ def test_scalar_input(cudf_column, op, scalar):
8686

8787
res = binary_operation(col, scalar, op, cudf_column.dtype)
8888
expect = cudf_binaryop(cudf_column, cudf_scalar, op_str, cudf_column.dtype)
89-
assert_frame_equal(res, cudf.Series(expect))
89+
assert_frame_equal(res, expect)
9090

9191
res = binary_operation(scalar, col, op, cudf_column.dtype)
9292
expect = cudf_binaryop(cudf_scalar, cudf_column, op_str, cudf_column.dtype)
93-
assert_frame_equal(res, cudf.Series(expect))
93+
assert_frame_equal(res, expect)
9494

9595
with pytest.raises(ValueError, match="both inputs cannot be scalars"):
9696
binary_operation(scalar, scalar, op, cudf_column.dtype)

‎python/tests/test_tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
import cudf
1616
import cupy
1717
import legate.core.types as lg_type
18-
from cudf._lib.pylibcudf.unary import UnaryOperator
1918
from legate.core import get_legate_runtime
19+
from pylibcudf.unary import UnaryOperator
2020

2121
from legate_dataframe import LogicalColumn
2222
from legate_dataframe.lib.unaryop import unary_operation

‎python/tests/test_timestamps.py

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
import cudf
16-
import cudf._lib.binaryop
1716
import pytest
1817

1918
from legate_dataframe import LogicalColumn

‎python/tests/test_unaryop.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import cudf
1616
import cupy
1717
import pytest
18-
from cudf._lib.pylibcudf.unary import UnaryOperator
18+
from pylibcudf.unary import UnaryOperator
1919

2020
from legate_dataframe import LogicalColumn
2121
from legate_dataframe.lib.unaryop import unary_operation

0 commit comments

Comments
 (0)
Please sign in to comment.