From c50c705eb6aaf72f2870ce3b7c4acf2ade63e5c6 Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Tue, 15 Jan 2013 11:17:45 -0500 Subject: [PATCH 1/2] Temporary workaround to our bizarre numpy issue. I think it's to do with the way shiningpanda works but I can't see any reason why. --- jenkins/test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jenkins/test.sh b/jenkins/test.sh index 7a61e914b7..67651ccf09 100755 --- a/jenkins/test.sh +++ b/jenkins/test.sh @@ -28,6 +28,11 @@ export PYTHONIOENCODING=UTF-8 GIT_BRANCH=${GIT_BRANCH/HEAD/master} +# Temporary workaround for pip/numpy bug. +wget -O /tmp/numpy.tar.gz http://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.tar.gz#md5=95ed6c9dcc94af1fc1642ea2a33c1bba +tar -zxvf /tmp/numpy.tar.gz -C /tmp/ +python /tmp/numpy-1.6.2/setup.py install + pip install -q -r pre-requirements.txt pip install -q -r test-requirements.txt yes w | pip install -q -r requirements.txt From 093839e13dc784a8a38441eb7593bef10164e8c8 Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Tue, 15 Jan 2013 11:39:59 -0500 Subject: [PATCH 2/2] flesh out comment. --- jenkins/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/test.sh b/jenkins/test.sh index 67651ccf09..e960313d76 100755 --- a/jenkins/test.sh +++ b/jenkins/test.sh @@ -28,7 +28,8 @@ export PYTHONIOENCODING=UTF-8 GIT_BRANCH=${GIT_BRANCH/HEAD/master} -# Temporary workaround for pip/numpy bug. +# Temporary workaround for pip/numpy bug. (Jenkin's is unable to pip install numpy successfully, scipy fails to install afterwards. +# We tried pip 1.1, 1.2, all sorts of varieties but it's apparently a pip bug of some kind. wget -O /tmp/numpy.tar.gz http://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.tar.gz#md5=95ed6c9dcc94af1fc1642ea2a33c1bba tar -zxvf /tmp/numpy.tar.gz -C /tmp/ python /tmp/numpy-1.6.2/setup.py install