Skip to content

Commit 7963f1e

Browse files
authored
resolve file_key deprecation warning from rapids-dependency-file-generator (#198)
Contributes to rapidsai/dependency-file-generator#89 Resolves this warning I see in build and test CI jobs, coming from `rapids-dependency-file-generator`. > /opt/conda/lib/python3.9/site-packages/rapids_dependency_file_generator/cli.py:98: UserWarning: The use of --file_key is deprecated. Use -f or --file-key instead.
1 parent 3033ceb commit 7963f1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
args: ['--config=.flake8']
1616
files: jupyterlab_nvdashboard/.*$
1717
- repo: https://github.com/rapidsai/dependency-file-generator
18-
rev: v1.7.1
18+
rev: v1.13.11
1919
hooks:
2020
- id: rapids-dependency-file-generator
2121
args: ['--clean']

ci/check_style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rapids-logger "Create checks conda environment"
88

99
rapids-dependency-file-generator \
1010
--output conda \
11-
--file_key checks \
11+
--file-key checks \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1313

1414
rapids-mamba-retry env create --yes -f env.yaml -n checks

ci/test_python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -euo pipefail
88
rapids-logger "Generate Python testing dependencies"
99
rapids-dependency-file-generator \
1010
--output conda \
11-
--file_key test_python \
11+
--file-key test_python \
1212
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml
1313

1414
rapids-mamba-retry env create --yes -f env.yaml -n test

0 commit comments

Comments
 (0)