mirror of https://github.com/pypa/pip
Set self.satisfied_by back to None;
Add a comment that says something like "when installing editables, nothing pre-existing should ever satisfy". Addresses @qwcode's comment at https://github.com/pypa/pip/pull/1552#discussion_r9781803
This commit is contained in:
parent
387058675e
commit
5b62075341
|
@ -879,6 +879,9 @@ exec(compile(
|
|||
|
||||
if self.editable and self.satisfied_by:
|
||||
self.conflicts_with = self.satisfied_by
|
||||
# when installing editables, nothing pre-existing should ever
|
||||
# satisfy
|
||||
self.satisfied_by = None
|
||||
return True
|
||||
except pkg_resources.DistributionNotFound:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue