From 8f96c41395b7cd868f4208500510b966ae0ae911 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 28 Jan 2024 06:51:19 -0500 Subject: [PATCH] Only editable entry should trigger editable installs --- pipenv/utils/dependencies.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pipenv/utils/dependencies.py b/pipenv/utils/dependencies.py index 10cae818b0..868ea5a4eb 100644 --- a/pipenv/utils/dependencies.py +++ b/pipenv/utils/dependencies.py @@ -1207,9 +1207,7 @@ def is_required_version(version, specified_version): def is_editable(pipfile_entry): if hasattr(pipfile_entry, "get"): - return pipfile_entry.get("editable", False) or any( - pipfile_entry.get(key) for key in ("file", "path") + VCS_LIST - ) + return pipfile_entry.get("editable", False) return False