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

Document micromamba's support for conda-lock #2578

Closed
mfisher87 opened this issue Jun 9, 2023 · 2 comments · Fixed by #2621
Closed

Document micromamba's support for conda-lock #2578

mfisher87 opened this issue Jun 9, 2023 · 2 comments · Fixed by #2621

Comments

@mfisher87
Copy link
Contributor

Some relevant discussion in #1884

I was pleasantly surprised to find that micromamba was able to use my conda-lock "unified" lockfile to bootstrap a new environment, and I was confused when mamba did not also support it. I looked for but couldn't find:

  • A complete list of environment specification formats supported by Mamba (the Micromamba user guide does have this here)
  • Mention of conda-lock's new "unified" lockfile (named conda-lock.yml by default) support in the web docs (this is mentioned in the GitHub README, though!).

I think I'll probably have time to contribute the documentation change in the next two weeks if nobody else has already done it by then. I'll post here or link a (draft) PR when I get started!

One question: Mamba supports the specification file formats that conda does, i.e. environment.yml format (can be generated with conda env export), and explicit spec files (generated with conda list --explicit). Does it support any other specification formats I am not aware of?

@jonashaag
Copy link
Contributor

It supports line separated requirements, as Conda does, with mamba create -f.

I wonder why Mamba doesn’t support lock files since it should be mostly implemented in libmamba which is shared among both.

@mfisher87
Copy link
Contributor Author

I wonder why Mamba doesn’t support lock files since it should be mostly implemented in libmamba which is shared among both.

I also wonder! In the Mamba user guide, I documented that mamba supports all the same specification file formats as conda. I figure there's no need to go in depth until mamba starts to support more specification formats :)

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.

2 participants