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:
zhayujie
2026-04-12 16:49:00 +08:00
parent 199c21eede
commit c6824e5f5e

View File

@@ -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