Use yoga upper constraints in dev scripts

This is required to be able to install tenks. Otherwise, we try to
install Jinja2 3.1.2 which requires Python 3.7 or newer.

Change-Id: Ie497b191b6de8bc818dc4a2a12f7129a02d0fd00
This commit is contained in:
Pierre Riteau 2022-07-05 09:46:33 +02:00
parent 836f394a6d
commit d190e9e3a3

View File

@ -72,7 +72,8 @@ function config_defaults {
if [ -f "${PARENT}/../.gitreview" ]; then
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' "${PARENT}/../.gitreview")
if [[ "${BRANCH}" == "" ]]; then
SERIES="master"
# TODO(priteau): Revert to master once we use Python 3.8+
SERIES="yoga"
else
SERIES="$(echo ${BRANCH} | sed 's|stable/||')"
fi