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

GCNV yaml - Mamba >1.2 disallows mixing of conda-forge and defaults channel #452

Closed
Nicolai-vKuegelgen opened this issue Oct 11, 2023 · 1 comment · Fixed by #454
Closed

Comments

@Nicolai-vKuegelgen
Copy link
Contributor

Describe the bug
Since mamba 1.3 their docs mention that mixing of conda-forge and defaults channels is not supported anymore. Snappy currently does this in the enviroment.yaml of the GCNV wrappers.
This file still can be used with mamba 1.2 or conda (any version apparently) but mamba >=1.3 will fail to build an enviroment from it.

To Reproduce
Steps to reproduce the behavior:

  1. mamba install mamba>=1.3
  2. mamba env create --file snappy_wrappers/wrappers/gcnv/environment.yaml

Expected behavior
Ideally an enviroment.yaml that works with the newest mamba versions should be used.
If this is not possible a different long term solution is needed.

Additional context
Doc changes in Mamba 1.3

@Nicolai-vKuegelgen
Copy link
Contributor Author

It seems that leaving out the explicit definition of the default ('default::') channel makes the environment.yaml work again with recent conda versions. These packages will still be taken from the de-facto defaults channel (now called pkgs/main), since they are not available elsewhere, so I think this is a working fix (at least until conda changes again).

Will initiate a PR

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.

1 participant