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

[bootstrap] use --update-specs during conda install

For some reason when bootstrap installs bob.devtools in the CI of other
packages, it does not update all packages.
I think this might lead to broken base environments.
parent 816f2c51
No related branches found
No related tags found
1 merge request!136[bootstrap] use --update-specs during conda install
Pipeline #36173 passed
......@@ -535,12 +535,13 @@ if __name__ == "__main__":
"--channel=%s" % k for k in channels
]
conda_cmd = "install" if args.envname in ("base", "root") else "create"
run_cmdline(
[conda_bin, conda_cmd]
+ conda_verbosity
+ channels
+ ["-n", args.envname, "bob.devtools"]
)
cmd = ([conda_bin, conda_cmd]
+ conda_verbosity
+ channels
+ ["-n", args.envname, "bob.devtools"])
if conda_cmd == "install":
cmd += ["--update-specs"]
run_cmdline(cmd)
# print conda information for debugging purposes
run_cmdline([conda_bin, "info"] + conda_verbosity)
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