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' ]