From 7d1c3b2886e223596a2b078b8593b3cfe01e0f63 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Sat, 11 May 2024 05:24:05 -1000 Subject: [PATCH] Replace deprecated cupy.sparse with cupyx.scipy.sparse (#4381) Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: https://github.com/rapidsai/cugraph/pull/4381 --- python/cugraph/cugraph/tests/generators/test_rmat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/cugraph/cugraph/tests/generators/test_rmat.py b/python/cugraph/cugraph/tests/generators/test_rmat.py index 9b8353a4ca5..1cee0461686 100644 --- a/python/cugraph/cugraph/tests/generators/test_rmat.py +++ b/python/cugraph/cugraph/tests/generators/test_rmat.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2023, NVIDIA CORPORATION. +# Copyright (c) 2021-2024, NVIDIA CORPORATION. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -17,7 +17,7 @@ import cudf import cugraph from cugraph.generators import rmat -from cupy.sparse import coo_matrix, triu, tril +from cupyx.scipy.sparse import coo_matrix, triu, tril import numpy as np import cupy as cp