From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 04/08] package/python-daphne: new package
Date: Mon, 30 Sep 2019 21:58:05 +0200 [thread overview]
Message-ID: <20190930215805.35571564@windsurf.home> (raw)
In-Reply-To: <20190930213347.6704553f@windsurf.home>
Hello,
+Yegor in the loop.
On Mon, 30 Sep 2019 21:33:47 +0200
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> Speaking of that, I think asgiref and autobahn also need Python 3.x.
> Indeed, when I try to build python-daphne with Python 2.x, I get this:
>
> Compiling usr/lib/python2.7/site-packages/asgiref/compatibility.py ...
> File "usr/lib/python2.7/site-packages/asgiref/compatibility.py", line 32
> async def new_application(scope, receive, send):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/asgiref/server.py ...
> File "usr/lib/python2.7/site-packages/asgiref/server.py", line 64
> async def handle(self):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/asgiref/sync.py ...
> File "usr/lib/python2.7/site-packages/asgiref/sync.py", line 134
> async def main_wrap(self, args, kwargs, call_result, source_thread):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/asgiref/testing.py ...
> File "usr/lib/python2.7/site-packages/asgiref/testing.py", line 24
> async def wait(self, timeout=1):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/asgiref/timeout.py ...
> File "usr/lib/python2.7/site-packages/asgiref/timeout.py", line 34
> timeout: Optional[float],
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/asgiref/wsgi.py ...
> File "usr/lib/python2.7/site-packages/asgiref/wsgi.py", line 14
> async def __call__(self, scope, receive, send):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/autobahn/xbr/_buyer.py ...
> File "usr/lib/python2.7/site-packages/autobahn/xbr/_buyer.py", line 195
> async def stop(self):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/autobahn/xbr/_interfaces.py ...
> File "usr/lib/python2.7/site-packages/autobahn/xbr/_interfaces.py", line 141
> async def start(self, session):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/autobahn/xbr/_seller.py ...
> File "usr/lib/python2.7/site-packages/autobahn/xbr/_seller.py", line 447
> async def balance(self):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/daphne/cli.py ...
> File "usr/lib/python2.7/site-packages/daphne/cli.py", line 29
> async def asgi(self, receive, send, scope):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/daphne/server.py ...
> File "usr/lib/python2.7/site-packages/daphne/server.py", line 213
> async def handle_reply(self, protocol, message):
> ^
> SyntaxError: invalid syntax
>
> Compiling usr/lib/python2.7/site-packages/daphne/testing.py ...
> File "usr/lib/python2.7/site-packages/daphne/testing.py", line 166
> async def __call__(self, send, receive):
> ^
> SyntaxError: invalid syntax
Now that I think more about this: the build should have aborted due to
these compilation failures, but it did not. Due to this, such problems
are not caught by our autobuilders. It probably makes sense to have a
look and see why the build doesn't abort as it should.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-09-30 19:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-04 1:16 [Buildroot] [PATCH 00/13] Support for Django channels aduskett at gmail.com
2019-08-04 1:16 ` [Buildroot] [PATCH 01/08] package/python-django-enumfields: new package aduskett at gmail.com
2019-09-27 21:41 ` Thomas Petazzoni
2019-08-04 1:16 ` [Buildroot] [PATCH 02/08] package/python-sqlparse: " aduskett at gmail.com
2019-09-27 21:49 ` Thomas Petazzoni
2019-08-04 1:16 ` [Buildroot] [PATCH 03/08] package/python-hiredis: " aduskett at gmail.com
2019-08-04 5:53 ` Yegor Yefremov
2019-08-04 10:18 ` Peter Korsgaard
2019-08-04 1:16 ` [Buildroot] [PATCH 04/08] package/python-daphne: " aduskett at gmail.com
2019-08-04 5:58 ` Yegor Yefremov
2019-09-30 19:33 ` Thomas Petazzoni
2019-09-30 19:58 ` Thomas Petazzoni [this message]
2019-08-04 1:16 ` [Buildroot] [PATCH 05/08] package/python-asgiref: " aduskett at gmail.com
2019-09-27 21:55 ` Thomas Petazzoni
2019-08-04 1:16 ` [Buildroot] [PATCH 06/08] package/python-aioredis: " aduskett at gmail.com
2019-09-30 19:43 ` Thomas Petazzoni
2019-08-04 1:16 ` [Buildroot] [PATCH 07/08] package/python-channels: " aduskett at gmail.com
2019-09-30 19:58 ` Thomas Petazzoni
2019-08-04 1:16 ` [Buildroot] [PATCH 08/08] package/python-channels-redis: " aduskett at gmail.com
2019-09-30 20:09 ` 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=20190930215805.35571564@windsurf.home \
--to=thomas.petazzoni@bootlin.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