d65e647f95
- Bump base image in docker/Dockerfile.app from golang:1.24 to golang:1.26
to match `go 1.26` declared in go.mod (fixes CI build failure on
`go mod download`).
- Drop unused docreader components and their dependencies:
- Remove `docreader/ocr/` package (paddle/vlm/dummy backends are
unreferenced by the main flow; OCR/VLM is handled by the Go App).
- Remove `docreader/parser/storage.py` (dead code; image persistence
happens in the Go App via inline ImageRef bytes).
- Remove `docreader/scripts/download_deps.py` (PaddleOCR pre-download).
- Drop deps: paddleocr, paddlepaddle, openai, ollama, minio,
cos-python-sdk-v5, oss2, asyncio, pypdf2, markdown, mistletoe,
goose3, markdownify, pdfplumber, antiword, urllib3.
- Re-lock uv.lock: 145 -> 79 packages.
- Update docreader/README.md to reflect that OCR/VLM/storage are no
longer configured at the docreader level.
25 lines
579 B
TOML
25 lines
579 B
TOML
[project]
|
|
name = "docreader"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10.18"
|
|
dependencies = [
|
|
"beautifulsoup4>=4.14.2",
|
|
"grpcio>=1.76.0",
|
|
"grpcio-health-checking>=1.76.0",
|
|
"grpcio-tools>=1.76.0",
|
|
"lxml>=6.1.0",
|
|
"markitdown[docx,pdf,xls,xlsx]>=0.1.3",
|
|
"pillow>=12.0.0",
|
|
"playwright>=1.55.0",
|
|
"protobuf>=6.33.0",
|
|
"pydantic>=2.12.3",
|
|
"pypdf>=6.1.3",
|
|
"pypdfium2>=5.0.0",
|
|
"python-docx>=1.2.0",
|
|
"requests>=2.32.5",
|
|
"textract==1.5.0",
|
|
"trafilatura>=2.0.0",
|
|
]
|