Skip to content

Commit

Permalink
Revert "target installed python package"
Browse files Browse the repository at this point in the history
This reverts commit e7fab89.
  • Loading branch information
jjhelmus committed Jul 9, 2019
1 parent 5cb38b0 commit 6699fa2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions conda/core/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,12 +576,7 @@ def _add_specs(self, ssc):
if ssc.r.get_conflicting_specs(spec_set):
# raises a hopefully helpful error message
ssc.r.find_conflicts(spec_set)
python_prefix_rec = ssc.prefix_data.get('python')
if python_prefix_rec:
python_target = python_prefix_rec.dist_str()
ssc.specs_map['python'] = MatchSpec(python_spec, target=python_target)
else:
ssc.specs_map['python'] = python_spec
ssc.specs_map['python'] = python_spec

# For the aggressive_update_packages configuration parameter, we strip any target
# that's been set.
Expand Down

0 comments on commit 6699fa2

Please sign in to comment.