From c43931ea8ca248bc21bd4f01b7276c9d097deb47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Wed, 20 Mar 2013 11:27:46 -0300 Subject: [PATCH] Use latest pyOpenSSL for all travis tests environments SSLv2 was removed from OpenSSL 1.0 and above but it is still referenced by pyOpenSSL < 0.13. Travis workers are precise hosts with OpenSSL 1.0 and pyOpenSSL 0.12 (!) with a debian patch to workaround this problem that is not present in pyOpenSSL 0.12 shipped by PyPi. Trying to install pyOpenSSL 0.10 or 0.12 from packages at PyPi under a system with OpenSSL >= 1.0 will success but fails at import time with a message similar to: ImportError: .../lib/python2.7/site-packages/OpenSSL/SSL.so: undefined symbol: SSLv2_method --- .travis/requirements-lucid.txt | 3 ++- .travis/requirements-precise.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis/requirements-lucid.txt b/.travis/requirements-lucid.txt index b32e2cb7c..3d73c7d38 100644 --- a/.travis/requirements-lucid.txt +++ b/.travis/requirements-lucid.txt @@ -1,4 +1,5 @@ -pyOpenSSL==0.10 +# travis workers uses openssl 1.0 that fails for pyOpenSSL < 0.13 +pyOpenSSL lxml==2.2.4 twisted==10.0.0 boto==1.9b diff --git a/.travis/requirements-precise.txt b/.travis/requirements-precise.txt index eb1fbac9b..5d6ddc1b1 100644 --- a/.travis/requirements-precise.txt +++ b/.travis/requirements-precise.txt @@ -1,4 +1,5 @@ -pyOpenSSL==0.12 +# travis workers uses openssl 1.0 that fails for pyOpenSSL < 0.13 +pyOpenSSL lxml==2.3.2 twisted==11.1.0 boto==2.2.2