question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mamba dependency changes mamba behavior

See original GitHub issue

As advised previously, I only have mamba installed in the base environment, because otherwise mamba starts to behave differently from conda.

The best example is updating a different env from the current one:

conda activate py38
mamba update -n base --all

Only when the only available mamba is in the base env, this behaves as expected. If there’s a mamba installed in the env py38, then, with that activated, above command updates that env, and not base, despite the -n option used.

Now, for package development using mambabuild one requires boa and therefore mamba be installed in the env used for development.

Questions:

  • Does this mean, there is no way to update other envs?
  • Could boa not use/lookup mamba from the base env, to not break mamba’s correct functionality?

FYI, here’s my setup:

╰─ conda config --show-sources                                                            ─╯
==> /home/maye/miniconda3/.condarc <==
channels:
  - conda-forge

==> /home/maye/.condarc <==
channel_priority: strict
report_errors: True

==> /home/maye/miniconda3/envs/py38/.condarc <==
pinned_packages:
  - jupyter_client=6
  - nbconvert=5
channels:
  - conda-forge
─ mamba --version                                                                        ─╯
mamba 0.17.0
conda 4.10.3

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wolfvcommented, Nov 22, 2021

you just need to place a conda_build_config.yaml file next to your recipe, or include it using -m. This defines the build matrix, e.g.: https://github.com/conda-forge/mamba-feedstock/blob/9f9bece91d8f8c3c3c11db1326685ab4d715369f/.ci_support/linux_64_.yaml#L31-L36

0reactions
michaelayecommented, Nov 22, 2021

i think there’s no CLI option to do the first build at a different than current environment, right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"greedy" update of dependencies · Issue #624 · mamba-org ...
Hi, in my experience mamba isn't usually very "greedy". I think one "trick" is to always use strict channel priority. Any chance you...
Read more >
Releasing mamba 1.0 - Wolf Vollprecht - Medium
Instead of making mamba a monolithic project, we decided to split it in smaller packages/parts for better flexibility and integration in ...
Read more >
Black Mamba - an overview | ScienceDirect Topics
MTα from black mamba (Dendroaspis polylepis) venom has nanomolar affinity for α2B-adrenoceptors,9 whereas MTx1 and 2 binds to α1-adrenoceptors.
Read more >
black-mamba - Python Package Health Analysis - Snyk
A security vulnerability was detected in an indirect dependency that is added to your project when the latest version of black-mamba is installed....
Read more >
Black mamba | Description, Behaviour, Venom, & Facts
black mamba, (Dendroaspis polylepis), species of mamba snake known for its large size, quickness, and extremely potent venom. It lives in sub-Saharan Africa ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found