From bf585e206c84799ed03c2e1c465ea91bf3b1e649 Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Fri, 26 Apr 2024 13:47:12 -0500 Subject: [PATCH] Prevent path conflict in builds (#583) Contributes to https://github.com/rapidsai/build-planning/issues/54 Ensures that conda builds will fail in the presence of multiple packages with identical paths Authors: - Jake Awe (https://github.com/AyodeAwe) - James Lamb (https://github.com/jameslamb) Approvers: - Ajay Thorve (https://github.com/AjayThorve) - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/cuxfilter/pull/583 --- ci/build_python.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build_python.sh b/ci/build_python.sh index 9b890304..0f1c0c1f 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -22,6 +22,7 @@ sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_na rapids-logger "Begin py build" +conda config --set path_conflict prevent # TODO: Remove `--no-test` flag once importing on a CPU # node works correctly RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \