From 0825a2d91e1e331ea43ef149ea82ac15789ddf45 Mon Sep 17 00:00:00 2001 From: oqyude Date: Fri, 16 Oct 2026 14:03:56 +0300 Subject: [PATCH] =?UTF-8?q?fix(engipy-install):=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20python-multipart=3D=3D0.0.20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FastAPI route /api/match использует file: UploadFile = File(...). При импорте app.routes.match (через 'import app.main') FastAPI вызывает ensure_multipart_is_installed() и падает с RuntimeError, если python-multipart не установлен. Добавил в requirements.txt. --- modules/server/engipy-backend.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/server/engipy-backend.nix b/modules/server/engipy-backend.nix index ba402f0..5d6acc7 100644 --- a/modules/server/engipy-backend.nix +++ b/modules/server/engipy-backend.nix @@ -53,6 +53,7 @@ let numpy==2.2.1 pandas==2.3.3 openpyxl==3.1.5 + python-multipart==0.0.20 sentence-transformers==3.3.1 transformers==4.47.1 huggingface-hub==0.27.0