From d0d6ae0d06d1c8883a6e3f912d2383a37cc1fbaf Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 9 Oct 2024 18:35:34 -0500 Subject: [PATCH] make conda installs in CI stricter --- ci/build_docs.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 4bc3e63f2..016be4b6c 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -7,6 +7,8 @@ export RAPIDS_VERSION_NUMBER="$(rapids-version-major-minor)" rapids-logger "Create test conda environment" . /opt/conda/etc/profile.d/conda.sh +RAPIDS_VERSION="$(rapids-version)" + rapids-dependency-file-generator \ --output conda \ --file-key docs \ @@ -24,7 +26,8 @@ PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python) rapids-mamba-retry install \ --channel "${CPP_CHANNEL}" \ --channel "${PYTHON_CHANNEL}" \ - cucim libcucim + "cucim=${RAPIDS_VERSION}" \ + "libcucim=${RAPIDS_VERSION}" export RAPIDS_DOCS_DIR="$(mktemp -d)" @@ -35,4 +38,4 @@ mkdir -p "${RAPIDS_DOCS_DIR}/cucim/"html mv _html/* "${RAPIDS_DOCS_DIR}/cucim/html" popd -rapids-upload-docs +RAPIDS_VERSION_NUMBER="$(rapids-version-major-minor)" rapids-upload-docs