Skip to content
Snippets Groups Projects
Commit 56446d49 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Be less picky with specific package versions

parent 6417309f
No related branches found
No related tags found
1 merge request!73Updating the changelog for Bob's release
...@@ -144,6 +144,8 @@ def conda_create(args, packages): ...@@ -144,6 +144,8 @@ def conda_create(args, packages):
specs = [] specs = []
for k in packages: for k in packages:
k = ' '.join(k.split()[:2]) #remove eventual build string 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(' ', '')) if any(elem in k for elem in '><|'): specs.append(k.replace(' ', ''))
else: specs.append(k.replace(' ', '=')) else: specs.append(k.replace(' ', '='))
......
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