[Buildroot] [PATCH 1/2] python-flask: bump to version 0.12

Yegor Yefremov yegorslists at googlemail.com
Wed Jan 25 09:46:03 UTC 2017


On Wed, Jan 25, 2017 at 10:18 AM, Lionel Flandrin <lionel at svkt.org> wrote:
> On Wed, Jan 25, 2017 at 10:09:42AM +0100, Yegor Yefremov wrote:
>> On Wed, Jan 25, 2017 at 10:01 AM, Lionel Flandrin <lionel at svkt.org> wrote:
>> > Signed-off-by: Lionel Flandrin <lionel at svkt.org>
>>
>> Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>
>>
>> Care to update jinja as well https://github.com/pallets/jinja/releases
>>
>> Yegor
>
> I tried to do so but I got a nasty error:
>
>   Traceback (most recent call last):
>     File "/home/lionel/src/ambix/buildroot/output/host/usr/lib/python3.5/py_compile.py", line 125, in compile
>       _optimize=optimize)
>     File "<frozen importlib._bootstrap_external>", line 700, in source_to_code
>     File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
>     File "/home/lionel/src/ambix/buildroot/output/target/usr/lib/python3.5/site-packages/jinja2/asyncfilters.py", line 24
>   SyntaxError: 'yield' inside async function
>
> I asked on IRC and I've been told that:
>
> < mitsuhiko> simias: this is not a problem with jinja
> < mitsuhiko> it's a limitation in whatever build tool you use
> < mitsuhiko> pip deals with that
> < mitsuhiko> you can ignore it. it's a warning basically
>
> So I'll have to dig a bit deeper to understand what's going wrong here.

It seems like this will be working for Python 3.6 only [1]. And I
doubt it will be working in Python 2 at all.

So let's wait for an official release and take a look at this then.

[1] http://stackoverflow.com/questions/37549846/how-to-use-yield-inside-async-function

Yegor



More information about the buildroot mailing list