Remove direct nltk dependency (#878)

This commit is contained in:
Sergey Mankovsky
2026-02-26 00:00:22 +01:00
committed by GitHub
parent 69f7cce0fd
commit d79ec4149a
3 changed files with 1402 additions and 1408 deletions

View File

@@ -17,9 +17,6 @@ WORKDIR /app
COPY pyproject.toml uv.lock README.md /app/
RUN uv sync --compile-bytecode --locked
# pre-download nltk packages
RUN uv run python -c "import nltk; nltk.download('punkt_tab'); nltk.download('averaged_perceptron_tagger_eng')"
# bootstrap
COPY alembic.ini runserver.sh /app/
COPY images /app/images

View File

@@ -22,7 +22,6 @@ dependencies = [
"databases[aiosqlite, asyncpg]>=0.7.0",
"sqlalchemy<1.5",
"alembic>=1.11.3",
"nltk>=3.8.1",
"prometheus-fastapi-instrumentator>=6.1.0",
"sentencepiece>=0.1.99",
"protobuf>=4.24.3",

2806
server/uv.lock generated

File diff suppressed because it is too large Load Diff