Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
packages: read
pull-requests: read
test-conda-nightly-env:
needs: checks
needs: [build]
secrets: inherit # zizmor: ignore[secrets-inherit]
# We use a build workflow so that we get CPU jobs and high matrix coverage
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@release/26.10
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
description: "sha: full git commit SHA to check out"
required: true
type: string
build_type:
description: "build_type: one of [branch, nightly, pull-request]"
type: string
default: nightly

permissions: {}

Expand All @@ -26,7 +30,10 @@ jobs:
# We use a build workflow so that we get CPU jobs and high matrix coverage
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@release/26.10
with:
build_type: pull-request
build_type: ${{ inputs.build_type }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: "ci/test_conda_nightly_env.sh"
# just using the workflow to get the matrix, this isn't actually building anything we want to upload
upload-artifacts: false
Expand Down
10 changes: 3 additions & 7 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@ CONDA_CONFIG_FILE="conda/recipes/versions.yaml"

rapids-print-env

rapids-logger "Build rapids-xgboost"

rattler-build build --recipe conda/recipes/rapids-xgboost \
--variant-config "${CONDA_CONFIG_FILE}" \
"${RATTLER_ARGS[@]}" \
"${RATTLER_CHANNELS[@]}"

rapids-logger "Build rapids"

rattler-build build --recipe conda/recipes/rapids \
--variant-config "${CONDA_CONFIG_FILE}" \
"${RATTLER_ARGS[@]}" \
"${RATTLER_CHANNELS[@]}"

RAPIDS_PACKAGE_NAME=$(rapids-artifact-name conda_python rapids integration --pure --arch any --cuda "$RAPIDS_CUDA_VERSION")
export RAPIDS_PACKAGE_NAME
4 changes: 0 additions & 4 deletions ci/check_conda_nightly_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
EXCLUDED_PACKAGES = {
# These packages are not built every night:
"rapids",
"rapids-xgboost",
# These packages do not have date strings:
"rapids-dask-dependency",
"rapids-logger", # Also not built every night
"libxgboost",
"py-xgboost",
"xgboost",
}

# ANSI color codes used to highlight lines
Expand Down
3 changes: 3 additions & 0 deletions ci/test_conda_nightly_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ CUDA_VERSION=${RAPIDS_CUDA_VERSION%.*}

JSON_FILENAME="rapids_cuda${CUDA_VERSION}_py${RAPIDS_PY_VERSION}.json"

RAPIDS_CHANNEL=$(rapids-download-from-github "$(rapids-artifact-name conda_python rapids integration --pure --arch any --cuda "$RAPIDS_CUDA_VERSION")")

rapids-logger "Configuring conda strict channel priority"
conda config --set channel_priority strict

Expand All @@ -16,6 +18,7 @@ rapids-logger "Creating conda environment with rapids=${RAPIDS_VERSION}, python=
rapids-conda-retry \
create \
-n rapids-${RAPIDS_VERSION} \
-c "${RAPIDS_CHANNEL}" \
-c rapidsai-nightly \
-c conda-forge \
rapids=${RAPIDS_VERSION} \
Expand Down
1 change: 0 additions & 1 deletion conda/recipes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ libraries to a RAPIDS release:
Package Name | Purpose
--- | ---
`rapids` | Provide a one package install for all RAPIDS libraries, version matched to a RAPIDS release
`rapids-xgboost` | Defines the version of `xgboost` used for a RAPIDS release

## Managing Versions

Expand Down
1 change: 0 additions & 1 deletion conda/recipes/rapids-xgboost/LICENSE

This file was deleted.

41 changes: 0 additions & 41 deletions conda/recipes/rapids-xgboost/recipe.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion conda/recipes/rapids/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ requirements:
- cucim ${{ minor_version }}.*
- custreamz ${{ minor_version }}.*
- dask-cuda ${{ minor_version }}.*
- rapids-xgboost ${{ minor_version }}.*
- rmm ${{ minor_version }}.*
- pylibcugraph ${{ minor_version }}.*
- libcugraph_etl ${{ minor_version }}.*
- conda-forge::ucx ${{ ucx_version }}
- conda-forge::xgboost ${{ xgboost_version }}
ignore_run_exports:
by_name:
- python_abi
Expand Down
7 changes: 3 additions & 4 deletions conda/recipes/versions.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Copyright (c) 2021-2025, NVIDIA CORPORATION.
# Copyright (c) 2021-2026, NVIDIA CORPORATION.

# Versions for `rapids-xgboost` meta-pkg
xgboost_version:
- '=3.3.0'

cupy_version:
- '>=13.6.0'
Expand All @@ -14,3 +11,5 @@ nvtx_version:
- '>=0.2.1,<0.3'
ucx_version:
- '>=1.15.0,<1.21.0'
xgboost_version:
- '>=3.4.0,<3.5.0'
Loading