From e3fc65b43e71c7c83b2019faf11e93aa3ab82b7b Mon Sep 17 00:00:00 2001 From: wutianwei Date: Mon, 16 Oct 2017 11:12:50 +0800 Subject: Ascertain the pandas version the 0.21.0rc1 version of pandas will block the gnocchi install, so we use 0.20.3. we replace the pandas package in repo Change-Id: Ic8d9fa3a691b64a0783034ffbf0d958427e30d16 Signed-off-by: wutianwei (cherry picked from commit 05aafa14c76537222fac2f93fc6ab7bec741cff5) --- .../roles/config-osa/templates/repo_fix_pandas.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 deploy/adapters/ansible/roles/config-osa/templates/repo_fix_pandas.yml (limited to 'deploy/adapters/ansible/roles/config-osa/templates/repo_fix_pandas.yml') diff --git a/deploy/adapters/ansible/roles/config-osa/templates/repo_fix_pandas.yml b/deploy/adapters/ansible/roles/config-osa/templates/repo_fix_pandas.yml new file mode 100644 index 00000000..4605089f --- /dev/null +++ b/deploy/adapters/ansible/roles/config-osa/templates/repo_fix_pandas.yml @@ -0,0 +1,15 @@ +############################################################################## +# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +--- +- name: change pandas version + shell: | + mkdir -p /tmp/pandas; + pip install pandas==0.20.3 -d /tmp/pandas; + rm -rf {{ repo_dest_path }}/pandas* + cp /tmp/pandas/pandas-0.20.3-cp27-cp27mu-manylinux1_x86_64.whl {{ repo_dest_path }} -- cgit 1.2.3-korg