--- /dev/null
+---
+fixes:
+ - |
+ Extend shell scripts that invoke pip freeze to show
+ python and pip versions also
source "$JJB_VENV/bin/activate"
python -m pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION"
-echo "----> pip freeze"
+# installs are silent, show version details in log
+python --version
+pip --version
pip freeze
pip install --quiet --upgrade "pip==9.0.3" setuptools
pip install --quiet --upgrade nodeenv
-echo "----> pip freeze"
+# installs are silent, show version details in log
+python --version
+pip --version
pip freeze
python3 -m pip install --user --quiet --no-warn-script-location --upgrade setuptools
python3 -m pip install --user --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file"
# installs are silent, show version details in log
+ python3 --version
+ python3 -m pip --version
python3 -m pip freeze
rm -rf "$requirements_file"
touch /tmp/pre-build-complete
# Tox version is pulled in through detox to mitigate version conflict
-
if [[ $PYTHON == "python2" ]]; then
$PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv more-itertools~=5.0.0
else
$PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv
fi
-
+# installs are silent, show version details in log
+$PYTHON --version
+$PYTHON -m pip --version
$PYTHON -m pip freeze