Skip to content

Commit

Permalink
Only editable entry should trigger editable installs
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Jan 28, 2024
1 parent 2bd7eab commit 8f96c41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pipenv/utils/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 8f96c41

Please sign in to comment.