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

fix subcommands handling in recent versions of conda #2732

Merged
merged 3 commits into from
Aug 5, 2023

Conversation

jaimergp
Copy link
Contributor

@jaimergp jaimergp commented Aug 3, 2023

Closes #2715

I guess users were expecting mamba build to work, but it was basically by chance I'd say (conda would happen to find conda_build in bin/). Now that the subcommands use a plugin system, we can't just rely on the existence of binaries, and need to forward the calls manually.

In this PR:

  • Forward mamba env to mamba.mamba_env
  • Forward mamba build to boa.cli.mambabuild
  • Add namespace compatibility for plugins

mamba/mamba/mamba.py Outdated Show resolved Hide resolved
Co-authored-by: Jonas Haag <jonas@lophus.org>
@shermansiu
Copy link

When will this be merged?

@jonashaag jonashaag merged commit ff16114 into mamba-org:main Aug 5, 2023
20 checks passed
@corneliusroemer
Copy link
Contributor

corneliusroemer commented Aug 7, 2023

Thanks @jonashaag! Would be great if this was released soon. I think @JohanMabille is the man for this :)

cvanelteren pushed a commit to cvanelteren/mamba that referenced this pull request Aug 29, 2023
wence- added a commit to wence-/cudf that referenced this pull request Sep 8, 2023
Since Conda 23.7.3, the plugin mechanism changed, and mambabuild
broke.

Adapt to this change, following the fix in mamba (mamba-org/mamba#2732)
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Sep 8, 2023
Since Conda 23.7.3, the plugin mechanism changed, and mambabuild broke.

Since, with `boa` installed, `conda mambabuild` uses the `libmamba` solver, switch to that.

The general handling of subcommands with `mamba` was partially fixed in mamba-org/mamba#2732, but `mamba build` does not currently work due to mamba-org/mamba#2821.

- Closes #14068

Authors:
  - Lawrence Mitchell (https://github.com/wence-)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)

URL: #14067
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.

mamba failing with conda-build 3.26.0
4 participants