 +            continue
 +        else:
 +            return getattr(imported, package)
-
+ 
 +if PIP_VERSION[:2] <= (20, 0):
      def install_req_from_parsed_requirement(req, **kwargs):
          return req
-
+ 
 -
  else:
 -    from pip._internal.req.constructors import install_req_from_parsed_requirement
 +    from pipenv.patched.notpip._internal.req.constructors import install_req_from_parsed_requirement
-
+ 
 +InstallRequirement = pip_shims.shims.InstallRequirement
 +InstallationError = pip_shims.shims.InstallationError
 +parse_requirements = pip_shims.shims.parse_requirements

+            ireq.markers,
             constraint=ireq.constraint,
         )

+    def get_dependencies(self, ireq):
+        json_results = set()
+

@@ -6,7 +6,7 @@ import os
 import platform
 import sys
 
-from pip._vendor.packaging.requirements import Requirement
+from pipenv.vendor.packaging.requirements import Requirement
 
 from .exceptions import PipToolsError
 from .utils import as_tuple, key_from_req, lookup_table
diff --git a/pipenv/patched/piptools/locations.py b/pipenv/patched/piptools/locations.py
