From 485baae3d9e4bc23e4bc0c2bab932e75002e5e0a Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 27 Mar 2024 11:13:16 -0500 Subject: [PATCH] Use `conda env create --yes` instead of `--force` --- ci/build_docs.sh | 2 +- ci/check_style.sh | 2 +- ci/test_cpp.sh | 2 +- ci/test_python.sh | 2 +- ci/test_python_distributed.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 96ff6d2d..f92a2922 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -13,7 +13,7 @@ rapids-dependency-file-generator \ --file_key docs \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee "${ENV_YAML_DIR}/env.yaml" -rapids-mamba-retry env create --force -f "${ENV_YAML_DIR}/env.yaml" -n docs +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n docs conda activate docs rapids-print-env diff --git a/ci/check_style.sh b/ci/check_style.sh index fd3c8dd6..e9839026 100755 --- a/ci/check_style.sh +++ b/ci/check_style.sh @@ -13,7 +13,7 @@ rapids-dependency-file-generator \ --file_key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml -rapids-mamba-retry env create --force -f env.yaml -n checks +rapids-mamba-retry env create --yes -f env.yaml -n checks conda activate checks # Run pre-commit checks diff --git a/ci/test_cpp.sh b/ci/test_cpp.sh index 08f202e9..8f281dcb 100755 --- a/ci/test_cpp.sh +++ b/ci/test_cpp.sh @@ -15,7 +15,7 @@ rapids-dependency-file-generator \ --file_key test_cpp \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee env.yaml -rapids-mamba-retry env create --force -f env.yaml -n test +rapids-mamba-retry env create --yes -f env.yaml -n test conda activate test rapids-print-env diff --git a/ci/test_python.sh b/ci/test_python.sh index fcb483e4..ce7bfbc9 100755 --- a/ci/test_python.sh +++ b/ci/test_python.sh @@ -15,7 +15,7 @@ rapids-dependency-file-generator \ --file_key test_python \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml -rapids-mamba-retry env create --force -f env.yaml -n test +rapids-mamba-retry env create --yes -f env.yaml -n test conda activate test rapids-print-env diff --git a/ci/test_python_distributed.sh b/ci/test_python_distributed.sh index 48e7c7ba..a704d34a 100755 --- a/ci/test_python_distributed.sh +++ b/ci/test_python_distributed.sh @@ -15,7 +15,7 @@ rapids-dependency-file-generator \ --file_key test_python_distributed \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml -rapids-mamba-retry env create --force -f env.yaml -n test +rapids-mamba-retry env create --yes -f env.yaml -n test conda activate test rapids-print-env