Dependency on pbr
PATCH 1/1 Dependency on pbr
I've been hitting build issues every now and then due to python packages that depend on python-pbr but have not properly declared this dependency in their respective recipes. I have fixed some of them as soon as they popped up, but that wouldn't catch all packages missing this dependency.
In order to fix this, I looked att the packages that declare a dependency on "pbr" in their setup.py file, and made it a dependency also in their respective recipe.
I hope this is the proper way to solve this.
Josep Puigdemont (1):
python packages: add build dependency on python-pbr
meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)
Signature · 1 line
1.9.1
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.
--- meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)
meta-openstack/recipes-devtools/python/python-glanceclient_git.bb +4 -0
@@ -25,6 +25,10 @@ inherit setuptools monitor FILES_${PN} += "${datadir}/${SRCNAME}" +DEPENDS += " \ + python-pbr \ + " + RDEPENDS_${PN} = "gmp \ python-warlock \ python-pyopenssl \
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 \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-mox3_0.7.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.0.3.bb +8 -0
@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "d39a2e6cf98d409f8545b9d3a207eb8cbf3b2fc5ea17b0f8d9bed52326 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "
meta-openstack/recipes-devtools/python/python-oslo.concurrency_1.5.0.bb +2 -0
@@ -20,8 +20,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} += " \ + python-pbr \ bash \ "
meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb +2 -0
@@ -18,6 +18,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \
@@ -29,4 +30,5 @@ RDEPENDS_${PN} += " \ python-sqlalchemy \ python-sqlalchemy-migrate \ python-stevedore \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb +2 -0
@@ -20,9 +20,11 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # 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_0.4.0.bb +2 -0
@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb +2 -0
@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-oslo.serialization_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.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-oslotest_1.4.0.bb +5 -0
@@ -19,6 +19,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += " \ + python-pbr \ +" + RDEPENDS_${PN} = "python-fixtures \ python-subunit \ python-testrepository \
@@ -26,5 +30,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.6.0.bb +2 -0
@@ -20,6 +20,7 @@ FILES_${PN} += "${datadir}/etc/${SRCNAME}/*" DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \
@@ -30,4 +31,5 @@ RDEPENDS_${PN} += " \ python-pytz \ python-six \ python-webob \ + python-pbr \ "
meta-openstack/recipes-devtools/python/python-tooz_0.4.bb +2 -0
@@ -20,6 +20,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default:
@@ -28,4 +29,5 @@ RDEPENDS_${PN} += " \ python-zake \ python-sysv-ipc \ python-memcache \ + python-pbr \ "
Signature · 1 line
1.9.1
Re: [meta-cloud-services][fido-kilo][PATCH] python packages: add build dependency on python-pbr
Quoted 7 lines · Josep Puigdemont
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.pyfile.
I have been using the dependencies listed in setup.py as a general guideline for determining package dependencies, especially those related to 'pbr'. So I would say the approach is sane and doing this in bulk sure beats a piecemeal approach.
I would guess that a similar patch is also needed for master? Would you be able to provide something for master as well?
Thanks,
Mark
Quoted 321 lines
Signed-off-by Josep Puigdemont <[email protected]>--- meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)meta-openstack/recipes-devtools/python/python-glanceclient_git.bb +4
-0@@ -25,6 +25,10 @@ inherit setuptools monitor FILES_${PN} += "${datadir}/${SRCNAME}" +DEPENDS += " \ + python-pbr \ + " + RDEPENDS_${PN} = "gmp \ python-warlock \ python-pyopenssl \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 \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "meta-openstack/recipes-devtools/python/python-mox3_0.7.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.0.3.bb +8
-0@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "d39a2e6cf98d409f8545b9d3a207eb8cbf3b2fc5ea17b0f8d9bed52326 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "meta-openstack/recipes-devtools/python/python-oslo.concurrency_1.5.0.bb +2
-0@@ -20,8 +20,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} += " \ + python-pbr \ bash \ "meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb +2
-0@@ -18,6 +18,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \@@ -29,4 +30,5 @@ RDEPENDS_${PN} += " \ python-sqlalchemy \ python-sqlalchemy-migrate \ python-stevedore \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb +2
-0@@ -20,9 +20,11 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # 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_0.4.0.bb +2
-0@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb +2
-0@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.serialization_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.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-oslotest_1.4.0.bb +5
-0@@ -19,6 +19,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += " \ + python-pbr \ +" + RDEPENDS_${PN} = "python-fixtures \ python-subunit \ python-testrepository \@@ -26,5 +30,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.6.0.bb +2
-0@@ -20,6 +20,7 @@ FILES_${PN} += "${datadir}/etc/${SRCNAME}/*" DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \@@ -30,4 +31,5 @@ RDEPENDS_${PN} += " \ python-pytz \ python-six \ python-webob \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-tooz_0.4.bb +2
-1@@ -20,6 +20,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default:@@ -28,4 +29,5 @@ RDEPENDS_${PN} += " \ python-zake \ python-sysv-ipc \ python-memcache \ + python-pbr \ " --1.9.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Re: [meta-cloud-services][fido-kilo][PATCH] python packages: add build dependency on python-pbr
Quoted 10 lines · Mark Asselstine
Quoted 7 lines · Josep Puigdemont
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.pyfile.
Quoted 7 lines
I have been using the dependencies listed in
setup.pyas a general guideline for determining package dependencies, especially those related to 'pbr'. So I would say the approach is sane and doing this in bulk sure beats a piecemeal approach.I would guess that a similar patch is also needed for master? Would you be able to provide something for master as well?
Yes, certainly, already on it :-)
/Josep
Quoted 325 lines
Thanks,
MarkQuoted 321 lines
Signed-off-by Josep Puigdemont <[email protected]>--- meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)meta-openstack/recipes-devtools/python/python-glanceclient_git.bb +4
-0@@ -25,6 +25,10 @@ inherit setuptools monitor FILES_${PN} += "${datadir}/${SRCNAME}" +DEPENDS += " \ + python-pbr \ + " + RDEPENDS_${PN} = "gmp \ python-warlock \ python-pyopenssl \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 \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "meta-openstack/recipes-devtools/python/python-mox3_0.7.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.0.3.bb +8
-0@@ -14,3 +14,11 @@ SRC_URI[sha256sum] = "d39a2e6cf98d409f8545b9d3a207eb8cbf3b2fc5ea17b0f8d9bed52326 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +DEPENDS += "\ + python-pbr \ + " + +RDEPENDS_${PN} += "\ + python-pbr \ + "meta-openstack/recipes-devtools/python/python-oslo.concurrency_1.5.0.bb +2
-0@@ -20,8 +20,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} += " \ + python-pbr \ bash \ "meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb +2
-0@@ -18,6 +18,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \@@ -29,4 +30,5 @@ RDEPENDS_${PN} += " \ python-sqlalchemy \ python-sqlalchemy-migrate \ python-stevedore \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb +2
-0@@ -20,9 +20,11 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # 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_0.4.0.bb +2
-0@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb +2
-0@@ -20,8 +20,10 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default: RDEPENDS_${PN} += " \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-oslo.serialization_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.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-oslotest_1.4.0.bb +5
-0@@ -19,6 +19,10 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools +DEPENDS += " \ + python-pbr \ +" + RDEPENDS_${PN} = "python-fixtures \ python-subunit \ python-testrepository \@@ -26,5 +30,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.6.0.bb +2
-0@@ -20,6 +20,7 @@ FILES_${PN} += "${datadir}/etc/${SRCNAME}/*" DEPENDS += " \ python-pip \ + python-pbr \ " RDEPENDS_${PN} += " \@@ -30,4 +31,5 @@ RDEPENDS_${PN} += " \ python-pytz \ python-six \ python-webob \ + python-pbr \ "meta-openstack/recipes-devtools/python/python-tooz_0.4.bb +2
-1@@ -20,6 +20,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + python-pbr \ " # RDEPENDS_default:@@ -28,4 +29,5 @@ RDEPENDS_${PN} += " \ python-zake \ python-sysv-ipc \ python-memcache \ + python-pbr \ " --1.9.1
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Quoted 10 lines · Josep Puigdemont
I've been hitting build issues every now and then due to python packages that depend on python-pbr but have not properly declared this dependency in their respective recipes. I have fixed some of them as soon as they popped up, but that wouldn't catch all packages missing this dependency.
In order to fix this, I looked att the packages that declare a dependency on "pbr" in theirsetup.pyfile, and made it a dependency also in their respective recipe.I hope this is the proper way to solve this.
In the latest incarnations of the layers and oe-core, it is. A while about ~ a year to a year and a half ago, adding pbr as a dependency was causing build issues with colliding packages and some built in routines.
That no longer seems to be the case, so I've merged this, and the one to master.
Bruce
Quoted 32 lines
Josep Puigdemont (1):
python packages: add build dependency on python-pbrmeta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)--
1.9.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 11 lines · Bruce Ashfield
Quoted 9 lines · Josep Puigdemont
I've been hitting build issues every now and then due to python packages that depend on python-pbr but have not properly declared this dependency in their respective recipes. I have fixed some of them as soon as they popped up, but that wouldn't catch all packages missing this dependency.
In order to fix this, I looked att the packages that declare a dependency on "pbr" in theirsetup.pyfile, and made it a dependency also in their respective recipe.
Quoted 5 lines
Quoted 1 line
I hope this is the proper way to solve this.
In the latest incarnations of the layers and oe-core, it is. A while about ~ a year to a year and a half ago, adding pbr as a dependency was causing build issues with colliding packages and some built in routines.
Aha, I understand, I wasn't aware of that, it's good to know.
Quoted 3 lines
That no longer seems to be the case, so I've merged this, and the one to master.
Thanks!
/Josep
Quoted 41 lines
Bruce
Quoted 32 lines
Josep Puigdemont (1):
python packages: add build dependency on python-pbrmeta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 4 ++++ .../recipes-devtools/python/python-heat-cfntools_1.2.8.bb | 8 ++++++++ meta-openstack/recipes-devtools/python/python-mox3_0.7.0.bb | 4 ++++ .../recipes-devtools/python/python-openstackclient_1.0.3.bb | 8 ++++++++ .../recipes-devtools/python/python-oslo.concurrency_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.db_1.5.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.i18n_1.4.0.bb | 2 ++ 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_0.4.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.rootwrap_1.5.0.bb | 2 ++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-oslotest_1.4.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-osprofiler_0.3.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pycadf_0.6.0.bb | 2 ++ meta-openstack/recipes-devtools/python/python-tooz_0.4.bb | 2 ++ 18 files changed, 54 insertions(+)--
1.9.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualizationSignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"