From 8d428692f30e4bb81898696f10587b00b328f5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Miguel=20Neves?= Date: Thu, 18 Oct 2018 09:03:39 +0100 Subject: [PATCH 1/2] pin urllib3 to a version compatible with requests --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 3fb190add..5b73ae8f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,8 @@ python-dateutil>=2.6.1, <2.7.0 python-slugify==1.2.4 PyYAML==3.13 requests>=2.10.0 +# requests has issues with urllib3 1.24 +urllib3<=1.23 six>=1.11.0 toml>=0.9.4 tqdm==4.19.1 From 67b799d807e0a451d06b59940ddaff7a2576ec7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Miguel=20Neves?= Date: Fri, 19 Oct 2018 08:54:53 +0100 Subject: [PATCH 2/2] workaround for python setup.py install not uninstalling incompatible version --- test_requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_requirements.txt b/test_requirements.txt index 4ed9aca6a..83532428f 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -6,3 +6,6 @@ mock>=2.0.0 nose>=1.3.7 nose-timer==0.6.0 placebo>=0.8.1 +# requests has issues with urllib3 1.24 +# and if we install 1.24 here python setup.py install keeps both versions +urllib3<=1.23