fix: support Python 3.13 by installing web.py from GitHub

This commit is contained in:
zhayujie
2026-06-08 20:15:32 +08:00
parent 9fc39f648f
commit c887fc71ad
5 changed files with 23 additions and 22 deletions

View File

@@ -3,8 +3,6 @@ aiohttp>=3.8.6,<3.10
requests>=2.28.2
chardet>=5.1.0
Pillow
web.py
legacy-cgi; python_version >= "3.13"
python-dotenv>=1.0.0
PyYAML>=6.0
croniter>=2.0.0
@@ -32,4 +30,9 @@ python-telegram-bot
# slack bot
slack_bolt
# discord bot
discord.py
discord.py
# web.py: PyPI 0.62 fails to build on Python 3.13+ (cgi module removed), use GitHub fix instead
web.py; python_version < "3.13"
web.py @ git+https://github.com/webpy/webpy.git ; python_version >= "3.13"
legacy-cgi; python_version >= "3.13"