From 6597b5383485c8ffd06f5593c338d4793b7b8e82 Mon Sep 17 00:00:00 2001 From: Philip Lorenz Date: Thu, 19 Nov 2015 20:05:03 +0100 Subject: [PATCH] Specify minimum pyOpenSSL version urllib3 requires "set_tlsext_host_name" which was only added in pyOpenSSL 0.13. As some distributions (e.g. Ubuntu 12.04) still ship an older version enforce the correct minimum version during installation. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 745531bf..b7ed12ba 100755 --- a/setup.py +++ b/setup.py @@ -69,6 +69,6 @@ setup( 'Programming Language :: Python :: 3.5', ), extras_require={ - 'security': ['pyOpenSSL', 'ndg-httpsclient', 'pyasn1'], + 'security': ['pyOpenSSL>=0.13', 'ndg-httpsclient', 'pyasn1'], }, )