Files
ai-admin-server/pyproject.toml
T
wuzhiqiang 3ea8eff34d refactor: 替换密码哈希实现为原生bcrypt并更新依赖
重构CryptUtils类,替换原有的passlib密码哈希逻辑为直接使用bcrypt库;添加密码字节长度限制以符合bcrypt原生72字节上限;更新pyproject.toml配置,新增bcrypt依赖并将passlib设为可选依赖;统一代码缩进格式
2026-09-05 07:48:45 +08:00

52 lines
1.2 KiB
TOML

[tool.poetry]
name = "ai-langserve"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
packages = [
{ include = "app" },
]
[tool.poetry.dependencies]
python = "^3.11"
uvicorn = "^0.23.2"
langserve = {extras = ["server"], version = ">=0.0.30"}
pydantic = "2.10.6"
langchain-openai = "^0.3.28"
dotenv = "^0.9.9"
pydantic-settings = "^2.10.1"
psutil = "^7.0.0"
asyncmy = "^0.2.10"
sqlmodel = "^0.0.24"
greenlet = "^3.2.3"
passlib = {extras = ["bcrypt"], version = "^1.7.4", optional = true}
bcrypt = "^4.0.0"
pyjwt = "^2.10.1"
python-multipart = "^0.0.20"
langgraph = "^0.6.3"
langgraph-checkpoint-postgres = "^2.0.23"
llama-index = "0.12.42"
llama-index-vector-stores-milvus = "0.8.7"
llama-index-llms-openai-like = "0.4.0"
pymilvus = "2.6.1"
aiofiles = "^24.1.0"
redis = "^6.4.0"
websockets = "^15.0.1"
dashscope = "^1.25.1"
psycopg = {extras = ["binary"], version = "^3.3.3"}
[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.15"
# 配置国内镜像源
[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "primary" # 最高优先级
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"