Skip to content

Commit 03eef72

Browse files
traversaroNicolasHug
authored andcommitted
Do not mix defaults and conda-forge in linux_wheel job (meta-pytorch#975)
1 parent ed4a586 commit 03eef72

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
@@ -72,10 +72,14 @@ jobs:
7272
name: meta-pytorch_torchcodec__${{ matrix.python-version }}_cpu_x86_64
7373
path: pytorch/torchcodec/dist/
7474
- name: Setup conda env
75-
uses: conda-incubator/setup-miniconda@v2
75+
uses: conda-incubator/setup-miniconda@v3
7676
with:
7777
auto-update-conda: true
78-
miniconda-version: "latest"
78+
# Using miniforge instead of miniconda ensures that the default
79+
# conda channel is conda-forge instead of main/default. This ensures
80+
# ABI consistency between dependencies:
81+
# https://conda-forge.org/docs/user/transitioning_from_defaults/
82+
miniforge-version: latest
7983
activate-environment: test
8084
python-version: ${{ matrix.python-version }}
8185
- name: Update pip

0 commit comments

Comments
 (0)