echo "Get the current support version of the package ${package}"
wget "https://raw.githubusercontent.com/openstack/requirements/stable/${openstack_version}/upper-constraints.txt" -O /tmp/constraints.txt 2>/dev/null
#python openstackclient version in rocky contradicts with version in global-jjb and stops openstackclient installation in rocky. Will be removed based on version change in global-jjb.
- sed -i s/python-openstackclient===3.16.2/python-openstackclient===3.14.0/ /tmp/constraints.txt
+ $PYTHON -m pip install setuptools===34.4.0
+ $PYTHON -m pip install python-openstackclient===3.16.3
+ sed -i s/osc-lib===1.11.1/osc-lib\>=2.0.0/ /tmp/constraints.txt
+ sed -i s/python-openstackclient===3.14.0/python-openstackclient===3.16.3/ /tmp/constraints.txt
+ sed -i s/keystoneauth1===3.10.1/keystoneauth1===3.18.0/ /tmp/constraints.txt
+ sed -i s/openstacksdk===0.17.3/openstacksdk===0.48.0/ /tmp/constraints.txt
+ sed -ie 's/os-service-types===.*/os-service-types===1.7.0/' /tmp/constraints.txt
+ sed -i s/stevedore===1.29.0/stevedore\>=3.0.0/ /tmp/constraints.txt
#Python uwsgi 2.0.19 is having errors, forcing it to pick 2.0.18
sed -i '1 auwsgi===2.0.18' /tmp/constraints.txt
#Python3 paramiko 2.7.1 has requirement cryptography>=2.5, Updating it to the latest
done
if [ "${ENABLE_NETWORKING_L2GW}" == "yes" ]; then
+ #alembic 1.4.2 is having issues. Updating the package with 1.4.0
+ $PYTHON -m pip install alembic===1.4.0
#networking-l2gw is not officially available in any release yet. Getting the latest stable version.
$PYTHON -m pip install networking-l2gw==11.0.0 more-itertools==5.0.0
fi