Merge "Fix six package on opensuse for pip 10"

This commit is contained in:
Zuul 2019-09-30 17:15:28 +00:00 committed by Gerrit Code Review
commit 729f8b8ca6
2 changed files with 4 additions and 3 deletions

View File

@ -796,9 +796,6 @@ if [[ "$OFFLINE" != "True" ]]; then
PYPI_ALTERNATIVE_URL=${PYPI_ALTERNATIVE_URL:-""} $TOP_DIR/tools/install_pip.sh
fi
# Install subunit for the subunit output stream
pip_install -U os-testr
TRACK_DEPENDS=${TRACK_DEPENDS:-False}
# Install Python packages into a virtualenv so that we can track them
@ -816,6 +813,9 @@ fi
source $TOP_DIR/tools/fixup_stuff.sh
fixup_all
# Install subunit for the subunit output stream
pip_install -U os-testr
if [[ "$USE_SYSTEMD" == "True" ]]; then
pip_install_gr systemd-python
# the default rate limit of 1000 messages / 30 seconds is not

View File

@ -256,6 +256,7 @@ function fixup_suse {
# overwriting works. So this hacks around those packages that
# have been dragged in by some other system dependency
sudo rm -rf /usr/lib/python3.6/site-packages/ply-*.egg-info
sudo rm -rf /usr/lib/python3.6/site-packages/six-*.egg-info
}
# The version of pip(1.5.4) supported by python-virtualenv(1.11.4) has