Files
HeXi/requirements.txt
T
sansenhoshiandClaude Code 662c28cb2f chore(deps): 补齐运行时依赖声明
代码里直接 import、但 requirements.txt / pyproject.toml 都没声明的包补齐:
beautifulsoup4、opencv-contrib-python、curl_cffi、yt-dlp、boto3、cloudscraper、
cjk-textwrap、lxml、jieba、ruamel.yaml、pytz、psutil、py-cpuinfo、numpy、
nonebot-plugin-htmlrender、taskgroup(仅 py<3.11)。
其中多数此前只是靠别的包传递依赖带上来的(如 curl_cffi 来自 yt-dlp 的 extra),
换环境或升级就会缺。

同时清理无任何引用的 chardet、gradio_client、aiohttp-retry、qrcode,
并把 playwright 下限与 pyproject 对齐(1.44 → 1.50)。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-14 18:58:52 +08:00

41 lines
1.0 KiB
Plaintext

nonebot2[fastapi,websockets,httpx]>=2.1.0
# --- 基础运行时 ---
httpx>=0.23.3
aiohttp>=3.9.5
websockets>=10.4
requests>=2.32.3
pydantic>=2.7.3
SQLAlchemy>=2.0.30
# --- 图像 / 渲染 ---
pillow>=10.3.0
pilmoji>=2.0.4
CairoSVG>=2.7.1
playwright>=1.50.0
nonebot-plugin-htmlrender>=0.6.7 # hexi/core/message_utils.py、helldivers、picstatus
numpy>=2.2.2
opencv-contrib-python>=4.10.0.84 # bf_bot
cjk-textwrap>=0.1.0 # makeaquote
# --- 抓取 / 网络 ---
yt-dlp>=2026.6.9 # video_analysis
boto3>=1.39.11 # video_analysis S3 存储
cloudscraper>=1.2.71 # picfinder_take
curl-cffi>=0.14.0 # bf_bot (BF6)
lxml>=5.4.0 # picfinder_take
beautifulsoup4>=4.13.3 # steam_info
mcstatus>=11.1.1 # mc_server_status
# --- 文本 / 系统 ---
jieba>=0.42.1 # learning_chat
ruamel.yaml>=0.17.40 # learning_chat
pytz>=2025.1 # steam_info
psutil>=5.9.5 # web_hub dashboard、picstatus
py-cpuinfo>=9.0.0 # web_hub dashboard、picstatus
taskgroup>=0.2.2 # picstatus(仅 py<3.11 需要)
# nonebot_plugin_group_daily_analysis
ulid-py>=1.1.0
diskcache>=5.6.3