install-deps: use system pip and bindep for installing dependencies

Updating pip was required long ago to work around Ubuntu and CentOS 7
problems. Now even CentOS 8 has pip 9.0 which should be enough for us.

Also moving binary dependencies to bindep and install them before
we try to install Python dependencies (to be able to compile them).

Workarounds is needed for segfault on Ubuntu because of cryptography:
remove python3-cryptography package and avoid --ignore-installed.

This change makes install-deps work on openSUSE again.

Change-Id: Ib9b81075f35068c046880de46b20f98ef71a8d8e
This commit is contained in:
Dmitry Tantsur
2020-05-25 14:01:27 +02:00
parent 8b7a41e247
commit a381b0f9c0
3 changed files with 28 additions and 76 deletions

View File

@@ -15,10 +15,14 @@ mariadb [platform:suse]
mariadb-server [platform:redhat platform:dpkg]
net-tools
python3 [platform:rpm]
python3-apt [platform:dpkg]
python3-minimal [platform:dpkg]
python3-devel [platform:rpm]
python3-dev [platform:dpkg]
python3-dnf [platform:fedora]
python3-venv [platform:dpkg]
python3-xml [platform:suse]
redhat-rpm-config [platform:fedora]
wget
sudo
ebtables