Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
upgrade pip to fix installing cryptography issue
Browse files Browse the repository at this point in the history
ref: frappe/bench#1117
  • Loading branch information
zhenz committed Mar 31, 2021
1 parent 51f7c15 commit 104ce43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions create-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ if [ ! -d tripleo-image-elements ]; then
sed -i 's/virtualenv --setuptools/python3 -m venv/' tripleo-image-elements/elements/os-apply-config/install.d/os-apply-config-source-install/10-os-apply-config
sed -i 's/virtualenv --setuptools/python3 -m venv/' tripleo-image-elements/elements/os-collect-config/install.d/os-collect-config-source-install/10-os-collect-config
sed -i 's/virtualenv --setuptools/python3 -m venv/' tripleo-image-elements/elements/os-refresh-config/install.d/os-refresh-config-source-install/10-os-refresh-config
sed -i '10i $OS_COLLECT_CONFIG_VENV_DIR/bin/pip install --upgrade pip' tripleo-image-elements/elements/os-collect-config/install.d/os-collect-config-source-install/10-os-collect-config
fi
if [ ! -d heat-agents ]; then
git clone https://git.openstack.org/openstack/heat-agents.git
Expand Down
6 changes: 4 additions & 2 deletions elements/chameleon-common/install.d/03-pip-installs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ fi
set -eu
set -o pipefail

pip3 install --upgrade pip

pip3 install \
python-cinderclient \
python-glanceclient \
Expand All @@ -18,5 +20,5 @@ pip3 install \
python-swiftclient \
gnocchiclient \
ansible \
libvirt-python

libvirt-python \
--ignore-installed PyYAML

0 comments on commit 104ce43

Please sign in to comment.