Skip to content

Commit

Permalink
Revert "Sort output metadata prior to writing to meta.yaml"
Browse files Browse the repository at this point in the history
This reverts commit ebee064.

See my comment on conda#2149
  • Loading branch information
mingwandroid committed Jul 4, 2017
1 parent df29838 commit 036968c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,6 @@ def copy_recipe(m):
if 'outputs' in output_metadata.meta:
del output_metadata.meta['outputs']

# each metadata field has a dict as a value and each value may contain
# a list of strings that needs to be sorted alphabetically
for field, value in output_metadata.meta.items():
for key in value.keys():
if '{}/{}' .format(field, key) not in ('build/script', 'test/commands'):
try:
output_metadata.meta[field][key].sort()
except AttributeError:
pass

rendered = output_yaml(output_metadata)

if not original_recipe or not open(original_recipe).read() == rendered:
Expand Down

0 comments on commit 036968c

Please sign in to comment.