Disallow non-wheel build dependencies (PEP 518)

Merge pull request #4987 from pradyunsg/fix/fork-bombing
This commit is contained in:
Pradyun Gedam 2018-01-26 14:20:13 +05:30 committed by GitHub
commit e81b602f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ class WheelBuilder(object):
# Ignore the --no-binary option when installing the build system, so
# we don't recurse trying to build a self-hosting build system.
finder = copy.copy(self.finder)
finder.format_control = FormatControl(set(), set())
finder.format_control = FormatControl(set(), set([":all:"]))
urls = [finder.find_requirement(InstallRequirement.from_line(r),
upgrade=False).url
for r in reqs]