Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ classifiers = [
dependencies = [
# ---- 配置 / 环境 ----
"PyYAML==6.0.3",
"pydantic==2.14.1",
"pydantic==2.14.2",
"python-dotenv==1.2.4",
"platformdirs==4.13.5",
"platformdirs==4.14.0",
# ---- LLM / 嵌入模型 ----
"openai==2.54.0",
"numpy==2.5.4",
"sentence-transformers==5.7.0",
"huggingface_hub==1.33.0",
"tokenizers==0.23.3",
# ---- Web 服务 ----
"fastapi==0.161.1",
"fastapi==0.162.0",
"uvicorn==0.54.0",
"jinja2==3.1.6",
"python-multipart==0.0.32",
Expand Down Expand Up @@ -69,9 +69,9 @@ dependencies = [
# 开发/CI 期依赖,同样钉版:ruff 版本会直接影响 lint 结果,pytest 版本影响用例行为,
# 不钉版会导致「本地绿、CI 红」。pytest* 三项必须与 requirements.txt 的测试段保持同版本。
dev = [
"ruff==0.17.2",
"ruff==0.17.3",
"pyright==1.1.414",
"pytest==9.1.1",
"pytest==9.2.0",
"pytest-cov==7.1.0",
"pytest-timeout==2.4.0",
"pip-audit==2.10.1",
Expand Down
72 changes: 37 additions & 35 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ annotated-doc==0.0.4
# typer
annotated-types==0.8.0
# via pydantic
anyio==4.15.1
anyio==4.16.0
# via
# httpx
# openai
Expand Down Expand Up @@ -47,23 +47,23 @@ colorama==0.4.6 ; sys_platform == 'win32'
# pytest
# tqdm
# typer
coverage==7.17.0
coverage==7.17.2
# via pytest-cov
cryptography==50.0.2
# via pdfminer-six
cuda-bindings==13.4.4 ; python_full_version < '3.15' and sys_platform == 'linux'
cuda-bindings==13.5.0 ; python_full_version < '3.15' and sys_platform == 'linux'
# via torch
cuda-pathfinder==1.8.4 ; python_full_version < '3.15' and sys_platform == 'linux'
cuda-pathfinder==1.8.6 ; python_full_version < '3.15' and sys_platform == 'linux'
# via cuda-bindings
cuda-toolkit==13.0.3.0 ; sys_platform == 'linux'
cuda-toolkit==13.2.2 ; sys_platform == 'linux'
# via torch
distro==1.9.0
# via openai
et-xmlfile==2.0.0
# via openpyxl
faiss-cpu==1.15.1
# via -r requirements.txt
fastapi==0.161.1
fastapi==0.162.0
# via -r requirements.txt
filelock==4.2.1
# via
Expand All @@ -81,7 +81,7 @@ h11==0.16.0
# via
# httpcore
# uvicorn
hf-xet==1.7.0 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
hf-xet==1.8.0 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
# via huggingface-hub
httpcore==1.0.9
# via httpx
Expand Down Expand Up @@ -124,7 +124,7 @@ mdurl==0.1.2
# via markdown-it-py
mpmath==1.3.0
# via sympy
narwhals==2.27.1
narwhals==2.28.0
# via scikit-learn
networkx==3.7
# via torch
Expand All @@ -140,46 +140,46 @@ numpy==2.5.4
# sentence-transformers
# shapely
# transformers
nvidia-cublas==13.1.1.3 ; sys_platform == 'linux'
nvidia-cublas==13.4.1.3 ; sys_platform == 'linux'
# via
# cuda-toolkit
# nvidia-cudnn-cu13
# nvidia-cusolver
nvidia-cuda-cupti==13.0.85 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cuda-cccl==13.3.5.0.6 ; sys_platform == 'linux'
# via nvidia-nvshmem-cu13
nvidia-cuda-cupti==13.2.86 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-cuda-nvrtc==13.0.88 ; sys_platform == 'linux'
nvidia-cuda-nvrtc==13.2.86 ; sys_platform == 'linux'
# via
# cuda-toolkit
# nvidia-cublas
nvidia-cuda-runtime==13.0.96 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cuda-runtime==13.2.86 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-cudnn-cu13==9.24.0.43 ; sys_platform == 'linux'
nvidia-cudnn-cu13==9.26.0.51 ; sys_platform == 'linux'
# via torch
nvidia-cufft==12.0.0.61 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cufft==12.2.0.57 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-cufile==1.15.1.6 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cufile==1.17.1.22 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-curand==10.4.0.35 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cusolver==12.2.0.11 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-cusolver==12.0.4.66 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
nvidia-cusparse==12.6.3.3 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-cusparse==12.7.10.12 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via
# cuda-toolkit
# nvidia-cusolver
nvidia-cusparselt-cu13==0.8.1 ; sys_platform == 'linux'
# via torch
nvidia-nccl-cu13==2.30.7 ; sys_platform == 'linux'
# via torch
nvidia-nvjitlink==13.4.92 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-nvjitlink==13.5.37 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via
# cuda-toolkit
# nvidia-cufft
# nvidia-cusolver
# nvidia-cusparse
nvidia-nvshmem-cu13==3.4.5 ; sys_platform == 'linux'
nvidia-nvshmem-cu13==3.7.2 ; sys_platform == 'linux'
# via torch
nvidia-nvtx==13.0.85 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
nvidia-nvtx==13.2.86 ; (platform_machine == 'aarch64' and sys_platform == 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
# via cuda-toolkit
onnxruntime==1.27.0
# via
Expand All @@ -191,7 +191,7 @@ opencv-python==5.0.0.93
# via rapidocr-onnxruntime
openpyxl==3.1.5
# via -r requirements.txt
opentelemetry-api==1.45.1
opentelemetry-api==1.45.2
# via fastapi
packaging==26.3
# via
Expand All @@ -212,7 +212,7 @@ pillow==13.0.0
# pytesseract
# python-pptx
# rapidocr-onnxruntime
platformdirs==4.13.5
platformdirs==4.14.0
# via -r requirements.txt
pluggy==1.7.0
# via
Expand All @@ -226,12 +226,12 @@ pyclipper==1.4.0
# via rapidocr-onnxruntime
pycparser==3.12 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
# via cffi
pydantic==2.14.1
pydantic==2.14.2
# via
# -r requirements.txt
# fastapi
# openai
pydantic-core==2.50.1
pydantic-core==2.50.2
# via pydantic
pygments==2.21.0
# via
Expand All @@ -245,7 +245,7 @@ pypdfium2==5.14.0
# pdfplumber
pytesseract==0.3.13
# via -r requirements.txt
pytest==9.1.1
pytest==9.2.0
# via
# -r requirements.txt
# pytest-cov
Expand Down Expand Up @@ -300,20 +300,20 @@ six==1.17.0
# via rapidocr-onnxruntime
sniffio==1.3.1
# via openai
soupsieve==3.0.4
soupsieve==4.0.1
# via beautifulsoup4
starlette==1.10.0
# via fastapi
sympy==1.14.0
# via torch
threadpoolctl==3.7.0
threadpoolctl==3.8.0
# via scikit-learn
tokenizers==0.23.3
# via
# -r requirements.txt
# sentence-transformers
# transformers
torch==2.14.1
torch==2.15.0
# via sentence-transformers
tqdm==4.69.0
# via
Expand All @@ -322,9 +322,9 @@ tqdm==4.69.0
# openai
# sentence-transformers
# transformers
transformers==5.20.2
transformers==5.22.1
# via sentence-transformers
triton==3.8.0 ; python_full_version < '3.15' and sys_platform == 'linux'
triton==3.9.0 ; python_full_version < '3.16' and sys_platform == 'linux'
# via torch
typer==0.27.3
# via transformers
Expand All @@ -343,13 +343,15 @@ typing-extensions==4.16.0
# sentence-transformers
# torch
# typing-inspection
typing-inspection==0.4.4
typing-inspection==0.4.5
# via
# fastapi
# pydantic
urllib3==2.8.0
# via requests
# via
# -r requirements.txt
# requests
uvicorn==0.54.0
# via -r requirements.txt
xlsxwriter==3.3.0
xlsxwriter==3.3.1
# via python-pptx
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

# ---- 配置 / 环境 ----
PyYAML==6.0.3
pydantic==2.14.1
pydantic==2.14.2
python-dotenv==1.2.4
platformdirs==4.13.5
platformdirs==4.14.0

# ---- LLM / 嵌入模型 ----
openai==2.54.0
Expand All @@ -16,7 +16,7 @@ huggingface_hub==1.33.0
tokenizers==0.23.3

# ---- Web 服务 ----
fastapi==0.161.1
fastapi==0.162.0
uvicorn==0.54.0
pyjwt==2.15.1
jinja2==3.1.6
Expand Down Expand Up @@ -55,6 +55,6 @@ rich==15.0.0
psutil==7.2.2

# ---- 测试(构建二进制时不会被打包,仅在开发/CI 安装)----
pytest==9.1.1
pytest==9.2.0
pytest-cov==7.1.0
pytest-timeout==2.4.0
Loading
Loading