malariagen / mgenv

Repository with installation scripts and environment definitions for conda and texlive, for standardising environments across the MalariaGEN resource centre team.
MIT License
1 stars 5 forks source link

Remove defaults channel (test) #154

Closed leehart closed 2 weeks ago

leehart commented 3 weeks ago

Re: PR #153

leehart commented 3 weeks ago

Trying:

CHANNEL_OPTS="--override-channels --channel conda-forge --channel bioconda --channel nodefaults"

Gives:

Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Python 3.12.2
conda 24.9.2
# packages in environment at /home/runner/work/mgenv/mgenv/deps/conda:
#
# Name                    Version                   Build  Channel
conda-libmamba-solver     24.9.0             pyhd8ed1ab_0    conda-forge

EnvironmentLocationNotFound: Not a conda environment: /home/runner/work/mgenv/mgenv/deps/conda/envs/mgenv-8eb7b9d

Error: Process completed with exit code 1.

Actually tried to use:

Channels:
 - conda-forge
 - bioconda
 - nodefaults
leehart commented 3 weeks ago

Trying without --override-channels, i.e.:

CHANNEL_OPTS="--channel conda-forge --channel bioconda --channel nodefaults"

Gives:

Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Python 3.12.2
conda 24.9.2
# packages in environment at /home/runner/work/mgenv/mgenv/deps/conda:
#
# Name                    Version                   Build  Channel
conda-libmamba-solver     24.9.0             pyhd8ed1ab_0    conda-forge

EnvironmentLocationNotFound: Not a conda environment: /home/runner/work/mgenv/mgenv/deps/conda/envs/mgenv-888090d

Actually tried to use:

Channels:
 - conda-forge
 - bioconda
 - nodefaults
 - defaults