From 2be2eafe1b191bb3c88a475820a69ef12a18f317 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 24 Feb 2014 23:10:08 +0100 Subject: [PATCH] jenkins.sh,start.sh: recent version of pyOpenSSL are incompatible with requests Bug is fixed in trunk https://github.com/kennethreitz/requests/issues/1887 but waiting for requests 2.3.0 we will force pyOpenSSL<0.13. --- jenkins.sh | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins.sh b/jenkins.sh index 6661e0d..3b98f7c 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -2,7 +2,7 @@ pip install --upgrade setuptools pip install --upgrade pip pip install --upgrade pylint -pip install --upgrade pyOpenSSL ndg-httpsclient requests pyasn1 +pip install --upgrade pyOpenSSL\<0.13 ndg-httpsclient requests pyasn1 sed -i 's/^MAX = 64/MAX = 200/' $VIRTUAL_ENV/lib/python*/site-packages/ndg/httpsclient/subj_alt_name.py pip install --upgrade -r requirements.txt diff --git a/start.sh b/start.sh index b7e4291..edc6b84 100755 --- a/start.sh +++ b/start.sh @@ -20,7 +20,7 @@ if [ "$VIRTUAL_ENV" = "" ]; then fi pip install --upgrade setuptools pip install --upgrade pip -pip install --upgrade pyOpenSSL ndg-httpsclient requests +pip install --upgrade pyOpenSSL\<0.13 ndg-httpsclient requests sed -i 's/^MAX = 64/MAX = 200/' $VENV/lib/python*/site-packages/ndg/httpsclient/subj_alt_name.py pip install --upgrade --process-dependency-links -r requirements.txt if [ ! -f $PROJECT.db ]; then