nonebot / aiocqhttp

A Python SDK with async I/O for CQHTTP (OneBot).
https://aiocqhttp.nonebot.dev
MIT License
280 stars 39 forks source link

Update Quart and pdoc3 #64

Closed GirlKiller512 closed 2 years ago

GirlKiller512 commented 2 years ago

忘了改 requirements.txt

stdrc commented 2 years ago

为什么要改 pdoc3,另外,Quart 0.16 在 Python 3.7 上测试过吗

GirlKiller512 commented 2 years ago

pdoc3 最近也有更新 https://github.com/pdoc3/pdoc/blob/master/CHANGELOG 我这边没有 3.7,没法测,只知道 Quart 的主页写着支持版本 3.7 ~ 3.10

GirlKiller512 commented 2 years ago

(Checks 都通过了,应该没问题的吧)

cleoold commented 2 years ago

(Checks 都通过了,应该没问题的吧)

pdoc:建議在本地用兩個版本的 pdoc 都生成一下文檔,用 diff 看一下有什麽不同 https://github.com/nonebot/aiocqhttp/blob/master/scripts/build_module_api_docs.py

quart:我建議你還是自己測試一下。我自己來的話要等等。

你要是覺得沒有問題就再在 setup.py 中把 https://github.com/nonebot/aiocqhttp/pull/63 的改動加回去

GirlKiller512 commented 2 years ago

pdoc3==0.9.2pdoc3==0.10.0 生成了一次 bus.html default.html index.html message.htmlNoneTypeNone ForwardRef(None) 的差别 其他文件都只有 pdoc3 版本号的差别 QQ截图20211114210151 QQ截图20211114210106

GirlKiller512 commented 2 years ago

Quart 0.17.0 has been released because recently there have been breaking changes of Quart's dependencies including Jinja2 and Werkzeug Quart older than 0.17.0 don't support the latest Jinja2 and Werkzeug