Skip to content

Commit 827ffcc

Browse files
committed
Use conda env create --yes instead of --force
1 parent 724ce68 commit 827ffcc

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

ci/build_docs.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 docs \
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 docs
14+
rapids-mamba-retry env create --yes -f env.yaml -n docs
1515

1616
# seeing failures on activating the environment here on unbound locals
1717
# apply workaround from https://github.com/conda/conda/issues/8186#issuecomment-532874667

ci/build_rust.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 rust \
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 rust
14+
rapids-mamba-retry env create --yes -f env.yaml -n rust
1515

1616
# seeing failures on activating the environment here on unbound locals
1717
# apply workaround from https://github.com/conda/conda/issues/8186#issuecomment-532874667

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_cpp.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_cpp \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | 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)