From e94ec92a80cdfd1421fa202f279c3c8b19ecdda0 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 25 Sep 2017 13:56:03 -0400 Subject: [PATCH] import urllib3 directly Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 799dce50..4d00ac1e 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -10,7 +10,7 @@ import tempfile from glob import glob import json as simplejson - +import urllib3 import background import click import click_completion @@ -116,7 +116,7 @@ if PIPENV_NOSPIN: yield # Disable warnings for Python 2.6. -requests.packages.urllib3.disable_warnings(InsecureRequestWarning) +urllib3.disable_warnings(InsecureRequestWarning) project = Project() diff --git a/setup.py b/setup.py index a5b393b3..3db2fd4c 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ required = [ 'pew>=0.1.26', 'pip>=9.0.1', 'pip-tools>=1.9.0', - 'requests>2.0.0', + 'requests>2.18.0', 'flake8' ]