From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 00/58] python pypi library mass version bump.
Date: Mon, 20 Feb 2017 09:41:19 +0100 [thread overview]
Message-ID: <20170220094119.28e1827d@free-electrons.com> (raw)
In-Reply-To: <20170219212054.2x6hosogfxbztldl@localhost.localdomain>
Hello,
On Sun, 19 Feb 2017 22:20:54 +0100, Lionel Flandrin wrote:
> 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)?
The idea for this automation is what I've posted a few weeks ago:
http://lists.busybox.net/pipermail/buildroot/2017-February/183326.html
It's a runtime testing infrastructure. For now, it only has a very
small test for the Python interpreter itself, but we could very well
have something that also tests Python packages.
> 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.
>
> 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"?
Let me return you another question: what do you propose to do?
As you say, Python is going to be more and more widely used in embedded
systems, and the Python culture is many small libraries/modules each
providing a very specific set of functionality, hence a large number of
libraries/modules. There's not much Buildroot can do about it. Should
we not support Python at all? That doesn't seem like a reasonable
option.
So, yes, there are lots of packages in Buildroot for Python modules.
But while their number is large, their complexity is very very small
compared to other packages. Their .mk file typically has zero logic
beyond just calling the python-package infrastructure. We have a very
convenient scanpypi script to generate/update them. So we already have
pretty good tools to handle this large number of packages, and those
tools can be improved with:
1. A tool that automatically detects when new upstream versions are
available.
2. The runtime test infrastructure.
Of course, your help is more than welcome! :-)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-02-20 8:41 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-19 19:11 [Buildroot] [PATCH 00/58] python pypi library mass version bump Adam Duskett
2017-02-19 19:11 ` [Buildroot] [PATCH 01/58] python-autobahn: bump to version 0.17.1 Adam Duskett
2017-02-19 19:11 ` [Buildroot] [PATCH 02/58] python-backports-abc: bump to version 0.5 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 03/58] python-beautifulsoup4: bump to version 4.5.3 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 04/58] python-certifi: bump to version 2017.1.23 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 05/58] python-cffi: bump to version 1.9.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 06/58] python-cherrypy: bump to version 10.1.1 Adam Duskett
2017-03-03 7:39 ` Thomas Petazzoni
2017-02-19 19:12 ` [Buildroot] [PATCH 07/58] python-click: bump to version 6.7 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 08/58] python-crossbar: bump to version 16.10.1 Adam Duskett
2017-02-19 19:31 ` Yegor Yefremov
2017-02-19 19:12 ` [Buildroot] [PATCH 09/58] python-cryptography: bump to version 1.7.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 10/58] python-cssselect: bump to version 1.0.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 11/58] python-docutils: bump to version 0.13.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 12/58] python-enum: bump to version 0.4.6 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 13/58] python-enum34: bump to version 1.1.6 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 14/58] python-flask-login: bump to version 0.4.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 15/58] python-flup: bump to version 1.0.3.dev20161029 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 16/58] python-httplib2: bump to version 0.10.3 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 17/58] python-idna: bump to version 2.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 18/58] python-ipaddress: bump to version 1.0.18 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 19/58] python-ipython: bump to version 5.2.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 20/58] python-jinja2: bump to version 2.9.5 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 21/58] python-jsonschema: bump to version 2.6.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 22/58] python-mako: bump to version 1.0.6 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 23/58] python-markdown: bump to version 2.6.8 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 24/58] python-mbstrdecoder: bump to version 0.2.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 25/58] python-mutagen: bump to version 1.36.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 26/58] python-mwclient: bump to version 0.8.2 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 27/58] python-netaddr: bump to version 0.7.19 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 28/58] python-pathvalidate: bump to version 0.14.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 29/58] python-prompt-toolkit: bump to version 1.0.13 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 30/58] python-psutil: bump to version 5.1.3 Adam Duskett
2017-02-19 19:42 ` Baruch Siach
2017-02-19 22:36 ` Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 31/58] python-pudb: bump to version 2017.1.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 32/58] python-pyasn: bump to version 1.6.0b1 Adam Duskett
2017-03-03 7:38 ` Thomas Petazzoni
2017-02-19 19:12 ` [Buildroot] [PATCH 33/58] python-pycli: bump to version 2.0.3 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 34/58] python-pycparser: bump to version 2.17 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 35/58] python-pydal: bump to version 17.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 36/58] python-pygments: bump to version 2.2.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 37/58] python-pymysql: bump to version 0.7.10 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 38/58] python-pyparsing: bump to version 2.1.10 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 39/58] python-pyro: bump to version 3.16 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 40/58] python-pyroute2: bump to version 0.4.13 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 41/58] python-pysmb: bump to version 1.1.19 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 42/58] python-pysnmp: bump to version 4.3.3 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 43/58] python-pysocks: bump to version 1.6.6 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 44/58] python-pytrie: bump to version 0.3 Adam Duskett
2017-03-03 7:38 ` Thomas Petazzoni
2017-02-19 19:12 ` [Buildroot] [PATCH 45/58] python-pyudev: bump to version 0.21.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 46/58] python-requests: bump to version 2.13.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 47/58] python-requests-toolbelt: bump to version 0.7.1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 48/58] python-rpi-gpio: bump to version 0.6.3 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 49/58] python-setuptools-scm: bump to version 1.15.1rc1 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 50/58] python-sh: bump to version 1.12.9 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 51/58] python-simplejson: bump to version 3.10.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 52/58] python-treq: bump to version 16.12.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 53/58] python-twisted: bump to version 17.1.0 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 54/58] python-urllib3: bump to version 1.20 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 55/58] python-werkzeug: bump to version 0.11.15 Adam Duskett
2017-02-20 11:49 ` Lionel Flandrin
2017-02-19 19:12 ` [Buildroot] [PATCH 56/58] python-whoosh: bump to version 2.7.4 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 57/58] python-xlsxwriter: bump to version 0.9.6 Adam Duskett
2017-02-19 19:12 ` [Buildroot] [PATCH 58/58] python-xlwt: bump to version 1.2.0 Adam Duskett
2017-02-19 20:17 ` [Buildroot] [PATCH 00/58] python pypi library mass version bump Thomas Petazzoni
2017-02-19 21:20 ` Lionel Flandrin
2017-02-19 22:41 ` Adam Duskett
2017-02-20 7:32 ` Yegor Yefremov
2017-02-20 8:44 ` Thomas Petazzoni
2017-02-20 23:46 ` Arnout Vandecappelle
2017-02-20 8:41 ` Thomas Petazzoni [this message]
2017-02-20 9:52 ` Lionel Flandrin
2017-02-20 9:59 ` Lionel Flandrin
2017-02-21 7:51 ` Arnout Vandecappelle
2017-03-02 21:08 ` Thomas Petazzoni
2017-03-04 10:48 ` Thomas Petazzoni
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=20170220094119.28e1827d@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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