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

feat: add micromamba support #807

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

henryiii
Copy link
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.

Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
tests/test_virtualenv.py Show resolved Hide resolved
@henryiii henryiii merged commit 9a4068f into wntrblm:main Apr 8, 2024
22 checks passed
@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

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

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