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

ENH: Add defaults to conda channels in build-test-publish GHA #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhlegarreta
Copy link

Add defaults to the list of conda channels when setting up miniconda in the build, test, publish GHA workflow file.

Fixes:

/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

raised for example in:
https://github.com/nipreps/sdcflows/actions/runs/12413644206

Add `defaults` to the list of `conda` channels when setting up
`miniconda` in the build, test, publish GHA workflow file.

Fixes:
```
/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
```

raised for example in:
https://github.com/nipreps/sdcflows/actions/runs/12413644206
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.86%. Comparing base (a50506a) to head (ecb1b33).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #474   +/-   ##
=======================================
  Coverage   83.86%   83.86%           
=======================================
  Files          30       30           
  Lines        2807     2807           
  Branches      360      360           
=======================================
  Hits         2354     2354           
  Misses        383      383           
  Partials       70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jhlegarreta
Copy link
Author

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.

1 participant