[libvirt] [jenkins-ci PATCH v3 02/12] mappings: Add python2-setuptools

Fabiano Fidêncio fidencio at redhat.com
Tue Oct 8 20:48:14 UTC 2019


python-setuptools, which will only be used on CentOS7, is needed in order
to properly use the pip module for installing meson.

Without this package, we would see failures as `ImportError: No module
named pkg_resources` when trying to use the pip module, even when using
its python3 version.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/vars/mappings.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 5c32c94..f69937a 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -816,6 +816,9 @@ mappings:
     Fedora: python2-nose
     FreeBSD: py27-nose
 
+  python2-setuptools:
+    CentOS7: python2-setuptools
+
   python3:
     default: python3
 
-- 
2.23.0




More information about the libvir-list mailing list