From 57e67558a5f4a22af72e10cff7fd6196c223dae9 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 15 Nov 2024 09:03:16 -0600 Subject: [PATCH 1/2] remove versioning workaround for nightlies --- ci/build_python.sh | 5 +---- ci/test_python.sh | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ci/build_python.sh b/ci/build_python.sh index 93b28c9a8..a6d74109f 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -9,10 +9,7 @@ source rapids-date-string rapids-print-env -# TODO: revert this once we start publishing nightly packages from the -# 'nx-cugraph' repo and stop publishing them from the 'cugraph' repo -# rapids-generate-version > ./VERSION -echo "24.12.00a1000" > ./VERSION +rapids-generate-version > ./VERSION rapids-logger "Begin py build" diff --git a/ci/test_python.sh b/ci/test_python.sh index 3fc93c56c..3de63c4cc 100755 --- a/ci/test_python.sh +++ b/ci/test_python.sh @@ -32,11 +32,9 @@ mkdir -p "${RAPIDS_TESTS_DIR}" "${RAPIDS_COVERAGE_DIR}" rapids-print-env - # TODO: remove the '>=24.12.00a1000' once we start publishing nightly packages - # from the 'nx-cugraph' repo and stop publishing them from the 'cugraph' repo rapids-mamba-retry install \ --channel "${PYTHON_CHANNEL}" \ - "nx-cugraph=${RAPIDS_VERSION}.*,>=24.12.00a1000" + "nx-cugraph=${RAPIDS_VERSION}.*" rapids-logger "Check GPU usage" nvidia-smi From 011b8a235ae6b1fef47b37f340265ab22eb0e939 Mon Sep 17 00:00:00 2001 From: Erik Welch Date: Fri, 15 Nov 2024 14:39:24 -0600 Subject: [PATCH 2/2] workaround for failing tests (hopefully) --- nx_cugraph/algorithms/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nx_cugraph/algorithms/core.py b/nx_cugraph/algorithms/core.py index f152d0ad9..c56a679ea 100644 --- a/nx_cugraph/algorithms/core.py +++ b/nx_cugraph/algorithms/core.py @@ -46,6 +46,7 @@ def core_number(G): degree_type="bidirectional", do_expensive_check=False, ) + core_numbers = core_numbers // 2 # Added this in 24.12 (behavior changed) return G._nodearrays_to_dict(node_ids, core_numbers)