From 94e66c013a8ab2c5664061aa3df8ef9aa61f98d6 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Fri, 9 Jun 2017 16:03:24 +0100 Subject: [PATCH] ts-openstack-deploy: Ignore libvirt-python version and use latest Devstack is going to try to install a specific version of libvirt-python (currently 2.5.0) but this fail with libvirt installed by osstest. Remove the requirement and use the latest available instead. Signed-off-by: Anthony PERARD Acked-by: Ian Jackson --- ts-openstack-deploy | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ts-openstack-deploy b/ts-openstack-deploy index befe3d3d..00f262fc 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -93,6 +93,21 @@ END } ); + target_editfile($ho, + "$builddir/requirements/upper-constraints.txt", + sub { + while () { + # Ignore libvirt-python requirement and install latest, + # otherwise it's not going to work with latest libvirt + # installed by osstest. + if (m/^libvirt-python===.*$/) { + next; + } + print EO or die $!; + } + } + ); + # Package python-systemd does not exist in Debian installed by osstest target_editfile($ho, "$builddir/devstack/files/debs/general", sub { while () { -- 2.39.5