[meta-virtualization] [m-c-s][PATCH 00/21] Error fix for recipes depend on python-pbr

Bruce Ashfield bruce.ashfield at gmail.com
Tue Jan 5 08:44:16 PST 2016


On Tue, Jan 5, 2016 at 11:36 AM, Mark Asselstine <
mark.asselstine at windriver.com> wrote:

> On Mon, Jan 4, 2016 at 9:00 PM, Li Xin <lixin.fnst at cn.fujitsu.com> wrote:
> > [PATCH 01/21] ~ [PATCH 21/21] are recipes depend on python-pbr.
> > And they will download pbr modules in the step of do_compile.
> > If your network is not very well,errors will occur as following:
> >   Download error on https://pypi.python.org/simple/pbr/:
> >   [Errno -5] No address associated with hostname -- Some packages may
> not be found!
> >   Couldn't find index page for 'pbr' (maybe misspelled?)
> >   No local packages or download links found for pbr
> > so add do_compile_prepend to fix it.
>
>
> When there was one of these I think the solution we put in place was
> sufficient but now with pbr and the dozen+ instances being fixed here
> we might want to handle this in the python bbclass. We could have the
> pbr and vcversioner recipes set a flag that will ensure the egg is
> created and then recipes which require the egg have a list of
> REQUIRED_EGGS or similar to indicate to the class that the copy needs
> to take place. Thoughts?
>


We can't have the individual packages poking around for eggs. If a DEPENDS
on python-pbr isn't sufficient, we need to fix the packaging of pbr, or
solve it
at the base level.

It's also unclear to me why we need special compile/install steps for
python-pbr
itself. Again, if that is required, the python classes should be taking
care of it,
not the recipes.

Bruce



>
> Mark
>
> >
> > Li Xin (21):
> >   python-pbr: Error fix for recipes depend on python-pbr
> >   python-cliff: Error fix
> >   python-fixtures: Error fix
> >   python-glanceclient: Error fix
> >   python-heat: Error fix
> >   python-heatclient: Error fix
> >   python-keystoneclient: Error fix
> >   python-lockfile: Error fix
> >   python-mox3: Error fix
> >   python-oslo.config: Error fix
> >   python-oslo.context: Error fix
> >   python-oslo.i18n: Error fix
> >   python-oslo.log: Error fix
> >   python-oslo.serialization: Error fix
> >   python-oslo.utils: Error fix
> >   python-sqlalchemy-migrate: Error fix
> >   python-stevedore: Error fix
> >   python-swiftclient: Error fix
> >   python-testscenarios: Error fix
> >   python-testtools: Error fix
> >   python-wsme: Error fix
> >
> >  meta-openstack/recipes-devtools/python/python-cliff_1.13.0.bb  |  7
> +++++++
> >  .../recipes-devtools/python/python-fixtures_1.3.1.bb           |  6
> ++++++
> >  .../recipes-devtools/python/python-glanceclient_git.bb         |  7
> +++++++
> >  meta-openstack/recipes-devtools/python/python-heat_git.bb      |  7
> +++++++
> >  .../recipes-devtools/python/python-heatclient_git.bb           |  7
> +++++++
> >  .../recipes-devtools/python/python-keystoneclient_git.bb       |  7
> +++++++
> >  .../recipes-devtools/python/python-lockfile_0.10.2.bb          |  6
> ++++++
> >  meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb    |  6
> ++++++
> >  .../recipes-devtools/python/python-oslo.config_1.14.0.bb       |  7
> +++++++
> >  .../recipes-devtools/python/python-oslo.context_git.bb         |  6
> ++++++
> >  .../recipes-devtools/python/python-oslo.i18n_1.6.0.bb          |  6
> ++++++
> >  meta-openstack/recipes-devtools/python/python-oslo.log_git.bb  |  7
> +++++++
> >  .../recipes-devtools/python/python-oslo.serialization_git.bb   |  6
> ++++++
> >  .../recipes-devtools/python/python-oslo.utils_git.bb           |  6
> ++++++
> >  meta-openstack/recipes-devtools/python/python-pbr_1.4.0.bb     | 10
> ++++++++++
> >  .../recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb |  6
> ++++++
> >  .../recipes-devtools/python/python-stevedore_1.6.0.bb          |  6
> ++++++
> >  .../recipes-devtools/python/python-swiftclient_git.bb          |  7
> +++++++
> >  .../recipes-devtools/python/python-testscenarios_0.5.0.bb      |  6
> ++++++
> >  .../recipes-devtools/python/python-testtools_1.8.0.bb          |  7
> +++++++
> >  meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb    |  6
> ++++++
> >  21 files changed, 139 insertions(+)
> >
> > --
> > 1.8.4.2
> >
> >
> >
> > --
> > _______________________________________________
> > meta-virtualization mailing list
> > meta-virtualization at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-virtualization
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160105/4762bb8d/attachment.html>


More information about the meta-virtualization mailing list