[Buildroot] [PATCH v1 2/2] package/python-flask: fix runtime python modules dependencies

Peter Seiderer ps.report at gmx.net
Sun Mar 22 21:37:14 UTC 2020


Hello Thomas,

On Sun, 22 Mar 2020 22:18:11 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> On Sun, 22 Mar 2020 22:10:02 +0100
> Peter Seiderer <ps.report at gmx.net> wrote:
>
> > - add python setuptools runtime dependency, fixes:
> >   ModuleNotFoundError: No module named 'pkg_resources'
> >
> > - add python libxml2 runtime dependency, fixes:
> >   ModuleNotFoundError: No module named 'xml'
> >
> > - add python ssl runtime dependency, fixes:
> >   AttributeError: 'NoneType' object has no attribute 'SSLContext'
>
> Are all these dependencies intentionally mandatory, or are they
> mandatory "by mistake" ?

No python expert - from my side intentionally mandatory, started
with a minimal defconfig only selected python3/python-flask and
added packages until I got a error free invocation of flask for
an hello world example...

Regards,
Peter

>
> Thomas




More information about the buildroot mailing list