Skip to content

Commit 0816c8b

Browse files
authored
Do not mix defaults and conda-forge in linux_wheel job (#975)
1 parent ca2c17a commit 0816c8b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/linux_wheel.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,14 @@ jobs:
7171
name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cpu_x86_64
7272
path: pytorch/torchcodec/dist/
7373
- name: Setup conda env
74-
uses: conda-incubator/setup-miniconda@v2
74+
uses: conda-incubator/setup-miniconda@v3
7575
with:
7676
auto-update-conda: true
77-
miniconda-version: "latest"
77+
# Using miniforge instead of miniconda ensures that the default
78+
# conda channel is conda-forge instead of main/default. This ensures
79+
# ABI consistency between dependencies:
80+
# https://conda-forge.org/docs/user/transitioning_from_defaults/
81+
miniforge-version: latest
7882
activate-environment: test
7983
python-version: ${{ matrix.python-version }}
8084
- name: Update pip

0 commit comments

Comments
 (0)