Pip 22.0 doesn't support Python versions prior to 3.7, so the
unversioned get-pip.py script refuses to run under Ubuntu Bionic's
default python3 interpreter. Add a 3.6-specific URL instead to work
around this.
Change-Id: Icab5f4dd45d8f290a2f52db083cdc564e5a08776
When installing bots on eavesdrop with py27/py35, there is a
regression with the latest pbr release. The workaround is to
have pbr preinstalled in the pip3 role.
Change-Id: I5ea790a50e180df36b480dcbb13530a80f398b5e
The path for get-pip.py script in version 3.5 has been changed
with this commit [1].
[1] 2360f025eb
Change-Id: Ie13a6597c23c0a376f9feba2aed664e1129c5b60
The get-pip script does not work well with python3.5/xenial
It raises error during installation [1].
Use python3.5 specific url to install working version.
[1] https://github.com/pypa/get-pip/issues/83
Change-Id: Iea35d9df1ea5f2b8ea5e5d29b4c79e97c99848a1
We need newer docker-compose for functionality like stop_grace_period
and the easiest way to get that is via pypi. To install from there we
need pip.
This also fixes pip3 to work on xenial which doesn't have a
python3-distutils package.
Change-Id: I5f5431cac7eb191f2f5443892292ca5a236fe1e6
Our base images have pip pre-installed from get-pip. This means
that the installation of pip and virtualenv from distro packages
in the ansible is misleading.
Update the role to match reality.
Change-Id: I500b14f9f9df00b6e0c4f152f8b4c7faa1bb94d4
It seems that the package module doesn't have a default value for the
state of a package. So not specifying it is essentially a no-op. Specify
state: present so that we really get the packages installed that we want
to have.
Change-Id: Ied9484c74922b9f48e14205b73ca95066a68a87f
We can directly pass a list of packages to the package task in ansible,
this will help save us some times on run times.
Change-Id: I9b26f4f4f9731dc7d32186584620f1cec04b7a81
Signed-off-by: Paul Belanger <pabelanger@redhat.com>