mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix: add legacy-cgi dependency for Python 3.13+ #2758
Add conditional dependency `legacy-cgi` for Python 3.13+ to resolve `web.py` installation failure caused by the removal of the `cgi` module (PEP 594). Thanks @sha156 for reporting.
This commit is contained in:
@@ -4,6 +4,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user