mamba
mamba copied to clipboard
Feature request: Revisions
conda/mamba list -r
lists revisions of the conda env.
conda install --revision REVISION
brings the env back to that revision of the env, taking quite some time as a lot of package shuffling and revision list analysis needs to be done.
mamba install --revision REVISION
doesn't do anything yet, could it be implemented? Would increase performance drastically, I bet?
I just tried to revert an environment with mamba install --revision (using mamba version 0.20) and it didn't error but just said all required packages already installed - rather than uninstall or downgrade the packages I wanted it to.
This would save a lot of time. First, because conda is very slow when performing this operation and second, I spent a bunch of time trying to figure out why this wasn't working with mamba. There should at least be an error that explains the option isn't supported.
Maybe this issue needs the "bug" label and not the "feature request" label. Not giving an error here clearly is a bug, as the program does something incorrect but exits without error.
It would be amazing if micromamba
could support revisions as it would allow one to save a botched/destroyed mamba environment.
Mamba destroyed my base environment by switching Python from arm to osx-64 and now neither conda nor mamba work anymore - so can't go back to previous revision. Micromamba support of revisions would be the perfect solution.
Update (2024-07-17
): knowing mamba better now, I could have fixed the arch switch by setting --platform osx-arm64
can't believe this has not been fixed yet!
Hello, just wanted to add my voice this
This would be useful indeed 😔
I expected mamba as a conda replacement to be able to do this. It would be great to either have this ability or be clear that version rollback only works with conda.
I have created a PR to document the limitations of (micro)mamba compared to conda - something that should be included if mamba bills itself as a conda reimplementation: #3348