Skip to content

Commit

Permalink
Add comment, fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy committed May 8, 2018
1 parent 4e872f1 commit b4100d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
- PIP=9.0.3
- PIP=master
- PIP=latest
- PIP=master

cache: pip
install:
Expand Down
2 changes: 2 additions & 0 deletions piptools/repositories/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def get_dependencies(self, ireq):
os.makedirs(self._wheel_download_dir)

try:
# Pip < 9 and below
reqset = RequirementSet(
self.build_dir,
self.source_dir,
Expand All @@ -170,6 +171,7 @@ def get_dependencies(self, ireq):
ireq
)
except TypeError:
# Pip >= 10 (new resolver!)
preparer = RequirementPreparer(
build_dir=self.build_dir,
src_dir=self.source_dir,
Expand Down

0 comments on commit b4100d1

Please sign in to comment.