Skip to content

Commit

Permalink
Merge pull request #5280 from pradyunsg/fix/5251
Browse files Browse the repository at this point in the history
Reorder conditionals to deal with installed VCS requirements
  • Loading branch information
pfmoore authored Apr 18, 2018
2 parents 3e71370 + b610eab commit 3c50345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/5251.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A crash when reinstalling from VCS requirements has been fixed.
4 changes: 2 additions & 2 deletions src/pip/_internal/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,11 +717,11 @@ def build(self, requirements, session, autobuilding=False):
)
elif autobuilding and req.editable:
pass
elif autobuilding and not req.source_dir:
pass
elif autobuilding and req.link and not req.link.is_artifact:
# VCS checkout. Build wheel just for this run.
buildset.append((req, True))
elif autobuilding and not req.source_dir:
pass
else:
ephem_cache = False
if autobuilding:
Expand Down

0 comments on commit 3c50345

Please sign in to comment.