[OE-core] [PATCH] python: don't include -tests with modules

Mark Asselstine mark.asselstine at windriver.com
Fri Jul 28 12:12:55 UTC 2017


On Thursday, July 27, 2017 10:39:07 PM EDT Richard Purdie wrote:
> On Mon, 2017-07-24 at 12:10 -0400, Mark Asselstine wrote:
> > Although 'test' is listed in the python module list
> > (https://docs.python.org/3/py-modindex.html) it is meant only to be
> > used 'internally' by folks developing python itself. Per the
> > documentation:
> > 
> >   Note The test package is meant for internal use by Python only. It
> >   is documented for the benefit of the core developers of Python. Any
> >   use of this package outside of Python’s standard library is
> >   discouraged as code mentioned here can change or be removed without
> >   notice between releases of Python.
> > 
> > Per the above it is best not to include this module to discourage
> > folks who might not head the above warnings. Additionally this module
> > is one of the largest py modules going, by dropping this unneeded
> > module from the 'modules' package we can reduce overall image size,
> > something which is important for many embedded deployments.
> > 
> > Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> > ---
> >  meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
> >  meta/recipes-devtools/python/python-3.5-manifest.inc | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> As per the comments at the top of these files, the generator scripts
> need to be fixed too?

I am just about to head into the wild with no internet access. I will have a 
closer look at this on Monday. I have to admit I did not see the comment.

MarkA

> 
> Cheers,
> 
> Richard





More information about the Openembedded-core mailing list