python-engineio: bump to 4.13.1
authorAlexandru Ardelean <redacted>
Sun, 29 Mar 2026 13:35:57 +0000 (13:35 +0000)
committerAlexandru Ardelean <redacted>
Tue, 31 Mar 2026 06:32:36 +0000 (09:32 +0300)
Changes since 4.5.1:
- v4.6+: Add support for WebTransport protocol
- v4.9+: Improved async task handling and cancellation
- v4.11.0: Required minimum for python-socketio 5.12+
- Various fixes for connection lifecycle and error handling

Also add test.sh to verify WSGI/ASGI app wrappers and server creation.

Link: https://github.com/miguelgrinberg/python-engineio/blob/main/CHANGES.md
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-engineio/Makefile
lang/python/python-engineio/test.sh [new file with mode: 0755]

index 075c3dff9e557767964c45b4ac79c4cc70776bcd..5ea9444d4b7d6c7dcc3da5ba7b11c622af7e450e 100644 (file)
@@ -8,11 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-engineio
-PKG_VERSION:=4.5.1
+PKG_VERSION:=4.13.1
 PKG_RELEASE:=1
 
 PYPI_NAME:=python-engineio
-PKG_HASH:=b167a1b208fcdce5dbe96a61a6ca22391cfa6715d796c22de93e3adf9c07ae0c
+PYPI_SOURCE_NAME:=python_engineio
+PKG_HASH:=0a853fcef52f5b345425d8c2b921ac85023a04dfcf75d7b74696c61e940fd066
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=MIT
@@ -36,7 +37,8 @@ define Package/python3-engineio
        +python3-asyncio \
        +python3-logging \
        +python3-openssl \
-       +python3-urllib
+       +python3-urllib \
+       +python3-simple-websocket
 endef
 
 define Package/python3-engineio/description
diff --git a/lang/python/python-engineio/test.sh b/lang/python/python-engineio/test.sh
new file mode 100755 (executable)
index 0000000..76a856a
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+[ "$1" = "python3-engineio" ] || exit 0
+
+python3 - << EOF
+import sys
+
+# Verify key classes are importable
+from engineio import Server, AsyncServer, WSGIApp, ASGIApp
+
+# AsyncServer with asgi mode needs no external dependencies
+asrv = AsyncServer(async_mode='asgi')
+assert asrv is not None
+
+received = []
+
+@asrv.on("connect")
+async def on_connect(sid, environ):
+    received.append(("connect", sid))
+
+@asrv.on("disconnect")
+async def on_disconnect(sid):
+    received.append(("disconnect", sid))
+
+# ASGI app wrapper
+aapp = ASGIApp(asrv)
+assert aapp is not None
+
+sys.exit(0)
+EOF
git clone https://git.99rst.org/PROJECT