-
Notifications
You must be signed in to change notification settings - Fork 342
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
conda 23.9.0 breaks mamba 1.5.1 #2882
Comments
Having the same issue. After updating mamba with |
Downgrading |
See #2878 |
works around mamba-org/mamba#2882
This comment was marked as duplicate.
This comment was marked as duplicate.
Soo, what is the solution? Downgrade to previous version or? Trying to follow the linked discussion thread but not quite sure what to make of it, there's some temporary fixes somewhere, then that the issue is fixed somewhere else. |
the solution at this point is to downgrade conda (mentioned above) conda install -n base conda==23.7.4
mamba --help # works now! |
The repodata has been patched, mamba 1.5.1 now pins conda < 23.9.0, so a fresh install should work out of the box. In the meantime mamba has been patched to support latest conda, we will release 1.5.2 with this fix in a few days. |
updates to conda breaking mamba has happened to me more than once. why don't mamba's dependencies constrain the conda version??? |
It does, see https://github.com/conda-forge/mamba-feedstock/blob/f707a5abe0e1728326263035042ba49c505cb486/recipe/meta.yaml#L126. Unfortunately, sometimes conda releases minor versions that break backward compatibility. |
When is the fix finally going to be released? |
I'm curious about this as well. |
@adamlynton thanks, works! |
As soon as the CI passes on the branch 1.x. I'm backporting the required bugfixes, and I will release as soon as I can (hopefully today). |
I've just release 1.5.2, updating the feedstock now. If you want to give it a try from source in the meantime, you can checkout https://github.com/mamba-org/mamba/tree/1.x |
@adamlynton I'm going to open a PR to update miniforge. But this may take some time before the installer is available. Downloading the zip from this repo means building mamba from source (and therefore, getting all its dependencies, which is a nightmare without a package manager). What is the issue of installing a fresh miniforge (even if not the latest mamba), and then upgrade mamba in this new fresh install? |
Unless I misunderstood you, installing a fresh miniforge will install and use Conda 23.7.4 because Conda 23.9.0 has now been marked as incompatible with the current Mamba version 1.5.1. So you will get a fully working Conda/Mamba install, which is your goal I assume? And as soon as the new Mamba version 1.5.2 is available, Conda 23.9.0 will also unlock for upgrades. |
mamba will work, for the reasons @jtabox exposed above. Also notice that mamba still depends on some parts from conda (and its dependencies), so it cannot be just a set of .exe and .dll (that is why we made an installer). Installing the last miniforge, and then running |
Can confirm that the updated versions are available now. Doing a |
The solution is to install miniforge, not Anaconda, and then update mamba. Anaconda comes with default channels which are not compatible with conda-forge and is not something we support. |
Hmm, |
@janxkoci what issue do you have with |
run |
Closing this issue as fixed. |
@JohanMabille Sorry, I was digging a bit deeper and I seem to have a different issue. My |
See [mamba/2992](mamba-org/mamba#2882). This image is built on a new jupyter/minimal-image to avoid that problem. Aside from that, it picks up the new curl and webp libraries Signed-off-by: Ian Allison <iana@pims.math.ca>
Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
ensure
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
using mamba 1.5.1 and upgrading to conda 23.9.0 breaks mamba:
mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered: