From 7f223d5adafa560211ae3f75db2d3049010c754c Mon Sep 17 00:00:00 2001 From: yangdx Date: Wed, 15 Oct 2025 23:59:35 +0800 Subject: [PATCH] Fix linting --- constraints-offline.txt | 142 +++++++++++++++++++-------------------- requirements-offline.txt | 30 ++++----- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/constraints-offline.txt b/constraints-offline.txt index a9845611..e516b777 100644 --- a/constraints-offline.txt +++ b/constraints-offline.txt @@ -2,87 +2,22 @@ # Generated: 2025-10-15 # Use with: pip install --constraint constraints-offline.txt -r requirements-offline.txt -# Core ML/AI packages -torch==2.2.2 -transformers==4.57.1 -tokenizers==0.22.1 -torchvision==0.17.2 -huggingface-hub==0.35.3 -safetensors==0.6.2 accelerate==1.10.1 -# LLM Provider packages -openai==1.109.1 -anthropic==0.69.0 -ollama==0.6.0 -zhipuai==2.1.5.20250825 -voyageai==0.3.5 - # AWS/Boto packages aioboto3==15.2.0 aiobotocore==2.24.2 -boto3==1.40.18 -botocore==1.40.18 - -# LlamaIndex packages -llama-index==0.14.4 -llama-index-core==0.14.4 -llama-index-cli==0.5.3 -llama-index-embeddings-openai==0.5.1 -llama-index-indices-managed-llama-cloud==0.9.4 -llama-index-instrumentation==0.4.2 -llama-index-llms-openai==0.6.4 -llama-index-readers-file==0.5.4 -llama-index-readers-llama-parse==0.5.1 -llama-index-workflows==2.8.0 -llama-cloud==0.1.35 -llama-cloud-services==0.6.54 -llama-parse==0.6.54 - -# Document processing packages -docling==2.57.0 -docling-core==2.48.4 -docling-ibm-models==3.9.1 -docling-parse==4.5.0 -pypdf==6.1.1 -pypdfium2==4.30.0 -python-docx==1.2.0 -python-pptx==1.0.2 -openpyxl==3.1.5 -lxml==5.4.0 - -# Storage backends -redis==6.4.0 -neo4j==6.0.2 -pymilvus==2.6.2 -pymongo==4.15.3 -asyncpg -qdrant-client==1.15.1 - -# Data processing -pandas==2.2.3 -numpy -scipy==1.16.2 - -# Computer vision -opencv-python==4.11.0.86 -opencv-python-headless==4.11.0.86 -pillow==11.3.0 - -# NLP packages -nltk==3.9.2 -langchain-core==0.3.79 -langchain-text-splitters==0.3.11 -langsmith==0.4.35 - -# Authentication -pyjwt==2.8.0 # Utility packages aioitertools==0.12.0 aiolimiter==1.2.1 aiosqlite==0.21.0 +anthropic==0.69.0 +antlr4-python3-runtime==4.9.3 +asyncpg beautifulsoup4==4.14.2 +boto3==1.40.18 +botocore==1.40.18 cachetools==6.2.1 colorama==0.4.6 colorlog==6.9.0 @@ -92,6 +27,12 @@ deprecated==1.2.18 dill==0.4.0 dirtyjson==1.0.8 dnspython==2.8.0 + +# Document processing packages +docling==2.57.0 +docling-core==2.48.4 +docling-ibm-models==3.9.1 +docling-parse==4.5.0 docstring-parser==0.17.0 faker==37.11.0 filetype==1.2.0 @@ -101,6 +42,7 @@ griffe==1.14.0 grpcio==1.75.1 h2==4.3.0 hpack==4.1.0 +huggingface-hub==0.35.3 hyperframe==6.1.0 jinja2==3.1.6 jmespath==1.0.1 @@ -111,7 +53,26 @@ jsonpointer==3.0.0 jsonref==1.1.0 jsonschema==4.25.1 jsonschema-specifications==2025.9.1 +langchain-core==0.3.79 +langchain-text-splitters==0.3.11 +langsmith==0.4.35 latex2mathml==3.78.1 +llama-cloud==0.1.35 +llama-cloud-services==0.6.54 + +# LlamaIndex packages +llama-index==0.14.4 +llama-index-cli==0.5.3 +llama-index-core==0.14.4 +llama-index-embeddings-openai==0.5.1 +llama-index-indices-managed-llama-cloud==0.9.4 +llama-index-instrumentation==0.4.2 +llama-index-llms-openai==0.6.4 +llama-index-readers-file==0.5.4 +llama-index-readers-llama-parse==0.5.1 +llama-index-workflows==2.8.0 +llama-parse==0.6.54 +lxml==5.4.0 markdown-it-py==4.0.0 marko==2.2.1 markupsafe==3.0.3 @@ -121,9 +82,27 @@ mpire==2.10.2 mpmath==1.3.0 multiprocess==0.70.18 mypy-extensions==1.1.1 +neo4j==6.0.2 nest-asyncio==1.6.0 + +# NLP packages +nltk==3.9.2 +numpy +ollama==0.6.0 omegaconf==2.3.0 + +# LLM Provider packages +openai==1.109.1 + +# Computer vision +opencv-python==4.11.0.86 +opencv-python-headless==4.11.0.86 +openpyxl==3.1.5 orjson==3.11.3 + +# Data processing +pandas==2.2.3 +pillow==11.3.0 pluggy==1.6.0 polyfactory==2.22.2 portalocker==3.2.0 @@ -131,14 +110,29 @@ protobuf==6.32.1 pyclipper==1.3.0.post6 pydantic-settings==2.11.0 pygments==2.19.2 + +# Authentication +pyjwt==2.8.0 pylatexenc==2.10 +pymilvus==2.6.2 +pymongo==4.15.3 +pypdf==6.1.1 +pypdfium2==4.30.0 +python-docx==1.2.0 +python-pptx==1.0.2 +qdrant-client==1.15.1 rapidocr==3.4.2 + +# Storage backends +redis==6.4.0 referencing==0.37.0 requests-toolbelt==1.0.0 rich==14.2.0 rpds-py==0.27.1 rtree==1.4.1 s3transfer==0.13.1 +safetensors==0.6.2 +scipy==1.16.2 semchunk==2.2.2 shapely==2.1.2 shellingham==1.5.4 @@ -147,12 +141,18 @@ sqlalchemy==2.0.44 striprtf==0.0.26 sympy==1.14.0 tabulate==0.9.0 +tokenizers==0.22.1 +# Core ML/AI packages +torch==2.2.2 +torchvision==0.17.2 +transformers==4.57.1 typer==0.19.2 typing-inspect==0.9.0 ujson==5.11.0 +voyageai==0.3.5 wrapt==1.17.3 +zhipuai==2.1.5.20250825 zstandard==0.25.0 -antlr4-python3-runtime==4.9.3 # Special packages (platform-specific) # Note: These may not be available on all platforms diff --git a/requirements-offline.txt b/requirements-offline.txt index fd1f70ad..bea30010 100644 --- a/requirements-offline.txt +++ b/requirements-offline.txt @@ -10,25 +10,25 @@ # LLM provider dependencies (with version constraints matching pyproject.toml) aioboto3>=12.0.0,<16.0.0 anthropic>=0.18.0,<1.0.0 + +# Storage backend dependencies +asyncpg>=0.29.0,<1.0.0 + +# Document processing dependencies +docling>=1.0.0,<3.0.0 llama-index>=0.9.0,<1.0.0 +neo4j>=5.0.0,<7.0.0 ollama>=0.1.0,<1.0.0 openai>=1.0.0,<2.0.0 +openpyxl>=3.0.0,<4.0.0 +pymilvus>=2.6.2,<3.0.0 +pymongo>=4.0.0,<5.0.0 +pypdf2>=3.0.0 +python-docx>=0.8.11,<2.0.0 +python-pptx>=0.6.21,<2.0.0 +qdrant-client>=1.7.0,<2.0.0 +redis>=5.0.0,<7.0.0 torch>=2.0.0,<2.3.0 transformers>=4.30.0,<5.0.0 voyageai>=0.2.0,<1.0.0 zhipuai>=2.0.0,<3.0.0 - -# Storage backend dependencies -asyncpg>=0.29.0,<1.0.0 -neo4j>=5.0.0,<7.0.0 -pymilvus>=2.6.2,<3.0.0 -pymongo>=4.0.0,<5.0.0 -qdrant-client>=1.7.0,<2.0.0 -redis>=5.0.0,<7.0.0 - -# Document processing dependencies -docling>=1.0.0,<3.0.0 -openpyxl>=3.0.0,<4.0.0 -pypdf2>=3.0.0 -python-docx>=0.8.11,<2.0.0 -python-pptx>=0.6.21,<2.0.0