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

bug: conda and mamba are not 100% exchangeable #969

Open
kemingy opened this issue Oct 3, 2022 · 1 comment
Open

bug: conda and mamba are not 100% exchangeable #969

kemingy opened this issue Oct 3, 2022 · 1 comment

Comments

@kemingy
Copy link
Member

kemingy commented Oct 3, 2022

Description

Currently, we cannot replace miniconda with micromamba because:

  • their command-line interfaces are not exactly the same
    • micromamba create -n envd python=3.7 --file env.yaml v.s. conda env create -n envd python=3.7 --file env.yaml
    • micromamba update -n envd --file env.yaml v.s. conda env update -n envd --file env.yaml
    • micromamba update --file env.yaml won't install new packages from the YAML file

Additional Info


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@kemingy
Copy link
Member Author

kemingy commented Oct 4, 2022

According to my observation, micromamba update -f env.yaml doesn't install anything from the YAML file. Instead, it only updates all the existing packages.

We'd better use conda update because it requires mounts, which means it cannot be cached.

Originally posted by @kemingy in #933 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant