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

Defaults channel in requirements-test.yml is deprecated #2028

Open
lauramurgatroyd opened this issue Jan 8, 2025 · 0 comments
Open

Defaults channel in requirements-test.yml is deprecated #2028

lauramurgatroyd opened this issue Jan 8, 2025 · 0 comments

Comments

@lauramurgatroyd
Copy link
Member

Description

When running the conda github actions we get the following error:

/usr/share/miniconda/lib/python3.12/site-packages/conda/base/context.py:198: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3.

To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:

conda config --add channels defaults

For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html

This is because in our requirements file we list 'defaults' as a channel:

Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant