From c27268ef67d7489fafd4f1d543b577ec4864c1d9 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 4 Nov 2024 09:38:19 -0600 Subject: [PATCH] try strict channel priority --- ci/test_notebooks.sh | 8 ++++---- ci/test_python.sh | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ci/test_notebooks.sh b/ci/test_notebooks.sh index 28938f2..b562baf 100755 --- a/ci/test_notebooks.sh +++ b/ci/test_notebooks.sh @@ -5,6 +5,10 @@ set -Eeuo pipefail . /opt/conda/etc/profile.d/conda.sh +# strict channel priority ensures that the packages in built in CI are foound, +# not cugraph-dgl nightlies produced from the 'cugraph' repo +conda config --set channel_priority strict + RAPIDS_VERSION="$(rapids-version)" rapids-logger "Generate notebook testing dependencies" @@ -26,10 +30,6 @@ rapids-logger "Downloading artifacts from previous jobs" CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python) -# strict channel priority ensures that the packages in built in CI are foound, -# not cugraph-dgl nightlies produced from the 'cugraph' repo -conda config --set channel_priority strict - rapids-mamba-retry install \ --channel "${CPP_CHANNEL}" \ --channel "${PYTHON_CHANNEL}" \ diff --git a/ci/test_python.sh b/ci/test_python.sh index 77a1d9e..05446b9 100755 --- a/ci/test_python.sh +++ b/ci/test_python.sh @@ -8,6 +8,10 @@ cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ . /opt/conda/etc/profile.d/conda.sh +# strict channel priority ensures that the packages in built in CI are foound, +# not cugraph-dgl nightlies produced from the 'cugraph' repo +conda config --set channel_priority strict + RAPIDS_VERSION="$(rapids-version)" rapids-logger "Downloading artifacts from previous jobs"