Skip to content

Use conda env update --prune to re-use the conda environment #6803

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

Closed
wants to merge 1 commit into from

Conversation

humitos
Copy link
Member

@humitos humitos commented Mar 23, 2020

This is similar to what we are doing with pip already: instead of creating the environment from scratch on each build, we can re-use the one that was created before.

The option --prune will remove all the packages that were removed from the environment.yml file.

Under a feature flag so we can start testing it without affecting all the projects

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#updating-an-environment

This is similar to what we are doing with pip already: instead of
creating the environment from scratch on each build, we can re-use the
one that was created before.

The option `--prune` will remove all the packages that were removed
from the environment.yml file.

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#updating-an-environment
@humitos humitos requested a review from a team March 23, 2020 11:38
@humitos
Copy link
Member Author

humitos commented Mar 23, 2020

--quiet is not quiet when using update because of a bug: conda/conda#9108

@humitos
Copy link
Member Author

humitos commented Mar 24, 2020

This is a better solution #6815

@humitos humitos closed this Apr 21, 2020
@stsewd stsewd deleted the humitos/use-conda-update branch May 24, 2021 18:25
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.

1 participant