Skip to content

Commit 814f414

Browse files
committed
Silence warning from Conda in Github Actions
The warning is /home/runner/miniconda3/lib/python3.12/site-packages/conda/base/context.py:201: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3. This change adds defaults to the channel list.
1 parent a042895 commit 814f414

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/doctest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
activate-environment: doctest-env
2020
environment-file: .github/conda-env/doctest-env.yml
2121
miniforge-version: latest
22-
channels: conda-forge
22+
channels: conda-forge,defaults
2323
channel-priority: strict
2424
auto-update-conda: false
2525
auto-activate-base: false

.github/workflows/python-package-conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
activate-environment: test-env
3939
environment-file: .github/conda-env/test-env.yml
4040
miniforge-version: latest
41-
channels: conda-forge
41+
channels: conda-forge,defaults
4242
channel-priority: strict
4343
auto-update-conda: false
4444
auto-activate-base: false

0 commit comments

Comments
 (0)