mamba-org / setup-micromamba

GitHub Action to set up micromamba
MIT License
97 stars 15 forks source link

zstd decompression errors and download failure #89

Closed johnlees closed 1 year ago

johnlees commented 1 year ago

I've just upgraded from the old action, my new action file looks like this:

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install Conda environment from environment.yml
      uses: mamba-org/setup-micromamba@v1
      with:
        environment-file: environment.yml
        cache-environment: true
    - name: Install and run_test.py
      shell: bash -l {0}
      run: |
        python -m pip install --no-deps --ignore-installed .
        cd test && python run_test.py

But I am getting an error on environment creation which isn't informative to me:

/home/runner/micromamba-bin/micromamba create -y -r /home/runner/micromamba -f environment.yml  --log-level warning --rc-file /home/runner/micromamba-bin/.condarc
  error    libmamba ZSTD decompression error: Unknown frame descriptor
  error    libmamba ZSTD decompression error: Unknown frame descriptor
  critical libmamba Multiple errors occured:
      Download error (23) Failed writing received data to disk/application [https://conda.anaconda.org/r/noarch/repodata.json.zst]
      Failure writing output to destination
      Subdir r/noarch not loaded!

Couldn't find anything with a search, am I doing something obviously wrong?

See https://github.com/bacpop/PopPUNK/pull/272 and https://github.com/bacpop/PopPUNK/actions/runs/5510005512/jobs/10043562993?pr=272

jonashaag commented 1 year ago

Could be this https://github.com/mamba-org/mamba/issues/2663, try to set a lower Micromamba version

JohanMabille commented 1 year ago

Yes this is definitely this error, I will release a new version tonight.

jonashaag commented 1 year ago

Ok closing then

johnlees commented 1 year ago

That looks like it's fixed it, thanks a lot 🙂