python packages: add build dependency on python-pbr
PATCH 1/1 python packages: add build dependency on python-pbr
Some packages fail to build because their dependency on python-pbr during built time is not properly stated in the recipe. Sometimes the build succeeds anyway because the python-pbr package has already been built previously. To avoid the occasional build failure, this patch adds a dependency on python-pbr to all those packages that declare it as a dependency in their setup.py file.
Signed-off-by Josep Puigdemont <[email protected]>
--- meta-openstack/recipes-devtools/python/python-cliff_1.13.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-glancestore_git.bb | 1 + .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.1.0.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.9.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.9.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.6.0.bb | 1 + meta-openstack/recipes-devtools/python/python-oslo.log_git.bb | 1 + .../recipes-devtools/python/python-oslo.messaging_git.bb | 2 ++ .../recipes-devtools/python/python-oslo.middleware_1.1.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.policy_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.7.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 1 + meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ .../recipes-devtools/python/python-oslo.vmware_1.19.0.bb | 1 + meta-openstack/recipes-devtools/python/python-oslotest_1.6.0.bb | 5 +++++ .../recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.9.0.bb | 2 ++ .../recipes-devtools/python/python-testscenarios_0.5.0.bb | 9 ++++++++- meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb | 5 ++++- meta-openstack/recipes-devtools/python/python-tooz_0.15.0.bb | 2 ++ 24 files changed, 77 insertions(+), 2 deletions(-)
meta-openstack/recipes-devtools/python/python-cliff_1.13.0.bb +5 -0
@@ -15,8 +15,13 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += "\ + python-pbr \ + " + RDEPENDS_${PN} += "python-prettytable \ python-cmd2 \ + python-pbr \ python-pyparsing" CLEANBROKEN = "1"
meta-openstack/recipes-devtools/python/python-glancestore_git.bb +1 -0
@@ -28,5 +28,6 @@ RDEPENDS_${PN} = " \ python-cinderclient \ python-oslo.config \ python-oslo.i18n \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-heat-cfntools_1.2.8.bb +8 -0
@@ -15,3 +15,11 @@ SRC_URI[sha256sum] = "de7d93338d3afb71cc4c53d713740316ead0af3a9c869b1231617347e9 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +DEPENDS += "\ + python-pbr \ + " + +RDPENDS_${PN} += "\ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb +8 -0
@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "9e42252f17d1dd89ee31745e0c4fbe58862c25147eb0ef5295c9cd9bcb S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils + +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb +4 -0
@@ -16,6 +16,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += "\ + python-pbr \ + " + RDEPENDS_${PN} += " \ python-pbr \ python-fixtures \
meta-openstack/recipes-devtools/python/python-openstackclient_1.1.0.bb +8 -0
@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "875b54ac95e29cc83ae76513b48306c8493c12d5ba7d23aea3432216f2 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-oslo.concurrency_1.9.0.bb +2 -0
@@ -19,8 +19,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.context_git.bb +2 -0
@@ -18,9 +18,11 @@ inherit setuptools DEPENDS += " \ python-pip \ python-babel \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ bash \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.db_1.9.0.bb +2 -0
@@ -17,6 +17,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \
@@ -28,4 +29,5 @@ RDEPENDS_${PN} += " \ python-sqlalchemy \ python-sqlalchemy-migrate \ python-stevedore \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.i18n_1.6.0.bb +1 -0
@@ -25,4 +25,5 @@ DEPENDS += " \ # RDEPENDS_default: RDEPENDS_${PN} += " \ python-babel \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.log_git.bb +1 -0
@@ -18,6 +18,7 @@ inherit setuptools DEPENDS += " \ python-pip \ python-babel \ + python-pbr \ " # RDEPENDS_default:
meta-openstack/recipes-devtools/python/python-oslo.messaging_git.bb +2 -0
@@ -19,9 +19,11 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ bash \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.middleware_1.1.0.bb +2 -0
@@ -19,8 +19,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.policy_0.4.0.bb +2 -0
@@ -18,10 +18,12 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \ python-oslo.config \ python-oslo.i18n \ python-oslo.serialization \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.rootwrap_1.7.0.bb +2 -0
@@ -19,8 +19,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb +1 -0
@@ -24,4 +24,5 @@ DEPENDS += " \ # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb +2 -0
@@ -19,8 +19,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.vmware_1.19.0.bb +1 -0
@@ -21,4 +21,5 @@ DEPENDS += " \ " RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslotest_1.6.0.bb +5 -0
@@ -18,6 +18,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += "\ + python-pbr \ + " + RDEPENDS_${PN} = "python-fixtures \ python-subunit \ python-testrepository \
@@ -25,5 +29,6 @@ RDEPENDS_${PN} = "python-fixtures \ python-testtools \ python-mock \ python-mox \ + python-pbr \ bash \ "
meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb +2 -0
@@ -20,10 +20,12 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ python-six \ python-webob \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-pycadf_0.9.0.bb +2 -0
@@ -19,6 +19,7 @@ FILES_${PN} += "${datadir}/etc/${SRCNAME}/*" DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \
@@ -29,4 +30,5 @@ RDEPENDS_${PN} += " \ python-pytz \ python-six \ python-webob \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb +8 -1
@@ -16,4 +16,11 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools -RDEPENDS_${PN} += " python-testtools" +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-testtools \ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb +4 -1
@@ -21,4 +21,7 @@ DEPENDS += " \ python-pbr \ " -RDEPENDS_${PN} += "python-extras" +RDEPENDS_${PN} += "\ + python-extras \ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-tooz_0.15.0.bb +2 -0
@@ -19,6 +19,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default:
@@ -27,4 +28,5 @@ RDEPENDS_${PN} += " \ python-zake \ python-sysv-ipc \ python-memcache \ + python-pbr \ "
Signature · 1 line
1.9.1