From 63536f4c2c92297a121bd96ecf6e5e82ca7ec194 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 28 Oct 2024 14:36:26 -0500 Subject: [PATCH] make conda installs in CI stricter (#106) Contributes to https://github.com/rapidsai/build-planning/issues/106 Proposes specifying the package 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) - Bradley Dice (https://github.com/bdice) Approvers: - Bradley Dice (https://github.com/bdice) URL: https://github.com/rapidsai/pynvjitlink/pull/106 --- ci/test_conda.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/test_conda.sh b/ci/test_conda.sh index 58cd571..ba370f3 100755 --- a/ci/test_conda.sh +++ b/ci/test_conda.sh @@ -7,6 +7,8 @@ set -euo pipefail conda config --set channel_priority strict +VERSION="$(head -1 pynvjitlink/VERSION)" + rapids-logger "Install testing dependencies" ENV_YAML_DIR="$(mktemp -d)" @@ -31,7 +33,7 @@ rapids-print-env rapids-mamba-retry install \ --channel "${PYTHON_CHANNEL}" \ - pynvjitlink + "pynvjitlink=${VERSION}" rapids-logger "Build Tests" pushd test_binary_generation