Skip to content

Commit 212491b

Browse files
committed
Allow install to proceed even if there's no place to build wheels.
Fixes pypa#6158
1 parent beeacad commit 212491b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/pip/_internal/wheel.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -840,13 +840,6 @@ def build(
840840
newly built wheel, in preparation for installation.
841841
:return: True if all the wheels built correctly.
842842
"""
843-
# TODO: This check fails if --no-cache-dir is set. And yet we
844-
# might be able to build into the ephemeral cache, surely?
845-
building_is_possible = self._wheel_dir or (
846-
autobuilding and self.wheel_cache.cache_dir
847-
)
848-
assert building_is_possible
849-
850843
buildset = []
851844
format_control = self.finder.format_control
852845
for req in requirements:

0 commit comments

Comments
 (0)