From 25f44380481c07f6d78ec6944e6526ca20fcc87d Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 23 Sep 2017 12:26:38 -0400 Subject: [PATCH] no cache for updates Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 00cdd518..e939e8db 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -168,9 +168,9 @@ def ensure_latest_self(user=False): # Resolve user site, enable user mode automatically. if site.ENABLE_USER_SITE and site.USER_SITE in sys.modules['pipenv'].__file__: - args = ['install', '--upgrade', 'pipenv'] + args = ['install', '--upgrade', 'pipenv', '--no-cache'] else: - args = ['install', '--user', '--upgrade', 'pipenv'] + args = ['install', '--user', '--upgrade', 'pipenv', '--no-cache'] sys.modules['pip'].main(args)