Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jhlegarreta
Copy link
Contributor

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
@codecov
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).
Report is 9 commits behind head on master.

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
Contributor Author

@effigies effigies merged commit 50c053d into nipreps:master Jan 22, 2025
18 checks passed
@jhlegarreta jhlegarreta deleted the FixBuildTestPublishCondaChannelWarning branch January 22, 2025 14:01
effigies added a commit that referenced this pull request Mar 21, 2025
2.12.0 (March 21, 2025)

Feature release in the 2.12.x series.

This release migrates from the deprecated ``niworkflows.reporting``
module to the ``nireports`` package.

* FIX: AttributeError for _ApplyCoeffsFieldInputSpec (#481)
* ENH: Allow running SyN SDC without using prior (#480)
* ENH: Allow estimated and fallback TotalReadoutTime (#477)
* RF: Transition from niworkflows reporting interfaces (#473)
* DOC: Fix broken link [skip ci] (#482)
* MNT: Add `defaults` to `conda` channels in `build-test-publish` GHA (#474)
* MNT: Update `niworkflows` version to 1.11.0 (#478)
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