From d9ef65adab2152abaa21d4508cdf91a34c45f303 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Mon, 26 Mar 2018 15:10:32 +0200 Subject: [PATCH] Be less picky with specific package versions --- conda/conda-bootstrap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conda/conda-bootstrap.py b/conda/conda-bootstrap.py index fb92d36..85e6e40 100755 --- a/conda/conda-bootstrap.py +++ b/conda/conda-bootstrap.py @@ -144,6 +144,8 @@ def conda_create(args, packages): specs = [] for k in packages: k = ' '.join(k.split()[:2]) #remove eventual build string + if not k.startswith('bob'): + k = k.split()[0] #get whatever is compatible for those if any(elem in k for elem in '><|'): specs.append(k.replace(' ', '')) else: specs.append(k.replace(' ', '=')) -- GitLab