From 805440f6d36ded496bbe47d510e4bc5f41bc5104 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 11 Oct 2024 09:14:51 -0500 Subject: [PATCH] make conda installs in CI stricter (#1082) Contributes to https://github.com/rapidsai/build-planning/issues/106 Proposes specifying the RAPIDS version in `conda install` calls that install CI artifacts, to reduce the risk of CI jobs picking up artifacts from other releases. Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) URL: https://github.com/rapidsai/ucx-py/pull/1082 --- ci/test_python.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/test_python.sh b/ci/test_python.sh index c42fb613..c3e7acdf 100755 --- a/ci/test_python.sh +++ b/ci/test_python.sh @@ -9,6 +9,8 @@ cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ rapids-logger "Create test conda environment" . /opt/conda/etc/profile.d/conda.sh +UCX_PY_VERSION="$(head -1 ./VERSION)" + rapids-dependency-file-generator \ --output conda \ --file-key test_python \ @@ -50,7 +52,7 @@ PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python) rapids-mamba-retry install \ --channel "${PYTHON_CHANNEL}" \ - ucx-py + "ucx-py=${UCX_PY_VERSION}" rapids-logger "Run tests with conda package" run_tests