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

Allow --force-reinstall on uninstalled specs #2636

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

AntoinePrv
Copy link
Member

Close #2634

Copy link
Member

@Hind-M Hind-M left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, from a logical point of view, using force-reinstall should be used only on already installed packages (or is it in the sense of retrying to install because of previous failure?)

@AntoinePrv
Copy link
Member Author

@Hind-M I agree this is debatable, but for now shouldn't we should restore current behavior.

I think it can be a use case to do mamba install --update-all --force-reinstall pkg1 pkg2 pkg3 ... (or even --file environment.yml) and not worry which packages are installed and which are not, especially since calling install in chunks is not the same at calling it once.
As a comparison, the equivalent pip install --ignore-installed works for uninstalled packages.

@AntoinePrv AntoinePrv merged commit 16c3da8 into mamba-org:main Jun 29, 2023
22 checks passed
@AntoinePrv AntoinePrv deleted the fix-force-reinstall branch June 29, 2023 12:27
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.

force-reinstall error in v1.4.5
2 participants