From e43809ea9f9ba2015ebab3eb4d2b9ca7dfa72849 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Fri, 8 Sep 2023 17:47:41 +0100 Subject: [PATCH] Use `conda mambabuild` rather than `mamba mambabuild` (#14067) Since Conda 23.7.3, the plugin mechanism changed, and mambabuild broke. Since, with `boa` installed, `conda mambabuild` uses the `libmamba` solver, switch to that. The general handling of subcommands with `mamba` was partially fixed in mamba-org/mamba#2732, but `mamba build` does not currently work due to mamba-org/mamba#2821. - Closes #14068 Authors: - Lawrence Mitchell (https://github.com/wence-) Approvers: - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/cudf/pull/14067 --- ci/build_cpp.sh | 3 ++- ci/build_python.sh | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index 3bd18a88139..8b757fecf5a 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -11,7 +11,8 @@ rapids-print-env rapids-logger "Begin cpp build" -rapids-mamba-retry mambabuild \ +# With boa installed conda build forward to boa +rapids-conda-retry mambabuild \ conda/recipes/libcudf rapids-upload-conda-to-s3 cpp diff --git a/ci/build_python.sh b/ci/build_python.sh index ec34d63b282..61f160b25f5 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -15,24 +15,25 @@ CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) # TODO: Remove `--no-test` flag once importing on a CPU # node works correctly -rapids-mamba-retry mambabuild \ +# With boa installed conda build forwards to the boa builder +rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ conda/recipes/cudf -rapids-mamba-retry mambabuild \ +rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ conda/recipes/dask-cudf -rapids-mamba-retry mambabuild \ +rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ conda/recipes/cudf_kafka -rapids-mamba-retry mambabuild \ +rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \