Skip to content

Commit a5e457e

Browse files
author
Antony Messerli
committed
FLEEK-125 Remove six before redeploy-ansible
remove six module to avoid hitting a bug in setuptools 34.1.0 pypa/setuptools#951 this will be reinstalled fresh during the redeploy of ansible
1 parent 67f22d9 commit a5e457e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/pre_leap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ fi
4343
# RLM-682 versions past 2.5.2 break things
4444
echo "python-ldap==2.5.2" >> /opt/rpc-openstack/openstack-ansible/global-requirement-pins.txt
4545

46-
# FLEEK-125 six module exceptions on 34.1.0 so if we find this in pins, use the one set in mitaka-eol
47-
if grep '^setuptools==34.1.0' /opt/rpc-openstack/openstack-ansible/global-requirement-pins.txt; then
48-
sed -i 's|^setuptools.*|setuptools==33.1.1|g' /opt/rpc-openstack/openstack-ansible/global-requirement-pins.txt
49-
fi
46+
# remove six and cryptography modules to avoid hitting a bug in setuptools 34.1.0
47+
# https://github.com/pypa/setuptools/issues/951
48+
# this will be reinstalled fresh during the redeploy of ansible
49+
pip uninstall -y six cryptography
5050

5151
# RLM-1375 Skip certain hardening tags during leap
5252
export SKIP_HARDENING_TAGS="V-38462,V-38660"

0 commit comments

Comments
 (0)