Skip to content

Commit

Permalink
make conda installs in CI stricter (#1082)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#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: #1082
  • Loading branch information
jameslamb authored Oct 11, 2024
1 parent 2be9108 commit 805440f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 805440f

Please sign in to comment.