From 81b569c54d8454ba845a9b16cb27f19a7ee75b5b Mon Sep 17 00:00:00 2001 From: Jeason <1710884619@qq.com> Date: Thu, 2 Apr 2026 16:09:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20eventlet=E6=8D=A2=E6=88=90simple-websock?= =?UTF-8?q?et,=E9=81=BF=E5=85=8D=E4=B8=8EPlaywright=20asyncio=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit eventlet的monkey-patch会破坏Playwright的Node.js子进程通信(EPIPE) simple-websocket是Flask-SocketIO推荐的轻量驱动,无侵入性 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 15d5e7f..2c7155a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ flask>=3.0 flask-socketio>=5.3 -eventlet>=0.36 +simple-websocket>=1.0 playwright==1.52.0 playwright-stealth>=1.0 pyyaml>=6.0