From 7acc51ae86cf89b1d24a7b26dbabd13de51a67c4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 15 Sep 2017 10:50:36 -0400 Subject: [PATCH] increase timeout Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 7a739270..47480adb 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -141,7 +141,7 @@ def check_for_updates(): def ensure_latest_self(user=False): """Updates Pipenv to latest version, cleverly.""" try: - r = requests.get('https://pypi.python.org/pypi/pipenv/json', timeout=0.5) + r = requests.get('https://pypi.python.org/pypi/pipenv/json', timeout=2) except requests.RequestException as e: click.echo(crayons.red(e)) sys.exit(1)