Skip to content

Commit

Permalink
Remove default conda channels before resolving lock files
Browse files Browse the repository at this point in the history
This avoids potential issues with licencing on the defaults channels.
  • Loading branch information
jfrost-mo committed Nov 5, 2024
1 parent df53dd7 commit 1c747a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conda-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: python3 -m pip install conda-lock

- name: Update conda
run: conda update -q conda
run: conda update --channel conda-forge --quiet conda

- name: Hash existing lock files
run: |
Expand Down
1 change: 1 addition & 0 deletions cset-workflow/requirements/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: cset-workflow
channels:
- conda-forge
- nodefaults
dependencies:
# Runtime dependencies
- cset
Expand Down
1 change: 1 addition & 0 deletions requirements/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: cset-dev
channels:
- conda-forge
- nodefaults
dependencies:
# Runtime dependencies
- numpy
Expand Down

0 comments on commit 1c747a5

Please # to comment.