Skip to content

feat: add micromamba support#807

Merged
henryiii merged 4 commits intowntrblm:mainfrom
henryiii:henryii/feat/micromamba
Apr 8, 2024
Merged

feat: add micromamba support#807
henryiii merged 4 commits intowntrblm:mainfrom
henryiii:henryii/feat/micromamba

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented Apr 4, 2024

Adds micromamba support alongside the existing conda and mamba support. Micromamba is a version of mamba using C++ completely, not requiring Python. It's very useful for CI systems and anywhere a single binary is easier to work with.

Fix #680.

henryiii added 3 commits April 4, 2024 02:30
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 9a4068f into wntrblm:main Apr 8, 2024
@henryiii henryiii deleted the henryii/feat/micromamba branch April 8, 2024 19:35
@henryiii henryiii mentioned this pull request Apr 15, 2024
Comment on lines -557 to +559
needed.
needed. It is highly recommended to specify this; micromamba does not
set default channels, and default channels vary for conda. Note that
"defaults" is also not permissivly licenced like "conda-forge" is.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@henryiii This sounds ominous, Anaconda's defaults channel is commercially licensed and is free to use for educational users and companies with fewer than 200 employees.

for v in self.venv_params
):
# Micromamba doesn't have any default channels
cmd.append("--channel=conda-forge")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth mentioning this default in the docs as it is not quite the same as relying on PyPI (which doesn't re-package software from 3rd party authors as conda-forge does). Linking to the conda-forge security considerations would be even better to inform users about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

support micromamba as a backend

3 participants