From 0c9f54853a00189d4dcb2b9f5762b269692b5e00 Mon Sep 17 00:00:00 2001 From: Jake Awe Date: Sun, 3 Aug 2025 15:05:47 -0500 Subject: [PATCH] add correct rapids version to build process --- ci/build_python.sh | 3 +++ conda/recipes/rapids-xgboost/recipe.yaml | 2 +- conda/recipes/rapids/recipe.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/build_python.sh b/ci/build_python.sh index 0d08d3bf..9dc72106 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -7,6 +7,9 @@ source rapids-configure-sccache source rapids-date-string +RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) +export RAPIDS_PACKAGE_VERSION + source rapids-rattler-channel-string CONDA_CONFIG_FILE="conda/recipes/versions.yaml" diff --git a/conda/recipes/rapids-xgboost/recipe.yaml b/conda/recipes/rapids-xgboost/recipe.yaml index 22cfde26..714e91bf 100644 --- a/conda/recipes/rapids-xgboost/recipe.yaml +++ b/conda/recipes/rapids-xgboost/recipe.yaml @@ -2,7 +2,7 @@ schema_version: 1 context: - rapids_version: ${{ env.get("GIT_DESCRIBE_TAG", default="0.0.0.dev") | replace("v", "")}} + rapids_version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' diff --git a/conda/recipes/rapids/recipe.yaml b/conda/recipes/rapids/recipe.yaml index 15a0c0d9..3505acf3 100644 --- a/conda/recipes/rapids/recipe.yaml +++ b/conda/recipes/rapids/recipe.yaml @@ -2,7 +2,7 @@ schema_version: 1 context: - version: ${{ env.get("GIT_DESCRIBE_TAG", default="0.0.0.dev") | replace("v", "")}} + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} minor_version: ${{ (version | split("."))[:2] | join(".") }} cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}'