Pin setuptools<66 version on lf-env.sh script until this is fixed
upstream. The lf-activate-venv function installs packages like
lftools, which in turn installs pygerrit2, and that fails due to
a broken pbr + setuptools >= 66 compatibility issues and bugs
are resolved.
Issue: IT-28129
Change-Id: I78576edbeec5f77ac710265ea28bd6e0bb5c2a0a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
echo "${FUNCNAME[0]}(): INFO: Save venv in file: $venv_file"
fi
- "$lf_venv/bin/python3" -m pip install --upgrade --quiet pip \
- virtualenv || return 1
+ # Pin setuptools<66 until the issue with pbr + setuptools >=66 is fixed
+ "$lf_venv/bin/python3" -m pip install --upgrade --quiet \
+ pip 'setuptools<66' virtualenv || return 1
if [[ -z $pkg_list ]]; then
echo "${FUNCNAME[0]}(): WARNING: No packages to install"
else
--- /dev/null
+---
+fixes:
+ - |
+ Pin setuptools<66 version on lf-env.sh script until this is fixed upstream. The lf-activate-venv
+ function installs packages like lftools, which in turn installs pygerrit2, and that fails due
+ to a broken pbr + setuptools >= 66 compatibility issues and bugs are resolved.