Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mamba example 6 seems to be failing #366

Open
dsobral opened this issue Sep 26, 2024 · 8 comments · May be fixed by #368
Open

Mamba example 6 seems to be failing #366

dsobral opened this issue Sep 26, 2024 · 8 comments · May be fixed by #368

Comments

@dsobral
Copy link

dsobral commented Sep 26, 2024

https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-6.yml

@oursland
Copy link

The issue is that defaults/noarch::conda-libmamba-solver-23.12.0 is being installed, even if you remove the defaults channel. This is not compatible, nor should it be selected.

@isaacsanders
Copy link

This also seems like it could be a problem with the release of mamba 2 last week.

@isaacsanders
Copy link

A person on a team I work with used a non-2.0.0 mamba-version parameter, and it worked.

@jaimergp
Copy link
Member

jaimergp commented Sep 30, 2024

See the implicit channels PR at #367, we need condabin/mamba present in mamba v2 too.

@philmod-h
Copy link

philmod-h commented Oct 1, 2024

We started to get failures like ERROR: executing pre_install.sh failed yesterday.

Is there any way to fix it short term?

Our step:

- uses: conda-incubator/setup-miniconda@v3
        with:
          miniforge-variant: Mambaforge
          miniforge-version: latest
          activate-environment: ...
          use-mamba: true
          python-version: "3.10.14"

I tried to pin mamba with mamba-version: "1.5.10", but no dice.

@jaimergp
Copy link
Member

jaimergp commented Oct 1, 2024

Use Miniforge, which is identical to Mambaforge these days. Mambaforge is getting sunset by EOY.

@mattwthompson
Copy link

mamba-version: "1.5.10" works for me

@jaimergp
Copy link
Member

jaimergp commented Oct 1, 2024

A fix for mamba v2 is underway at #368, but I'm facing some issues in Windows. If someone wants to give it a try, I guess this would work:

      - uses: conda-incubator/setup-miniconda@fix-mamba-v2
        with:
          miniforge-variant: Miniforge
          miniforge-version: latest
          use-mamba: true
          mamba-version: "*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants