From 286cbd1412f147c85c230a1f74eccf09eeaa343d Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 8 Jan 2020 17:13:10 +0100 Subject: [PATCH] [bootstrap] specify conda and conda-build versions as specs --- bob/devtools/bootstrap.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index ff0b5e50..38b71c6b 100644 --- a/bob/devtools/bootstrap.py +++ b/bob/devtools/bootstrap.py @@ -538,9 +538,15 @@ if __name__ == "__main__": cmd = ([conda_bin, conda_cmd] + conda_verbosity + channels - + ["-n", args.envname, "bob.devtools"]) + + ["-n", args.envname, + "bob.devtools", + "conda=%s" % conda_version, + "conda-build=%s" % conda_build_version, + "conda-verify=%s" % conda_verify_version, + "twine", # required for checking readme of python (zip) distro + ]) if conda_cmd == "install": - cmd += ["--update-specs"] + cmd.insert(2, "--update-specs") run_cmdline(cmd) # print conda information for debugging purposes -- GitLab