metaflow icon indicating copy to clipboard operation
metaflow copied to clipboard

feature: allow rebuilding conda/pypi environments

Open saikonen opened this issue 7 months ago • 1 comments

this PR adds a command for forcing a rebuild of the conda/pypi environment(s) of a flow.

# rebuild all environments
HelloConda.py --environment conda environment rebuild

# specify any number of steps to rebuild only their environments
HelloConda.py --environment conda environment rebuild --step start --step end

saikonen avatar Jun 04 '25 21:06 saikonen

General comment: could we align on the names. The extension already does this: https://github.com/Netflix/metaflow-nflx-extensions/blob/main/metaflow_extensions/netflix_ext/plugins/environment_cli.py and for the limited functionality supported here, we could do the same names (ie: resolve --force) which may make things a bit more consistent.

romain-intel avatar Jun 04 '25 21:06 romain-intel

closing in favour of #2443

saikonen avatar Jun 19 '25 15:06 saikonen