Skip to content

Commit

Permalink
automation: workaround pip bug
Browse files Browse the repository at this point in the history
The bug [1] in pip let the integrationtests fail on pyton 2.
The workaround is to use the previous pip version in tox.

[1]
  pypa/pip#8658

Change-Id: I2aa8747097dea7e8efd12e718409b8c7fa6d01a5
Signed-off-by: Dominik Holler <dholler@redhat.com>
  • Loading branch information
dominikholler committed Aug 24, 2020
1 parent cda91e3 commit 08be371
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automation/check-merged.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

if [ "$(rpm --eval "%dist"|cut -c2-4)" == "el7" ] ; then
pip install --upgrade pip
export TOX_PIP_VERSION=20.1
PIP=pip
VARIANT=
else
PIP=pip-3
VARIANT="3"
fi
$PIP install -U tox
$PIP install -U tox tox-pip-version
$PIP install -U requests-mock==1.5.2

export PATH=/usr/local/bin:$PATH
Expand Down

0 comments on commit 08be371

Please sign in to comment.