Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: mark.asselstine@windriver.com, Christopher Larson <kergoth@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [oe] [meta-python][PATCH] python-pyroute2: uprev to v0.4.21 (from 0.3.22)
Date: Mon, 18 Dec 2017 18:37:36 +0200	[thread overview]
Message-ID: <711527ad-77fa-947f-2186-1d7835e1783e@linux.intel.com> (raw)
In-Reply-To: <CAPuovEJNf=qefXX6wKJGaH+HkM6aan49AgVQ3TEWVWPSCn3cNw@mail.gmail.com>

On 12/18/2017 06:15 PM, Mark Asselstine wrote:
> On Mon, Dec 18, 2017 at 10:36 AM, Christopher Larson <kergoth@gmail.com> wrote:
>> All our python recipes should be explicitly listing the python module
>> packages they require. No python module recipes should be depending on
>> python-modules or python3-modules, but explicitly what they require.
> 
> This is a giant PITA for little gain in my opinion. The typical python
> 'vehicles' to define dependencies, things like setup.py, requires.txt,
> requirements.txt..., never bother to list stdlibs. These are standard
> libs that are just expected to be there. If a system is being
> installed with only select python modules it will behave differently
> than python found on any other system violating the rule of least
> surprise. On top of this most of these modules are ~40K in size and
> there are roughly 60 in the stdlib so the size gain in installing a
> few vs. all of them is extremely negligible. All of this seems to add
> way more work and churn that outweighs any real benefit.

I tend to agree with this. Add also the situation that the yocto project 
needs to upgrade oe-core to python 3.6 as soon as possible, and to 3.7 
soon after, no one has enough time to do this rather non-trivial job, 
and I'm beginning to wonder if the best way out is to remove the module 
splitting altogether, and write a clean, simple and maintainable python3 
recipe from scratch with minimal amount of custom patching and hopefully 
no write-only hacks.

Alex


       reply	other threads:[~2017-12-18 16:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1512414044-1012-1-git-send-email-mark.asselstine@windriver.com>
     [not found] ` <CADNbA1qnmF3-MKo=fqQQeWEedE5A-wzkUkCgdCNArOePjMaXQw@mail.gmail.com>
     [not found]   ` <CAPuovEKdqQP35XwP3bgBrE4EFbM2LwpHrHzxF3my9qaWfAaCbA@mail.gmail.com>
     [not found]     ` <CABcZANku-aE5a69GpJxXmd2F0+uYVhiRZB3Uut7F2RG1e3R9EA@mail.gmail.com>
     [not found]       ` <CAPuovEJNf=qefXX6wKJGaH+HkM6aan49AgVQ3TEWVWPSCn3cNw@mail.gmail.com>
2017-12-18 16:37         ` Alexander Kanavin [this message]
2017-12-18 16:56           ` [oe] [meta-python][PATCH] python-pyroute2: uprev to v0.4.21 (from 0.3.22) Mark Asselstine
2017-12-18 20:17             ` Derek Straka
2017-12-18 20:53               ` Mark Asselstine
     [not found]               ` <20171218210256.GQ27580@vctlabs.com>
2017-12-18 21:07                 ` Derek Straka
2017-12-18 21:26                   ` Mark Asselstine
2017-12-18 21:27                     ` Derek Straka
2017-12-19  7:56                 ` splitting python's standard library Alexander Kanavin
2017-12-19 12:31                   ` Derek Straka
2017-12-19 13:12                     ` Alexander Kanavin
2017-12-19 13:23                       ` Derek Straka
2017-12-19 13:43                         ` [oe] " Burton, Ross
2017-12-19 14:02                           ` Derek Straka
2017-12-28 22:29                             ` Derek Straka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=711527ad-77fa-947f-2186-1d7835e1783e@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=kergoth@gmail.com \
    --cc=mark.asselstine@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox