From 8dd917b6ede888afacf3dda0763d189b4442d19b Mon Sep 17 00:00:00 2001 From: Pier-Jean Malandrino Date: Thu, 2 Apr 2026 21:40:02 +0200 Subject: [PATCH] Split requirements into base and local variants Remote mode only needs FastAPI, httpx and lightweight deps. Local mode adds docling and docling-core for in-process conversion. --- document-parser/requirements-local.txt | 3 +++ document-parser/requirements.txt | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 document-parser/requirements-local.txt diff --git a/document-parser/requirements-local.txt b/document-parser/requirements-local.txt new file mode 100644 index 0000000..82cf543 --- /dev/null +++ b/document-parser/requirements-local.txt @@ -0,0 +1,3 @@ +-r requirements.txt +docling>=2.80.0,<3.0.0 +docling-core>=2.0.0,<3.0.0 diff --git a/document-parser/requirements.txt b/document-parser/requirements.txt index 4b8cc74..24aeedb 100644 --- a/document-parser/requirements.txt +++ b/document-parser/requirements.txt @@ -1,5 +1,3 @@ -docling>=2.80.0,<3.0.0 -docling-core>=2.0.0,<3.0.0 fastapi>=0.115.0,<1.0.0 uvicorn[standard]>=0.32.0,<1.0.0 python-multipart>=0.0.12