mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 15:20:59 +00:00
53a23586f8
- Fixes #2258 - Add patch to prevent import rewrites from catching this again - Add useful debugging line to print errors to stderr Signed-off-by: Dan Ryan <dan@danryan.co>
19 lines
758 B
Diff
19 lines
758 B
Diff
diff --git a/pipenv/vendor/pipdeptree.py b/pipenv/vendor/pipdeptree.py
|
|
index a62badf7..a2ea83fd 100644
|
|
--- a/pipenv/vendor/pipdeptree.py
|
|
+++ b/pipenv/vendor/pipdeptree.py
|
|
@@ -14,10 +14,10 @@ except ImportError:
|
|
from ordereddict import OrderedDict
|
|
|
|
try:
|
|
- from pipenv.patched.notpip._internal import get_installed_distributions
|
|
- from pipenv.patched.notpip._internal.operations.freeze import FrozenRequirement
|
|
+ from pip._internal import get_installed_distributions
|
|
+ from pip._internal.operations.freeze import FrozenRequirement
|
|
except ImportError:
|
|
- from pipenv.patched.notpip import get_installed_distributions, FrozenRequirement
|
|
+ from pip import get_installed_distributions, FrozenRequirement
|
|
|
|
import pkg_resources
|
|
# inline:
|