From a4ad1c755cc08ea7a6f29a01dd8c8f9de5cfc0a4 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 27 Mar 2024 11:12:23 -0500 Subject: [PATCH] Use `conda env create --yes` instead of `--force` --- ci/build_docs.sh | 2 +- ci/check_style.sh | 2 +- ci/test_cpp_common.sh | 2 +- ci/test_java.sh | 2 +- ci/test_notebooks.sh | 2 +- ci/test_python_common.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 8e22f02b484..668d52e530b 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -17,7 +17,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 b3890607f64..029cd305f1d 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_DIR}/env.yaml" -rapids-mamba-retry env create --force -f "${ENV_YAML_DIR}/env.yaml" -n checks +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n checks conda activate checks RAPIDS_VERSION_MAJOR_MINOR="$(rapids-version-major-minor)" diff --git a/ci/test_cpp_common.sh b/ci/test_cpp_common.sh index 163d381c1d4..1ddc6d908af 100644 --- a/ci/test_cpp_common.sh +++ b/ci/test_cpp_common.sh @@ -14,7 +14,7 @@ rapids-dependency-file-generator \ --file_key test_cpp \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee "${ENV_YAML_DIR}/env.yaml" -rapids-mamba-retry env create --force -f "${ENV_YAML_DIR}/env.yaml" -n test +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n test # Temporarily allow unbound variables for conda activation. set +u diff --git a/ci/test_java.sh b/ci/test_java.sh index 0863795162d..3128644fe2b 100755 --- a/ci/test_java.sh +++ b/ci/test_java.sh @@ -14,7 +14,7 @@ rapids-dependency-file-generator \ --file_key test_java \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee "${ENV_YAML_DIR}/env.yaml" -rapids-mamba-retry env create --force -f "${ENV_YAML_DIR}/env.yaml" -n test +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n test export CMAKE_GENERATOR=Ninja diff --git a/ci/test_notebooks.sh b/ci/test_notebooks.sh index b746a18aed1..7d2373876b0 100755 --- a/ci/test_notebooks.sh +++ b/ci/test_notebooks.sh @@ -14,7 +14,7 @@ rapids-dependency-file-generator \ --file_key test_notebooks \ --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 test +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n test # Temporarily allow unbound variables for conda activation. set +u diff --git a/ci/test_python_common.sh b/ci/test_python_common.sh index 1c330d47ac6..dc8afcaacb3 100755 --- a/ci/test_python_common.sh +++ b/ci/test_python_common.sh @@ -16,7 +16,7 @@ rapids-dependency-file-generator \ --file_key test_python \ --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 test +rapids-mamba-retry env create --yes -f "${ENV_YAML_DIR}/env.yaml" -n test # Temporarily allow unbound variables for conda activation. set +u