Просмотр исходного кода

refactor: 清理 requirements — 移除106个无效依赖

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
WangXuMing 2 недель назад
Родитель
Сommit
7b6028649e
1 измененных файлов с 1 добавлено и 114 удалено
  1. 1 114
      requirements/base.txt

+ 1 - 114
requirements/base.txt

@@ -19,7 +19,6 @@ redis==6.2.0
 vine
 vine
 
 
 # AI / LLM
 # AI / LLM
-dashscope==1.23.8
 langchain-chroma==0.2.4
 langchain-chroma==0.2.4
 langchain-classic==1.0.0
 langchain-classic==1.0.0
 langchain-community==0.4.1
 langchain-community==0.4.1
@@ -43,12 +42,9 @@ langserve
 langsmith==0.4.58
 langsmith==0.4.58
 openai==2.9.0
 openai==2.9.0
 tiktoken==0.12.0
 tiktoken==0.12.0
-xinference-client==1.7.1.post1
-zhipuai==2.1.5.20250708
 
 
 # Data / Database
 # Data / Database
 aiomysql==0.3.2
 aiomysql==0.3.2
-chromadb==1.0.15
 greenlet==3.3.0
 greenlet==3.3.0
 milvus==2.2.16
 milvus==2.2.16
 mysql-connector-python==9.3.0
 mysql-connector-python==9.3.0
@@ -63,20 +59,13 @@ sqlalchemy==2.0.45
 
 
 # Document Processing
 # Document Processing
 Pillow>=9.0.0
 Pillow>=9.0.0
-beautifulsoup4==4.14.3
-bs4==0.0.2
-docopt==0.6.2
-docutils==0.21.2
 docx2pdf>=0.1.8
 docx2pdf>=0.1.8
-ffmpeg-python==0.2.0
 lxml==6.0.2
 lxml==6.0.2
 markdownify==1.2.2
 markdownify==1.2.2
-pandocfilters==1.5.1
 pillow==12.0.0
 pillow==12.0.0
 pymupdf==1.26.3
 pymupdf==1.26.3
 pypdf==6.2.0
 pypdf==6.2.0
 python-docx==1.2.0
 python-docx==1.2.0
-soupsieve==2.8
 
 
 # Observability
 # Observability
 opentelemetry-api==1.34.1
 opentelemetry-api==1.34.1
@@ -86,22 +75,14 @@ opentelemetry-exporter-otlp-proto-http==1.34.1
 opentelemetry-proto==1.34.1
 opentelemetry-proto==1.34.1
 opentelemetry-sdk==1.34.1
 opentelemetry-sdk==1.34.1
 opentelemetry-semantic-conventions==0.55b1
 opentelemetry-semantic-conventions==0.55b1
-posthog==5.4.0
 
 
 # Serialization / Types
 # Serialization / Types
 annotated-types==0.7.0
 annotated-types==0.7.0
-dataclasses-json==0.6.7
 fastjsonschema==2.21.2
 fastjsonschema==2.21.2
-jsonpatch==1.33
-jsonpath-ng==1.7.0
-jsonpointer==3.0.0
 jsonschema-pydantic==0.6
 jsonschema-pydantic==0.6
 jsonschema-specifications==2025.4.1
 jsonschema-specifications==2025.4.1
 jsonschema==4.24.0
 jsonschema==4.24.0
-marshmallow==3.26.1
-mypy-extensions==1.1.0
 openapi-pydantic==0.5.1
 openapi-pydantic==0.5.1
-orjson==3.11.5
 pydantic-core==2.41.5
 pydantic-core==2.41.5
 pydantic-settings==2.12.0
 pydantic-settings==2.12.0
 pydantic==2.12.5
 pydantic==2.12.5
@@ -109,7 +90,6 @@ pyyaml==6.0.3
 typing-extensions==4.15.0
 typing-extensions==4.15.0
 typing-inspect==0.9.0
 typing-inspect==0.9.0
 typing-inspection==0.4.2
 typing-inspection==0.4.2
-ujson==5.10.0
 
 
 # Infrastructure / Network
 # Infrastructure / Network
 aiohappyeyeballs==2.6.1
 aiohappyeyeballs==2.6.1
@@ -118,46 +98,30 @@ aiolimiter==1.2.1
 aiosignal==1.4.0
 aiosignal==1.4.0
 anyio==4.12.0
 anyio==4.12.0
 async-timeout==5.0.1
 async-timeout==5.0.1
-authlib==1.6.0
 backoff==2.2.1
 backoff==2.2.1
-bcrypt==4.3.0
-cachetools==5.5.2
 certifi==2025.11.12
 certifi==2025.11.12
 cffi==1.17.1
 cffi==1.17.1
 charset-normalizer==3.4.4
 charset-normalizer==3.4.4
 cryptography==45.0.5
 cryptography==45.0.5
 distro==1.9.0
 distro==1.9.0
-durationpy==0.10
 filelock==3.20.0
 filelock==3.20.0
 frozenlist==1.8.0
 frozenlist==1.8.0
-google-auth==2.40.3
-googleapis-common-protos==1.70.0
 h11==0.16.0
 h11==0.16.0
 httpcore==1.0.9
 httpcore==1.0.9
 httpx-sse==0.4.3
 httpx-sse==0.4.3
 httpx==0.28.1
 httpx==0.28.1
 idna==3.11
 idna==3.11
 multidict==6.7.0
 multidict==6.7.0
-oauthlib==3.3.1
-portalocker==3.2.0
 propcache==0.4.1
 propcache==0.4.1
-pyasn1-modules==0.4.2
-pyasn1==0.6.1
 pybase64==1.4.1
 pybase64==1.4.1
 pycparser==2.22
 pycparser==2.22
-pyjwt==2.8.0
 python-dotenv==1.2.1
 python-dotenv==1.2.1
-requests-oauthlib==2.0.0
 requests-toolbelt==1.0.0
 requests-toolbelt==1.0.0
 requests==2.32.5
 requests==2.32.5
-rsa==4.9.1
 sniffio==1.3.1
 sniffio==1.3.1
 urllib3==2.6.1
 urllib3==2.6.1
 yarl==1.22.0
 yarl==1.22.0
 
 
-# RAG / Vector
-voyageai==0.3.6
-
 # OCR / CV
 # OCR / CV
 onnxruntime==1.22.0
 onnxruntime==1.22.0
 opencv-python-headless>=4.8.0
 opencv-python-headless>=4.8.0
@@ -168,121 +132,44 @@ rapidocr_onnxruntime>=1.3.0
 ultralytics>=8.0.0
 ultralytics>=8.0.0
 
 
 # NLP
 # NLP
-jieba==0.42.1
-nltk==3.9.1
 regex==2025.11.3
 regex==2025.11.3
-tokenizers==0.22.1
 
 
 # CLI / Rich
 # CLI / Rich
-click-didyoumean
-click-plugins==1.1.1.2
-click-repl
 click==8.3.1
 click==8.3.1
-colorama
-coloredlogs==15.0.1
-concurrent-log-handler==0.9.28
 humanfriendly==10.0
 humanfriendly==10.0
-markdown-it-py==3.0.0
-prompt-toolkit
-pygments==2.19.2
-rich-rst==1.3.1
-rich==14.0.0
-typer-slim==0.20.0
-typer==0.16.0
-wcwidth==0.2.14
 
 
 # Utilities
 # Utilities
-defusedxml==0.7.1
-docstring-parser==0.16
 fastmcp==2.10.4
 fastmcp==2.10.4
-flatbuffers==25.2.10
 fsspec==2025.12.0
 fsspec==2025.12.0
-future==1.0.0
-grandalf==0.8
-hf-xet==1.2.0
-huggingface-hub==1.2.1
 importlib-metadata==8.7.0
 importlib-metadata==8.7.0
 importlib-resources==6.5.2
 importlib-resources==6.5.2
-jinja2==3.1.6
-jiter==0.12.0
 joblib==1.5.1
 joblib==1.5.1
-markupsafe==3.0.3
 mcp==1.10.1
 mcp==1.10.1
 mdurl==0.1.2
 mdurl==0.1.2
-ml-dtypes==0.5.3
-mmh3==5.1.0
-mpmath==1.3.0
-nest-asyncio==1.6.0
 numpy==2.3.5
 numpy==2.3.5
-numpy>=1.21.0
-ormsgpack==1.12.0
 overrides==7.7.0
 overrides==7.7.0
 packaging==25.0
 packaging==25.0
 pandas==2.3.3
 pandas==2.3.3
-pip
 platformdirs==4.5.1
 platformdirs==4.5.1
-ply==3.11
-protobuf
-psutil==7.0.0
 pyparsing==3.2.5
 pyparsing==3.2.5
-pyperclip==1.9.0
-pypika==0.48.9
 python-dateutil
 python-dateutil
 python-ulid==3.1.0
 python-ulid==3.1.0
 pytz==2025.2
 pytz==2025.2
 referencing==0.36.2
 referencing==0.36.2
 rpds-py==0.26.0
 rpds-py==0.26.0
 setuptools==80.9.0
 setuptools==80.9.0
-shellingham==1.5.4
 six
 six
-sympy==1.14.0
 tenacity==9.1.2
 tenacity==9.1.2
 tqdm==4.67.1
 tqdm==4.67.1
 tzdata
 tzdata
 uuid-utils==0.12.0
 uuid-utils==0.12.0
-webencodings==0.5.1
 wheel==0.45.1
 wheel==0.45.1
 wrapt==1.17.3
 wrapt==1.17.3
-xxhash==3.6.0
 yarg==0.1.9
 yarg==0.1.9
 zipp==3.23.0
 zipp==3.23.0
-zstandard==0.25.0
 
 
-# Jupyter (dev dependency)
-asttokens==3.0.1
-backcall==0.2.0
-bleach==6.3.0
-decorator==5.2.1
-exceptiongroup==1.3.0
-executing==2.2.1
-iniconfig==2.1.0
-jedi==0.19.2
-jupyter-client==8.7.0
-jupyter-core==5.9.1
-jupyterlab-pygments==0.3.0
-matplotlib-inline==0.2.1
-nbclient==0.10.2
-nbconvert==7.16.6
-nbformat==5.10.4
-parso==0.8.5
-pickleshare==0.7.5
-pluggy==1.6.0
-pure-eval==0.2.3
-pyreadline3==3.5.4
+# Platform-specific
 pywin32==311; sys_platform == 'win32'
 pywin32==311; sys_platform == 'win32'
-pyzmq==27.1.0
-stack-data==0.6.3
-tinycss2==1.4.0
-tornado==6.5.2
-traitlets==5.14.3
 
 
 # Misc
 # Misc
 attrs==25.4.0
 attrs==25.4.0
-cyclopts==3.22.2
-dnspython==2.7.0
-email-validator==2.2.0
-grpcio==1.76.0
-kubernetes==33.1.0
-mistune==3.1.4
-uv==0.7.20
-websocket-client==1.8.0