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

Feature request: Revisions #803

Open
michaelaye opened this issue Mar 27, 2021 · 9 comments
Open

Feature request: Revisions #803

michaelaye opened this issue Mar 27, 2021 · 9 comments
Labels
type::bug Something isn't working type::feature-request New feature proposal

Comments

@michaelaye
Copy link

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?

@adriendelsalle adriendelsalle added the type::feature-request New feature proposal label Jun 4, 2021
@owenlamont
Copy link

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.

@easp
Copy link

easp commented Oct 2, 2022

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.

@Maltimore
Copy link

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.

@jonashaag jonashaag added the type::bug Something isn't working label Nov 20, 2022
@corneliusroemer
Copy link
Contributor

corneliusroemer commented Nov 24, 2022

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

@sweettyler

This comment was marked as off-topic.

@sh-shahrokhi
Copy link

Hello, just wanted to add my voice this

@dhirschfeld
Copy link
Contributor

This would be useful indeed 😔

@mktippett
Copy link

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.

corneliusroemer added a commit to corneliusroemer/mamba that referenced this issue Jul 16, 2024
It would be very useful for users to know which `conda` features `(micro)mamba` does not support. There's a section on "additional features" already in the readme.

This documents issue mamba-org#803
@corneliusroemer
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working type::feature-request New feature proposal
Projects
None yet
Development

No branches or pull requests