Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve file_key deprecation warning from rapids-dependency-file-generator #49

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

jameslamb
Copy link
Member

Contributes to rapidsai/dependency-file-generator#89

Resolves this warning 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.

And adds the rapids-dependency-file-generator pre-commit hook, to catch issues with dependencies.yaml at build time.

@jameslamb jameslamb requested a review from a team as a code owner June 11, 2024 19:35
@jameslamb
Copy link
Member Author

Pushed a commit switch from mamba create --force to mamba create --yes, to work around this:

usage: mamba [-h] command ...
mamba: error: unrecognized arguments: --force
[rapids-conda-retry] conda returned exit code: 2
[rapids-conda-retry] Exiting, no retryable mamba errors detected: 'ChecksumMismatchError:', 'ChunkedEncodingError:', 'CondaHTTPError:', 'CondaMultiError:', 'Connection broken:', 'ConnectionError:', 'EOFError:', 'JSONDecodeError:', 'Multi-download failed', 'Timeout was reached', segfault exit code 139
[rapids-conda-retry] 

(build link)

@jameslamb jameslamb merged commit 55441c4 into rapidsai:main Jun 17, 2024
6 checks passed
@jameslamb jameslamb deleted the dfg-warning branch June 17, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants