Skip to content

Commit d692694

Browse files
authored
Removes unnecessary dependencies from cugraph-service (#5087)
Removes unnecessary dependencies from cugraph-service. This addresses the comment [here](#5085 (comment)). Authors: - Rick Ratzel (https://github.com/rlratzel) Approvers: - Alex Barghi (https://github.com/alexbarghi-nv) - Vyas Ramasubramani (https://github.com/vyasr) URL: #5087
1 parent f6bc2de commit d692694

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

dependencies.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ files:
227227
key: test
228228
includes:
229229
- depends_on_cudf
230-
- depends_on_cugraph_pyg
231230
- depends_on_cupy
232231
- test_python_common
233232
- test_python_cugraph_service_client
@@ -480,7 +479,6 @@ dependencies:
480479
- output_types: [conda, pyproject, requirements]
481480
packages:
482481
- *dask
483-
- *numba
484482
- *numpy
485483
- *thrift
486484
test_cpp:

python/cugraph-service/client/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Documentation = "https://docs.rapids.ai/api/cugraph/stable/"
3939
[project.optional-dependencies]
4040
test = [
4141
"cudf==25.6.*,>=0.0.0a0",
42-
"cugraph-pyg==25.6.*,>=0.0.0a0",
4342
"cupy-cuda11x>=12.0.0",
4443
"numpy>=1.23,<3.0a0",
4544
"pandas",

python/cugraph-service/server/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ dependencies = [
2626
"cupy-cuda11x>=12.0.0",
2727
"dask-cuda==25.6.*,>=0.0.0a0",
2828
"dask-cudf==25.6.*,>=0.0.0a0",
29-
"numba>=0.59.1,<0.62.0a0",
3029
"numpy>=1.23,<3.0a0",
3130
"rapids-dask-dependency==25.6.*,>=0.0.0a0",
3231
"rmm==25.6.*,>=0.0.0a0",

python/cugraph-service/tests/test_remote_graph.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
1+
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -656,10 +656,12 @@ def test_backend_torch(
656656
def test_remote_graph_neighbor_sample(
657657
client_with_property_csvs_loaded, pG_with_property_csvs_loaded
658658
):
659-
# FIXME: consider moving the call dispatcher into cugraph-service-client or
660-
# cugraph proper. Import it here for now to allow tests to run in an
661-
# environment without cugraph-pyg.
662-
from cugraph_pyg.loader.dispatch import call_cugraph_algorithm
659+
# FIXME: This test was using call_cugraph_algorithm from
660+
# cugraph_pyg.loader.dispatch, which no longer exists. This test should be
661+
# updated to call the proper replacement for call_cugraph_algorithm, or
662+
# removed.
663+
def call_cugraph_algorithm(*args, **kwargs):
664+
raise NotImplementedError
663665

664666
rpG = RemoteGraph(client_with_property_csvs_loaded, 0)
665667
pG = pG_with_property_csvs_loaded
@@ -701,10 +703,12 @@ def test_remote_graph_neighbor_sample(
701703
def test_remote_graph_neighbor_sample_implicit_subgraph(
702704
client_with_property_csvs_loaded, pG_with_property_csvs_loaded
703705
):
704-
# FIXME: consider moving the call dispatcher into cugraph-service-client or
705-
# cugraph proper. Import it here for now to allow tests to run in an
706-
# environment without cugraph-pyg.
707-
from cugraph_pyg.loader.dispatch import call_cugraph_algorithm
706+
# FIXME: This test was using call_cugraph_algorithm from
707+
# cugraph_pyg.loader.dispatch, which no longer exists. This test should be
708+
# updated to call the proper replacement for call_cugraph_algorithm, or
709+
# removed.
710+
def call_cugraph_algorithm(*args, **kwargs):
711+
raise NotImplementedError
708712

709713
rpG = RemoteGraph(client_with_property_csvs_loaded, 0)
710714
pG = pG_with_property_csvs_loaded

0 commit comments

Comments
 (0)