Has anyone seen the below error while running CI a...
# pipeline-maintainers
j
Has anyone seen the below error while running CI and knows how to fix it? I see there are issues in the Nextflow github page about this conda flag being deprecated. Template version is 3.2.0, failing on Nextflow 24.04.02
Copy code
Caused by:
  Failed to create Conda environment
    command: conda create --mkdir --yes --quiet --prefix /home/runner/work/metagenomeassembly/metagenomeassembly/work/conda/env-7557cac45c1300a1eedb21c1eef2a4b7 -c conda-forge -c bioconda bioconda::coverm=0.7.0-0
    status : 2
    message:
      usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
      conda: error: unrecognized arguments: --mkdir
shake no 1
n
It might have something to do with your locally installed conda, is it up to date?
j
This is in the GitHub runner - so it’s whatever the ci.yml script pulls in, which looks like “latest”
p
Short term fix is to downgrade Conda I guess, or use Mamba
I suspect that a fix for this will go out in the next Nextflow patch / edge releases
n
Thanks Phil! I didn't know this was an issue with the new version 🙂
p
New Conda version 👍🏻 I think this will currently be affecting all Nextflow versions.
👍 1
panic 1
j
Thanks Phil, that's what I figured - will need to figure out how to temporarily get an older conda release installed in the CI script
p
Yup. We're also pressing on getting a fix out ASAP, so hopefully won't be long.
PR is merged, 25.04.2 patch release hopefully imminent.