mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Feature request: Revisions

Open michaelaye opened this issue 3 years ago • 9 comments

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?

michaelaye avatar Mar 27 '21 02:03 michaelaye

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.

owenlamont avatar Feb 08 '22 04:02 owenlamont

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.

easp avatar Oct 02 '22 17:10 easp

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.

Maltimore avatar Nov 20 '22 11:11 Maltimore

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

corneliusroemer avatar Nov 24 '22 12:11 corneliusroemer

can't believe this has not been fixed yet!

sweettyler avatar Jan 08 '23 05:01 sweettyler

Hello, just wanted to add my voice this

sh-shahrokhi avatar Apr 15 '23 16:04 sh-shahrokhi

This would be useful indeed 😔

dhirschfeld avatar Mar 27 '24 00:03 dhirschfeld

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.

mktippett avatar Jul 16 '24 13:07 mktippett

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

corneliusroemer avatar Jul 16 '24 14:07 corneliusroemer