Skip to content

Feature request: Make "env update" update to the latest package versions matching spec #4076

@Hoeze

Description

@Hoeze

Hi, would it be possible to implement a flag that allows updating to the latest package versions still matching the spec?

At the moment, I am running something like this to update my environments:

micromamba env update -f env.yaml -n myenv
micromamba update -f env.yaml -n myenv

However, this approach takes long, as it requires 2x solving and 2x installing.
More importantly, it makes it difficult to predict the outcome, as a --dry-run is not possible this way.

Therefore, my dream solution would be a --latest flag like this:

micromamba env update -f env.yaml -n myenv --latest --dry-run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions