[libvirt] [jenkins-ci PATCH 09/22] guests, libvirt-dbus: Add python3-mccabe dependency

Fabiano Fidêncio fidencio at redhat.com
Mon Dec 9 15:20:50 UTC 2019


Seems that for all OSes where we run libvirt-dbus tests python3-mccabe
is pulled together when installing flake8. However, this is not the case
for CentOS 8 and that's the reason for explicitly adding the dependency
here.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 guests/vars/mappings.yml              | 3 +++
 guests/vars/projects/libvirt-dbus.yml | 1 +
 2 files changed, 4 insertions(+)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 79e7acd..7b16a59 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -850,6 +850,9 @@ mappings:
     FreeBSD: py36-lxml
     CentOS7: python36-lxml
 
+  python3-mccabe:
+    CentOS8: python3-mccabe
+
   python3-nose:
     default: python3-nose
     FreeBSD: py36-nose
diff --git a/guests/vars/projects/libvirt-dbus.yml b/guests/vars/projects/libvirt-dbus.yml
index 248637b..528fcc6 100644
--- a/guests/vars/projects/libvirt-dbus.yml
+++ b/guests/vars/projects/libvirt-dbus.yml
@@ -6,4 +6,5 @@ packages:
   - python3-dbus
   - python3-entrypoints
   - python3-gi
+  - python3-mccabe
   - python3-pytest
-- 
2.23.0




More information about the libvir-list mailing list