[Buildroot] [PATCH 00/58] python pypi library mass version bump.

Adam Duskett aduskett at gmail.com
Sun Feb 19 22:41:07 UTC 2017


On Sun, Feb 19, 2017 at 4:20 PM, Lionel Flandrin <lionel at svkt.org> wrote:
> On Sun, Feb 19, 2017 at 09:17:18PM +0100, Thomas Petazzoni wrote:
>> Hello,
>>
>> On Sun, 19 Feb 2017 14:11:57 -0500, Adam Duskett wrote:
>>
>> > I personally tested to make sure that all of these changes build properly on my
>> > machine before submitting.
>>
>> The one problem I have with such a mass version bump is precisely that
>> a build test for Python modules is completely insufficient. Only a
>> runtime test can determine whether the bump is OK or not. As Yegor
>> said, a number of those modules gain new dependencies between one
>> version and another, and those can sometimes only be noticed by doing a
>> runtime test.
>>
Fair enough; I ran through and imported every single package I updated, and
if there was an example I ran the example as well.

I rejected any of them that didn't work in the set.  Hopefully that's enough!

>> Thomas
>
> Could we automate that somehow? Would simply importing the package be
> sufficient for a basic runtime test? Alternatively could we run the
> package-provided tests (if they exist)?
>
> In general I wonder if this python package situation is going to be
> maintainable in buildroot in the long run. There are nearly 200 python
> packages at the moment on the master branch, more than 10% of all
> buildroot packages.
>
I agree, it's also a nightmare looking at the packages/ folder when such
a large amount are prefixed with python-.

> There are more than 20 thousand packages on pypi.python.org.
>
> If you're writing any non-trivial python application with buildroot
> you're almost certain to hit missing and/or outdated packages. It's
> been my experience in the past few weeks, almost all the python
> packages I've wanted to use were either missing or outdated, some of
> them quite severely.
>
I noticed this as well while writing this small utility.  Some of these packages
are outdated by 5+ point revisions!


> Furthermore as "embedded" platforms become less and less constrained
> more and more people will want to move to higher level languages like
> python.
>
> In this situation how can buildroot integrate *and* maintain
> potentially thousands of python packages "by hand"?
>
> I hope this doesn't come off as whiny, I'm extremely thankful for all
> the work people have put building and maintaining the current
> infrastructure, and once all the packages you want to use are in there
> it's a pleasure to use. I just wanted to offer a piece of constructive
> criticism.
>

I was thinking, would it be possible to run pypi as a host?  I think
that's a bit extreme,
but there's also no support for whl files yet as well.

Just a thought.

> Cheers,
> --
> Lionel Flandrin

Adam



More information about the buildroot mailing list