Skip to content

Commit

Permalink
Merge pull request pypa#2916 from jxltom/fixed-vcs-isnot-supported-in…
Browse files Browse the repository at this point in the history
…-pip9

Fixed vcs is not supported in pip9
  • Loading branch information
uranusjr authored Oct 5, 2018
2 parents d65038e + 532aca3 commit 1207b78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/2912.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed pip is not loaded from pipenv's patched one but the system one
2 changes: 2 additions & 0 deletions pipenv/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# https://bugs.python.org/issue22490
os.environ.pop("__PYVENV_LAUNCHER__", None)

# Load patched pip instead of system pip
os.environ["PIP_SHIMS_BASE_MODULE"] = "pipenv.patched.notpip"

PIPENV_CACHE_DIR = os.environ.get("PIPENV_CACHE_DIR", user_cache_dir("pipenv"))
"""Location for Pipenv to store it's package cache.
Expand Down

0 comments on commit 1207b78

Please sign in to comment.