From 707b6fc4178b0d2a9915840f24e23cf2ef2fcb7f Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 12 Jun 2024 15:14:49 -0500 Subject: [PATCH 1/2] resolve rapids-dependency-file-generator warning --- .pre-commit-config.yaml | 2 +- ci/check_style.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ddded445..2ff37ad1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ repos: - repo: https://github.com/rapidsai/dependency-file-generator - rev: v1.7.1 + rev: v1.13.11 hooks: - id: rapids-dependency-file-generator args: ["--clean"] diff --git a/ci/check_style.sh b/ci/check_style.sh index 7809c6c66..2519d6a48 100755 --- a/ci/check_style.sh +++ b/ci/check_style.sh @@ -21,7 +21,7 @@ rapids-logger "Create checks conda environment" rapids-dependency-file-generator \ --output conda \ - --file_key checks \ + --file-key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml rapids-mamba-retry env create --force -f env.yaml -n checks From 3d1a6ce69b52415cfbcc7db451c2cef49a5cf2bf Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 14 Jun 2024 09:45:59 -0500 Subject: [PATCH 2/2] switch from mamba env create --force to --yes --- ci/check_style.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/check_style.sh b/ci/check_style.sh index 2519d6a48..4ed7a3bf6 100755 --- a/ci/check_style.sh +++ b/ci/check_style.sh @@ -24,7 +24,7 @@ rapids-dependency-file-generator \ --file-key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml -rapids-mamba-retry env create --force -f env.yaml -n checks +rapids-mamba-retry env create --yes -f env.yaml -n checks conda activate checks # Run pre-commit checks