Skip to content

Commit fee99d2

Browse files
authored
Use conda env create --yes instead of --force (#584)
conda dropped support for the `--force` flag to `conda env create`. This changes that flag name to `--yes`. See https://github.com/conda/conda/blob/main/CHANGELOG.md#2430-2024-03-12 and rapidsai/miniforge-cuda#63 for more info. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Ray Douglass (https://github.com/raydouglass) URL: #584
1 parent 9423977 commit fee99d2

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

ci/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rapids-dependency-file-generator \
1010
--file_key docs \
1111
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1212

13-
rapids-mamba-retry env create --force -f env.yaml -n docs
13+
rapids-mamba-retry env create --yes -f env.yaml -n docs
1414
conda activate docs
1515

1616
rapids-print-env

ci/check_style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rapids-dependency-file-generator \
1111
--file_key checks \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1313

14-
rapids-mamba-retry env create --force -f env.yaml -n checks
14+
rapids-mamba-retry env create --yes -f env.yaml -n checks
1515
conda activate checks
1616

1717
# Run pre-commit checks

ci/test_notebooks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rapids-dependency-file-generator \
1111
--file_key test_notebooks \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1313

14-
rapids-mamba-retry env create --force -f env.yaml -n test
14+
rapids-mamba-retry env create --yes -f env.yaml -n test
1515

1616
# Temporarily allow unbound variables for conda activation.
1717
set +u

ci/test_python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rapids-dependency-file-generator \
1111
--file_key test_python \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1313

14-
rapids-mamba-retry env create --force -f env.yaml -n test
14+
rapids-mamba-retry env create --yes -f env.yaml -n test
1515

1616
# Temporarily allow unbound variables for conda activation.
1717
set +u

0 commit comments

Comments
 (0)