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

Add environment variables for conda/mamba/micromamba #760

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Dec 13, 2024

Description

Adds CONDA_LOCK_CONDA, CONDA_LOCK_MAMBA, and CONDA_LOCK_MICROMAMBA as per @scott-kausler's #758 (comment).

Example:

CONDA_LOCK_MICROMAMBA=1 CONDA_LOCK_MAMBA=0 conda-lock --log-level=DEBUG

and you should see a micromamba executable being used. Note that without setting CONDA_LOCK_MAMBA=0 then if mamba is found then it takes precedence. (I'm not defending this behavior; open to PRs 😉)

@maresb maresb requested a review from a team as a code owner December 13, 2024 14:10
Copy link

netlify bot commented Dec 13, 2024

Deploy Preview for conda-lock ready!

Name Link
🔨 Latest commit bb6b2d1
🔍 Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/675c4055131ecd00084308db
😎 Deploy Preview https://deploy-preview-760--conda-lock.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@maresb maresb requested a review from jezdez December 13, 2024 15:55
Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Great idea!

@maresb maresb merged commit fb05999 into conda:main Dec 14, 2024
43 checks passed
@maresb maresb deleted the add-envvars-conda-mamba branch December 14, 2024 10:50
@maresb
Copy link
Contributor Author

maresb commented Dec 14, 2024

Ping @scott-kausler, this is now available on main.

@scott-kausler
Copy link

Incredible! Thanks for doing this.

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 this pull request may close these issues.

3 participants