Skip to content
Snippets Groups Projects
Commit fb53bfcc authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

when creating a local development environment, remove the always_yes option

parent 9a6c2242
No related branches found
No related tags found
No related merge requests found
Pipeline #30792 failed
...@@ -141,6 +141,8 @@ def create(name, recipe_dir, python, overwrite, condarc, use_local, config, ...@@ -141,6 +141,8 @@ def create(name, recipe_dir, python, overwrite, condarc, use_local, config,
conda_config = make_conda_config(config, python, append_file, condarc_options) conda_config = make_conda_config(config, python, append_file, condarc_options)
deps = parse_dependencies(recipe_dir, conda_config) deps = parse_dependencies(recipe_dir, conda_config)
# when creating a local development environment, remove the always_yes option
del condarc_options["always_yes"]
status = conda_create(conda, name, overwrite, condarc_options, deps, status = conda_create(conda, name, overwrite, condarc_options, deps,
dry_run, use_local) dry_run, use_local)
echo_normal('Execute on your shell: "conda activate %s"' % name) echo_normal('Execute on your shell: "conda activate %s"' % name)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment