From b723f45c9335eebcedea681ee4243b62a2b195ea Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Fri, 27 Mar 2026 18:34:50 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20resolve=20all=20pip=20dependency=20confl?= =?UTF-8?q?icts=20=E2=80=94=20verified=20clean=20install=20in=20python:3.1?= =?UTF-8?q?1-slim=20Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Full resolution after iterative Docker testing: - fastapi: 0.109.0 -> 0.115.0 + starlette==0.38.6 (explicit pin) - pydantic: 2.5.3 -> 2.11.1 (crawl4ai>=2.10, langchain-core>=2.7.4) - websockets: 12.0 -> 14.2 - cryptography: 41.0.7 -> 46.0.0 (pyOpenSSL 26 needs >=46) - pyOpenSSL: added 26.0.0 (crawl4ai>=24.3.0) - opentelemetry: 1.21.0 -> 1.29.0 (dropped importlib-metadata<7 constraint) - python-dotenv: 1.0.0 -> 1.0.1 (scrapegraphai>=1.0.1) - aiofiles: 23.2.1 -> 24.1.0 (crawl4ai>=24.1.0) - httpx: 0.25.1 -> 0.28.1 (litellm>=0.23.0), removed duplicate - requests: 2.31.0 -> 2.32.3 - aiohttp: 3.9.1 -> 3.11.14 (litellm>=3.10) - psutil: 5.9.7 -> 6.1.1 (crawl4ai>=6.1.1) - jsonschema: 4.20.0 -> 4.23.0 (litellm>=4.22.0) - Add: aiosqlite==0.20.0, pillow==10.4.0, lxml==5.3.2 - Add AI/LLM section: openai==1.109.1, litellm==1.79.3, tiktoken==0.9.0 - Add langchain stack: 0.3.x pinned (core=0.3.82, openai=0.3.35, community=0.3.20, text-splitters=0.3.8, smith=0.3.45) - Add: numpy==1.26.4, pandas==2.2.3, sqlalchemy==2.0.40, jinja2==3.1.6 - Add: tokenizers==0.21.1, fastuuid==0.14.0 --- requirements.txt | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8c4d99bf..fe46ec44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ pydantic==2.11.1 python-multipart==0.0.6 websockets==14.2 python-socketio==5.11.0 +starlette==0.38.6 # --- Database --- asyncpg==0.29.0 @@ -15,13 +16,14 @@ psycopg2-binary==2.9.9 # --- Security --- cryptography==46.0.0 python-jose[cryptography]==3.3.0 +pyOpenSSL==26.0.0 # --- Logging / Observability --- structlog==23.2.0 python-json-logger==2.0.7 prometheus-client==0.19.0 -opentelemetry-api==1.21.0 -opentelemetry-sdk==1.21.0 +opentelemetry-api==1.29.0 +opentelemetry-sdk==1.29.0 # --- CLI --- click==8.1.7 @@ -32,7 +34,7 @@ ulid-py==1.1.0 python-dotenv==1.0.1 pyyaml==6.0.1 toml==0.10.2 -jsonschema==4.20.0 +jsonschema==4.23.0 python-dateutil==2.8.2 pytz==2023.3 aiofiles==24.1.0 @@ -40,12 +42,26 @@ httpx==0.28.1 requests==2.32.3 aiohttp==3.11.14 psutil==6.1.1 -pyOpenSSL==26.0.0 aiosqlite==0.20.0 pillow==10.4.0 lxml==5.3.2 -litellm==1.82.6 -starlette==0.38.6 +jinja2==3.1.6 +numpy==1.26.4 +sqlalchemy==2.0.40 +pandas==2.2.3 + +# --- AI / LLM (pinned for crawl4ai + litellm + scrapegraphai compat) --- +openai==1.109.1 +litellm==1.79.3 +tiktoken==0.9.0 +langchain==0.3.21 +langchain-core==0.3.82 +langchain-openai==0.3.35 +langchain-community==0.3.20 +langchain-text-splitters==0.3.8 +langsmith==0.3.45 +tokenizers==0.21.1 +fastuuid==0.14.0 # --- Plugin / sandbox (optional) --- pluggy==1.4.0