Skip to content

Commit 39e20f3

Browse files
bdicejameslamb
authored andcommitted
Use strict priority in CI conda tests (rapidsai#211)
This PR sets conda to use `strict` priority in CI tests. Mixing channel priority is frequently a cause of unexpected errors. Our CI jobs should always use strict priority in order to enforce that conda packages come from local channels with the artifacts built in CI, not mixing with older nightly artifacts from the `rapidsai-nightly` channel or other sources. xref: rapidsai/build-planning#14 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Gil Forsyth (https://github.com/gforsyth) URL: rapidsai#211
1 parent 739345c commit 39e20f3

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

ci/test_python.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../
99

1010
. /opt/conda/etc/profile.d/conda.sh
1111

12+
rapids-logger "Configuring conda strict channel priority"
13+
conda config --set channel_priority strict
14+
1215
rapids-logger "Downloading artifacts from previous jobs"
1316
PYTHON_CHANNEL=$(rapids-download-from-github "$(rapids-package-name "conda_python" nx-cugraph --pure)")
1417

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is generated by `rapids-dependency-file-generator`.
22
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
33
channels:
4-
- rapidsai
54
- rapidsai-nightly
5+
- rapidsai
66
- conda-forge
77
dependencies:
88
- cuda-version=12.9

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is generated by `rapids-dependency-file-generator`.
22
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
33
channels:
4-
- rapidsai
54
- rapidsai-nightly
5+
- rapidsai
66
- conda-forge
77
dependencies:
88
- cuda-version=12.9

conda/environments/all_cuda-130_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is generated by `rapids-dependency-file-generator`.
22
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
33
channels:
4-
- rapidsai
54
- rapidsai-nightly
5+
- rapidsai
66
- conda-forge
77
dependencies:
88
- cuda-version=13.0

conda/environments/all_cuda-130_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is generated by `rapids-dependency-file-generator`.
22
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
33
channels:
4-
- rapidsai
54
- rapidsai-nightly
5+
- rapidsai
66
- conda-forge
77
dependencies:
88
- cuda-version=13.0

dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ files:
6767
- test_python_common
6868
- test_python_nx_cugraph
6969
channels:
70-
- rapidsai
7170
- rapidsai-nightly
71+
- rapidsai
7272
- conda-forge
7373
dependencies:
7474
checks:

0 commit comments

Comments
 (0)