--- /dev/null
+---
+fixes:
+ - |
+ Pin setuptools to the latest version before v66.0.0 to avoid PEP-440
+ non conforming versions errors while packages we use fix their version
+ string formats to be compatible. To maintain congruency we are pinning
+ setuptools to 65.7.0 in all places under global-jjb.
# shellcheck disable=SC1090
source ~/lf-env.sh
-lf-activate-venv jenkins-job-builder
+lf-activate-venv jenkins-job-builder setuptools==65.7.0
jenkins-jobs update --recursive --delete-old --workers "$workers" jjb/
virtualenv --quiet "/tmp/v/python"
# shellcheck source=/tmp/v/node/bin/activate disable=SC1091
source "/tmp/v/python/bin/activate"
-pip install --quiet --upgrade "pip==9.0.3" setuptools
+pip install --quiet --upgrade "pip==9.0.3" setuptools==65.7.0
pip install --quiet --upgrade nodeenv
# installs are silent, show version details in log
source ~/lf-env.sh
# Version controlled by JJB_VERSION
-lf-activate-venv setuptools twine wheel readline
+lf-activate-venv setuptools==65.7.0 twine wheel readline
bdist=""
if $BUILD_BDIST_WHEEL; then
source ~/lf-env.sh
# Version controlled by JJB_VERSION
-lf-activate-venv setuptools twine wheel readline
+lf-activate-venv setuptools==65.7.0 twine wheel readline
echo "INFO: cd to tox-dir $TOX_DIR"
python3 -m pip install --quiet --upgrade pip
# 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 setuptools==65.7.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"