From afa2d7d0ef0421a8afe5fd3816a20658750c9e39 Mon Sep 17 00:00:00 2001 From: xucheng Date: Thu, 26 Feb 2026 11:54:24 +0800 Subject: [PATCH] chore: Update project dependencies and deployment script. --- deploy.sh | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 203d997..5e8b7f8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -27,7 +27,7 @@ echo -e "${INFO} 1/6 检查并安装系统依赖..." if command -v apt-get &> /dev/null; then sudo apt-get update # 基础构建工具 - sudo apt-get install -y build-essential python3-dev pkg-config + sudo apt-get install -y build-essential python3-dev pkg-config libpq-dev # WeasyPrint 依赖 sudo apt-get install -y libpango-1.0-0 libpangoft2-1.0-0 libgdk-pixbuf-2.0-0 shared-mime-info # Python 虚拟环境支持 diff --git a/requirements.txt b/requirements.txt index fac14a0..4159aa2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ uvicorn[standard]==0.40.0 # -------------------------------------------- sqlalchemy==2.0.45 asyncpg==0.30.0 -psycopg2-binary==2.9.9 +psycopg2-binary==2.9.10 # -------------------------------------------- # 数据处理