a3e82e7113
app/pay 模块无条件 import wechatpayv3.async_(AsyncWeChatPay/WeChatPayType/aes_decrypt), 但 pyproject/uv.lock 从未声明,容器干净环境下启动即 ModuleNotFoundError; 本地因旧 venv 残留包掩盖了问题。本次经审计确认仅此一处缺失,已补声明并重新锁定。
51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
[project]
|
|
name = "pineagents-demo-server"
|
|
version = "0.1.0"
|
|
description = "云超服核心服务端(FastAPI + SQLite + JWT + RBAC):身份/平台 API + 培训子应用(/api/*),统一对外 opc.pinesound.cn"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.30.0",
|
|
"pydantic>=2.7.0",
|
|
"sqlalchemy[asyncio]>=2.0.30",
|
|
"aiosqlite>=0.20.0",
|
|
"asyncmy>=0.2.9",
|
|
"redis>=5.0.0",
|
|
"aioboto3>=13.0.0",
|
|
"pyjwt>=2.8.0",
|
|
"httpx>=0.27.0",
|
|
"python-multipart>=0.0.12",
|
|
"paho-mqtt>=1.6,<2",
|
|
"dashscope>=1.27.1",
|
|
"jinja2>=3.1.6",
|
|
"numpy>=2.4.6",
|
|
"websockets>=17.0.1",
|
|
"alembic>=1.19.1",
|
|
"aiofiles>=24.1.0",
|
|
"pymysql>=1.2.0",
|
|
"wechatpayv3>=2.0.3",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"httpx>=0.27.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["app"]
|
|
|
|
[[tool.uv.index]]
|
|
url = "https://mirrors.aliyun.com/pypi/simple/"
|
|
default = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|