From 438c344ba59e10b32a3164c7fc643593c05c97ef Mon Sep 17 00:00:00 2001
From: Matt Davis <matteius@gmail.com>
Date: Sat, 27 Aug 2022 18:38:50 -0400
Subject: [PATCH] Remove no longer used method which_pip

---
 pipenv/core.py | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/pipenv/core.py b/pipenv/core.py
index 03a3e4dc75..c9b0ef0f21 100644
--- a/pipenv/core.py
+++ b/pipenv/core.py
@@ -1764,26 +1764,6 @@ def fallback_which(command, location=None, allow_global=False, system=False):
     return ""
 
 
-def which_pip(project):
-    """Prefers to utilize the vendor'd version of pip, falls back to the location of virtualenv-installed pip."""
-
-    location = None
-    if "VIRTUAL_ENV" in os.environ:
-        location = os.environ["VIRTUAL_ENV"]
-
-    pip = project._which("python", location=location)
-    if pip:
-        return pip
-    if not pip:
-        for p in ("pip", "pip3", "pip2"):
-            where = system_which(p)
-            if where:
-                return where
-
-    pip = fallback_which("pip", allow_global=True, location=location)
-    return pip
-
-
 def format_help(help):
     """Formats the help string."""
     help = help.replace("Options:", str(click.style("Options:", bold=True)))