在准备环境前提交次全部更改。

This commit is contained in:
Neo
2026-02-19 08:35:13 +08:00
parent ded6dfb9d8
commit 4eac07da47
1387 changed files with 6107191 additions and 33002 deletions

View File

@@ -1,10 +1,34 @@
# AI_CHANGELOG
# - 2026-02-15 | Prompt: 让 FastAPI 成功启动 | 补全运行依赖fastapi/uvicorn/psycopg2-binary/python-dotenv使后端可通过 uv run uvicorn 启动
# - 风险:依赖版本变更可能影响其他 workspace 成员验证uv sync --all-packages && uv run uvicorn app.main:app
[project]
name = "zqyy-backend"
version = "0.1.0"
requires-python = ">=3.10"
# CHANGE 2026-02-15 | intent: 补全后端运行依赖,原先仅声明 neozqyy-shared 导致 uvicorn/fastapi 缺失无法启动
# assumptions: 版本下限与 tech.md 记录的核心依赖一致uvicorn[standard] 包含 uvloop/httptools 等性能依赖
dependencies = [
"neozqyy-shared",
"fastapi>=0.115",
"uvicorn[standard]>=0.34",
"psycopg2-binary>=2.9",
"python-dotenv>=1.0",
"python-jose[cryptography]>=3.3",
"bcrypt>=4.0",
]
[tool.uv.sources]
neozqyy-shared = { workspace = true }
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"hypothesis>=6.100",
"httpx>=0.27",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]