mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Update requests.packages import path
Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# // ) ) / / // ) ) //___) ) // ) ) || / /
|
||||
# //___/ / / / //___/ / // // / / || / /
|
||||
# // / / // ((____ // / / ||/ /
|
||||
__version__ = '11.10.1.dev2'
|
||||
__version__ = '11.10.1.dev3'
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import sys
|
||||
# I don't like it either. Just look the other way. :)
|
||||
|
||||
for package in ('urllib3', 'idna', 'chardet'):
|
||||
vendored_package = "pip._vendor." + package
|
||||
vendored_package = "pip9._vendor." + package
|
||||
locals()[package] = __import__(vendored_package)
|
||||
# This traversal is apparently necessary such that the identities are
|
||||
# preserved (requests.packages.urllib3.* is urllib3.*)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/pipenv/vendor/pip9/_vendor/requests/packages.py b/pipenv/vendor/pip9/_vendor/requests/packages.py
|
||||
index 9582fa7..3aca6f7 100644
|
||||
--- a/pipenv/vendor/pip9/_vendor/requests/packages.py
|
||||
+++ b/pipenv/vendor/pip9/_vendor/requests/packages.py
|
||||
@@ -4,7 +4,7 @@ import sys
|
||||
# I don't like it either. Just look the other way. :)
|
||||
|
||||
for package in ('urllib3', 'idna', 'chardet'):
|
||||
- vendored_package = "pip._vendor." + package
|
||||
+ vendored_package = "pip9._vendor." + package
|
||||
locals()[package] = __import__(vendored_package)
|
||||
# This traversal is apparently necessary such that the identities are
|
||||
# preserved (requests.packages.urllib3.* is urllib3.*)
|
||||
Reference in New Issue
Block a user