mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix failing FreeBSD CI (#1010)
* Print Python and pip version. * Try a newer setuptools. * Dump more info. * Try to upgrade setuptools outside the venv. * pip36 -> pip3
This commit is contained in:
parent
dd9e999c9f
commit
75d1894866
1 changed files with 14 additions and 0 deletions
|
@ -8,7 +8,21 @@ fi
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
|
uname -a
|
||||||
|
if [[ $(uname -a) =~ FreeBSD\ 12\.0-RELEASE ]]
|
||||||
|
then
|
||||||
|
# On FreeBSD 12.0 images, upgrade setuptools to avoid error with multidict
|
||||||
|
# This is a bug in pip, which happens because the old setuptools from outside
|
||||||
|
# the venv leaks into the venv (https://github.com/pypa/pip/issues/6264).
|
||||||
|
# Since it is not fixed in latest pip (which is available in the venv), we
|
||||||
|
# need to upgrade setuptools outside the venv.
|
||||||
|
pip3 install --upgrade setuptools
|
||||||
|
fi
|
||||||
|
|
||||||
source virtualenv.sh
|
source virtualenv.sh
|
||||||
|
python --version
|
||||||
|
pip --version
|
||||||
|
pip show setuptools
|
||||||
pip install openshift -c constraints.txt
|
pip install openshift -c constraints.txt
|
||||||
|
|
||||||
./server.py &
|
./server.py &
|
||||||
|
|
Loading…
Reference in a new issue