Peter Korsgaard
6beb6dd5c6
package/python-socketio: drop asgi/asyncio files for python 2.x to fix pycompile issue
...
socketio has conditional logic to load asgi/asyncio files when running under
Python 3.x:
if sys.version_info >= (3, 5): # pragma: no cover
from .asyncio_client import AsyncClient
from .asyncio_server import AsyncServer
from .asyncio_manager import AsyncManager
from .asyncio_namespace import AsyncNamespace, AsyncClientNamespace
from .asyncio_redis_manager import AsyncRedisManager
from .asyncio_aiopika_manager import AsyncAioPikaManager
from .asgi import ASGIApp
else: # pragma: no cover
AsyncClient = None
AsyncServer = None
AsyncManager = None
AsyncNamespace = None
AsyncRedisManager = None
AsyncAioPikaManager = None
pycompile unfortunately errors out on these files when running under Python
2.x:
../scripts/pycompile.py ..
error: File "/usr/lib/python2.7/site-packages/socketio/asyncio_server.py", line 84
async def emit(self, event, data=None, to=None, room=None, skip_sid=None,
^
SyntaxError: invalid syntax
As a workaround, simply drop the unusable file from TARGET_DIR if building
for python 2.x.
Fixes:
http://autobuild.buildroot.net/results/455f3e09a590f7a6724ab8cd1b86bdf2bba8071a/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2020-10-08 22:07:08 +02:00
..
2020-10-04 11:35:47 +02:00
2020-09-23 21:10:17 +02:00
2020-09-30 22:56:22 +02:00
2020-10-08 21:50:27 +02:00
2020-09-30 22:56:40 +02:00
2020-10-06 21:05:07 +02:00
2020-10-06 20:51:15 +02:00
2020-10-06 21:00:13 +02:00
2020-10-04 11:31:38 +02:00
2020-09-23 20:45:23 +02:00
2020-09-24 22:56:23 +02:00
2020-09-22 21:41:06 +02:00
2020-10-01 21:33:11 +02:00
2020-09-24 09:30:59 +02:00
2020-10-08 21:47:28 +02:00
2020-10-06 22:22:26 +02:00
2020-10-06 21:28:18 +02:00
2020-10-04 11:38:01 +02:00
2020-10-06 21:05:54 +02:00
2020-10-04 11:20:41 +02:00
2020-10-03 08:53:34 +02:00
2020-09-30 22:53:58 +02:00
2020-10-06 22:31:46 +02:00
2020-10-04 11:27:21 +02:00
2020-09-30 22:47:10 +02:00
2020-09-30 22:59:39 +02:00
2020-10-03 08:56:01 +02:00
2020-09-22 22:01:43 +02:00
2020-09-26 15:54:39 +02:00
2020-10-08 22:01:48 +02:00
2020-10-04 20:46:02 +02:00
2020-10-03 08:53:04 +02:00
2020-09-30 22:59:47 +02:00
2020-10-06 23:34:26 +02:00
2020-09-24 22:57:55 +02:00
2020-10-04 11:38:01 +02:00
2020-10-01 10:49:46 +02:00
2020-10-06 21:45:37 +02:00
2020-09-30 21:50:10 +02:00
2020-10-06 21:00:06 +02:00
2020-10-04 11:17:32 +02:00
2020-10-03 09:01:34 +02:00
2020-09-26 15:44:55 +02:00
2020-10-06 23:30:51 +02:00
2020-10-04 11:51:47 +02:00
2020-09-24 22:57:54 +02:00
2020-09-23 20:46:07 +02:00
2020-10-04 20:45:35 +02:00
2020-10-03 08:52:39 +02:00
2020-09-30 21:50:38 +02:00
2020-10-04 12:44:18 +02:00
2020-10-04 11:46:54 +02:00
2020-09-30 22:50:05 +02:00
2020-10-08 22:00:59 +02:00
2020-10-04 11:38:01 +02:00
2020-10-03 09:03:30 +02:00
2020-09-30 22:48:44 +02:00
2020-10-04 11:37:11 +02:00
2020-10-04 11:30:21 +02:00
2020-10-06 23:01:28 +02:00
2020-10-04 20:44:03 +02:00
2020-10-06 20:53:37 +02:00
2020-10-08 22:04:19 +02:00
2020-10-04 21:53:43 +02:00
2020-10-08 21:47:59 +02:00
2020-10-03 08:52:04 +02:00
2020-09-26 15:31:14 +02:00
2020-10-01 21:22:35 +02:00
2020-10-04 11:19:57 +02:00
2020-10-08 21:47:54 +02:00
2020-09-30 21:48:04 +02:00
2020-09-23 20:44:39 +02:00
2020-09-26 15:44:45 +02:00
2020-10-04 11:21:27 +02:00
2020-09-30 21:35:44 +02:00
2020-10-04 11:19:51 +02:00
2020-10-06 21:04:37 +02:00
2020-10-03 09:12:49 +02:00
2020-10-06 21:00:09 +02:00
2020-10-03 08:52:26 +02:00
2020-10-03 08:57:30 +02:00
2020-10-04 11:18:30 +02:00
2020-10-03 08:57:42 +02:00
2020-09-22 22:22:35 +02:00
2020-09-23 11:41:53 +02:00
2020-10-06 21:04:41 +02:00
2020-09-26 15:42:12 +02:00
2020-09-23 22:57:07 +02:00
2020-10-08 22:07:08 +02:00
2020-09-26 15:25:16 +02:00
2020-09-30 21:09:24 +02:00
2020-09-30 21:10:06 +02:00
2020-09-30 21:35:03 +02:00
2020-09-24 22:05:34 +02:00
2020-09-22 21:59:02 +02:00
2020-10-06 23:09:35 +02:00
2020-09-22 21:27:39 +02:00
2020-10-04 11:38:01 +02:00
2020-09-26 15:30:34 +02:00
2020-10-06 15:30:12 +02:00
2020-09-30 22:52:45 +02:00
2020-09-23 22:08:37 +02:00
2020-10-04 21:02:53 +02:00
2020-09-24 23:01:44 +02:00
2020-10-04 22:02:55 +02:00
2020-09-26 15:39:59 +02:00
2020-09-26 15:27:16 +02:00
2020-10-01 10:49:17 +02:00
2020-10-06 21:04:31 +02:00
2020-10-08 22:05:39 +02:00
2020-10-04 11:40:53 +02:00
2020-10-04 11:38:01 +02:00
2020-09-24 22:56:09 +02:00
2020-10-06 21:28:22 +02:00
2020-10-04 11:55:38 +02:00
2020-10-06 23:37:48 +02:00
2020-10-06 23:41:30 +02:00
2020-10-04 12:45:09 +02:00
2020-09-30 21:48:04 +02:00
2020-10-06 20:53:42 +02:00
2020-09-26 15:42:08 +02:00
2020-09-26 15:42:03 +02:00
2020-09-22 21:40:47 +02:00
2020-09-22 21:41:00 +02:00
2020-10-04 11:39:17 +02:00
2020-10-04 11:32:26 +02:00
2020-10-04 20:45:00 +02:00
2020-09-28 22:04:15 +02:00
2020-10-06 21:34:24 +02:00
2020-10-06 21:43:35 +02:00
2020-09-30 22:48:44 +02:00
2020-09-27 09:19:14 +02:00