From a71a60c089874e506b9cefe829df6b2647d34f22 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Thu, 15 Oct 2026 17:21:38 -0700 Subject: [PATCH] Remove temporary rattler-build installer Signed-off-by: Vyas Ramasubramani --- ci/build_cpp.sh | 2 -- ci/build_python.sh | 2 -- ci/install_rattler_build.sh | 28 ---------------------------- 3 files changed, 32 deletions(-) delete mode 100644 ci/install_rattler_build.sh diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index 0d07ec55a..c4fa3cb50 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -5,8 +5,6 @@ set -euo pipefail -source "$(dirname "${BASH_SOURCE[0]}")/install_rattler_build.sh" - source rapids-configure-sccache source rapids-datetime-string diff --git a/ci/build_python.sh b/ci/build_python.sh index d34d1fec7..3904f9dc3 100644 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -4,8 +4,6 @@ set -euo pipefail -source "$(dirname "${BASH_SOURCE[0]}")/install_rattler_build.sh" - source rapids-configure-sccache source rapids-datetime-string diff --git a/ci/install_rattler_build.sh b/ci/install_rattler_build.sh deleted file mode 100644 index b42defaee..000000000 --- a/ci/install_rattler_build.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. -# SPDX-License-Identifier: BSD-3-Clause - -set -euo pipefail - -# Resolve an exact version so an incompatible solve cannot silently retain the -# older rattler-build installed in the CI image. -RATTLER_BUILD_VERSION=$( - conda search --json --override-channels -c conda-forge rattler-build | - python -c ' -import json -import sys -from packaging.version import Version - -versions = [Version(record["version"]) for record in json.load(sys.stdin)["rattler-build"]] -print(max(version for version in versions if not version.is_prerelease and not version.is_devrelease)) -' -) - -rapids-conda-retry install -y -c conda-forge "rattler-build=${RATTLER_BUILD_VERSION}" - -RATTLER_BUILD_INSTALLED_VERSION=$(rattler-build --version) -if [[ "${RATTLER_BUILD_INSTALLED_VERSION}" != "rattler-build ${RATTLER_BUILD_VERSION}" ]]; then - echo "Expected rattler-build ${RATTLER_BUILD_VERSION}, found ${RATTLER_BUILD_INSTALLED_VERSION}" >&2 - exit 1 -fi -echo "${RATTLER_BUILD_INSTALLED_VERSION}"