Skip to content

Commit

Permalink
Merge pull request #48 from lbdreyer/noarch_fix
Browse files Browse the repository at this point in the history
Fix problem with noarch packages
  • Loading branch information
pelson authored Oct 19, 2017
2 parents 3948ad4 + ced45ad commit 8faebf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda_execute/tmpenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def create_env(spec, force_recreation=False, extra_channels=()):
log.info('\n')

if CONDA_VERSION_MAJOR_MINOR >= (4, 3):
_create_env_conda_43(env_locn, index, full_list_of_packages)
sorted_list_of_packages = r.dependency_sort({d.name: d for d in full_list_of_packages})
_create_env_conda_43(env_locn, index, sorted_list_of_packages)
else:
_create_env_conda_42(env_locn, index, full_list_of_packages)

Expand Down

0 comments on commit 8faebf4

Please sign in to comment.