From d012c7d4af326079c6a4f2db5f58b53580a69452 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Fri, 30 Oct 2020 07:12:36 +0530 Subject: [PATCH] Add a warning to fast-deps with legacy resolver --- src/pip/_internal/cli/req_command.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pip/_internal/cli/req_command.py b/src/pip/_internal/cli/req_command.py index bab4fbb7a..f92e2b509 100644 --- a/src/pip/_internal/cli/req_command.py +++ b/src/pip/_internal/cli/req_command.py @@ -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,