mamba-org / setup-micromamba

GitHub Action to set up micromamba
MIT License
105 stars 16 forks source link

setup-micromamba does not honor the version pin #226

Closed certik closed 1 month ago

certik commented 1 month ago

As one of the bugs reported in https://github.com/mamba-org/mamba/issues/3475, the setup-micromamba@1.8 at GitHub CI installed micromamba@2.0, which has a blocker bug (https://github.com/mamba-org/mamba/issues/3475).

If possible, the setup-micromamba should honor the version pin, that way if there is a bug in a new release, we are not affected by it, and can upgrade on our own terms by simply trying a newer version and if it doesn't work, report a bug and downgrade.

In the meantime, is there a workaround to force installation of micromamba 1.8?

certik commented 1 month ago

I see how to pin it:

          micromamba-version: '1.5.10-0'

I implemented this in: https://github.com/lfortran/lfortran/pull/4923 and it works!

Sorry about this report, it's not a bug in setup-micromamba. It does honor the version pin, I was just pinning it incorrectly. In other words, it was a bug in LFortran, not setup-micromamba.