Unlisted dependency: `wsproto`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 pyproject.toml 和 rolo/serving/twisted.py 开始,然后将仅适用于 Twisted 的依赖集合与 traceback 中显示的 wsproto 导入进行比较。在仅包含 Twisted 的环境中验证安装,并确认导入 TwistedGateway 不再引发 ModuleNotFoundError。
由索引模型根据 Issue 内容生成。
描述
wsproto is a dependency for hypercorn, but not for twisted. So if rolo is used only with twisted, without installing hypercorn, it will fail because of a missing dependency:
File "/opt/code/localstack/localstack-pro-azure/.venv/lib/python3.11/site-packages/localstack/runtime/server/plugins.py", line 8, in load
from .twisted import TwistedRuntimeServer
File "/opt/code/localstack/localstack-pro-azure/.venv/lib/python3.11/site-packages/localstack/runtime/server/twisted.py", line 2, in
from rolo.serving.twisted import TwistedGateway
File "/opt/code/localstack/localstack-pro-azure/.venv/lib/python3.11/site-packages/rolo/serving/twisted.py", line 20, in
from wsproto import ConnectionType, WSConnection, events
ModuleNotFoundError: No module named 'wsproto'
- 主要语言
- Python
- 星标
- 16
- 派生
- 3
- 平均合并
- 13 小时 24 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
collective/icalendar#1968 · 1 条评论 ·
维护者通常 1 天内回复
-
Deferred from #1869: Complete the companion pytest guardrail update noted in the PR description...未关闭
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#140958 ·
维护者通常 1 天内回复
-
Bug triage/confirmed
难度 2/5 半天 新手友好度 85/100
agentscope-ai/agentscope#3355 ·
维护者通常 2 天内回复