Add a warning to fast-deps with legacy resolver

This commit is contained in:
Pradyun Gedam 2020-10-30 07:12:36 +05:30
parent 385077a944
commit d012c7d4af
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 4 additions and 0 deletions

View File

@ -235,6 +235,10 @@ class RequirementCommand(IndexGroupCommand):
)
else:
lazy_wheel = False
if lazy_wheel:
logger.warning(
'fast-deps has no effect when used with the legacy resolver.'
)
return RequirementPreparer(
build_dir=temp_build_dir_path,