mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 15:20:59 +00:00
ed3f206e64
- Update gitignore entries for mypy config - Update release task to add version after bumping but before release - Fixes #3326 (going forward at least) - Split out patching from vendoring so it can be done as a separate step if needed - Update patches to account for updated packages - Fixes #3432 - Fixes #2757 - Fixes #3305 - Fixes #2914 - Fixes #3439 - Fixes #3422 - Fixes #3378 - Fixes #3376 - Fixes #3315 Signed-off-by: Dan Ryan <dan@danryan.co>
21 lines
775 B
Diff
21 lines
775 B
Diff
diff --git a/pipenv/vendor/pipdeptree.py b/pipenv/vendor/pipdeptree.py
|
|
index 7820aa5..2082fc8 100644
|
|
--- a/pipenv/vendor/pipdeptree.py
|
|
+++ b/pipenv/vendor/pipdeptree.py
|
|
@@ -13,11 +13,9 @@ try:
|
|
except ImportError:
|
|
from ordereddict import OrderedDict
|
|
|
|
-try:
|
|
- from pipenv.patched.notpip._internal.utils.misc import get_installed_distributions
|
|
- from pipenv.patched.notpip._internal.operations.freeze import FrozenRequirement
|
|
-except ImportError:
|
|
- from pipenv.patched.notpip import get_installed_distributions, FrozenRequirement
|
|
+pardir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
+sys.path.append(pardir)
|
|
+from pipenv.vendor.pip_shims import get_installed_distributions, FrozenRequirement
|
|
|
|
import pkg_resources
|
|
# inline:
|
|
|