Issue-ID: RELENG-4562
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: I13737f8a5d671ba2c1f66cd87ae817ead8d5442c
--- /dev/null
+---
+fixes:
+ - |
+ setuptools 66.0.0 enforces specific version number check. A lot of plugins
+ will fails on this, and generates the following error
+ pkg_resources.extern.packaging.version.InvalidVersion
+
+ To temporarily fix this, we pin setuptools to <66.0.0
+
+ Further information
+ https://github.com/pypa/setuptools/issues/3772#issuecomment-1384342813
+ https://setuptools.pypa.io/en/latest/history.html#v66-0-0
fi
python3 -m pip install --quiet --upgrade pip
- python3 -m pip install --quiet --no-warn-script-location --upgrade setuptools
+ # TODO: temporarily pinning setuptools to avoid plugin version format issues
+ # https://github.com/pypa/setuptools/issues/3772#issuecomment-1384342813
+ python3 -m pip install --quiet --no-warn-script-location --upgrade setuptools<66.0.0
python3 -m pip install --quiet --no-warn-script-location --upgrade lftools[openstack]
python3 -m pip install --quiet --no-warn-script-location --upgrade \
--upgrade-strategy eager -r "$requirements_file"