For OpenSUSE Leap, use more recent version of zVMCloudConnector
When building requirements image, contraints try to bring in 0.3.5 version of zVMCloudConnector, however this one requires python version at most 3.5. However Leap 15 only has python 3.6. Change-Id: I15f57006246059ead08d2cbc4ee494b3891e2081
This commit is contained in:
parent
64de1b3869
commit
329e83a6e3
|
@ -20,6 +20,15 @@ fi
|
|||
# anymore
|
||||
sed -i '/python-qpid-proton===0.14.0/d' /upper-constraints.txt
|
||||
|
||||
# zVMCloudConnector for queens requires python<=3.5, but Leap has already python3.6
|
||||
case ${distro} in
|
||||
opensuse|opensuse-leap|opensuse-tumbleweed|sles)
|
||||
if [[ "${PYTHON3}" != "no" ]] && [[ "${PROJECT_REF}" == "stable/queens" ]]; then
|
||||
sed -i 's/zVMCloudConnector===0.3.5/zVMCloudConnector===1.0.0/' /upper-constraints.txt
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${PYTHON3}" == "no" ]]; then
|
||||
ignore_wheels=py2
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue