eec9163e0e
Fix multiple problems with python modules that cause build errors. * Avoid replacing RPM-owned python modules with pip: - Remove python-tox: installed via pip later in Dockerfile - Remove python-testrepository: installed via pip later in Dockerfile (required by pbr) - Add python-virtualenv: was pulled in by one of the removed packages above * builder-constraints.txt: used only for global packages: - Move all version constraints of Dockerfile into constraints file - Remove filelock and platformdirs packages (required by tox -- see below). - git-review: downgrade to 1.28.0, latest official version compatible with python 2.7 * Install a sane python 2.7 virtual environment that doesn't conflict with RPM modules, that includes tox. Create a symlink to tox in /usr/bin/. Uses a separate contraints file. * builder-opt-py27-constraints.txt: new file for the virtualenv in /opt: - tox==3.23.0 - Remove "filelock" and "platformdirs" packages formerly in the original constraints file. They resolve correctly by the tox requirement. Note that this downgrades the packages slightly compared to the explicit requirements, back to the latest official versions compatible with python 2.7. See revisions starlingx/tools revisions: |
||
---|---|---|
.. | ||
mock_overlay | ||
yum.repos.d | ||
.inputrc | ||
builder-constraints.txt | ||
builder-opt-py27-constraints.txt | ||
finishSetup.sh | ||
generate-centos-repo.sh | ||
generate-cgcs-centos-repo.sh | ||
generate-cgcs-tis-repo | ||
generate-local-repo.sh | ||
lst_utils.sh | ||
populate_downloads.sh | ||
WhatAreThese.md |