Skip to content

Commit ecb1b33

Browse files
committed
ENH: Add defaults to conda channels in build-test-publish GHA
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
1 parent a50506a commit ecb1b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
auto-update-conda: true
130130
auto-activate-base: true
131131
python-version: ${{ matrix.python-version }}
132-
channels: https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/,conda-forge
132+
channels: https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/,conda-forge,defaults
133133
- uses: actions/cache@v4
134134
id: conda
135135
env:

0 commit comments

Comments
 (0)