From c6824e5f5e12437587094511271433f615065abc Mon Sep 17 00:00:00 2001 From: zhayujie Date: Sun, 12 Apr 2026 16:49:00 +0800 Subject: [PATCH] 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. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index c7a86745..be4be71b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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