From 93f82c477eddf878328fccb91fc8f2c93f12cdba Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Wed, 21 Nov 2018 13:20:44 -0500 Subject: [PATCH] Fix accidentally-shortened installation timeouts - Fixes #3244 Signed-off-by: Dan Ryan --- news/3244.bugfix.rst | 1 + pipenv/utils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/3244.bugfix.rst diff --git a/news/3244.bugfix.rst b/news/3244.bugfix.rst new file mode 100644 index 00000000..9ee6d992 --- /dev/null +++ b/news/3244.bugfix.rst @@ -0,0 +1 @@ +Corrected an issue with installation timeouts which caused dependency resolution to fail for longer duration resolution steps. diff --git a/pipenv/utils.py b/pipenv/utils.py index 49975b16..2dd56152 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -514,7 +514,7 @@ def resolve(cmd, sp): out = to_native_string("") while True: try: - result = c.expect(u"\n", timeout=environments.PIPENV_TIMEOUT) + result = c.expect(u"\n", timeout=environments.PIPENV_INSTALL_TIMEOUT) except (EOF, TIMEOUT): pass if result is None: