From 0e4b68078ac8336584a95dc7b03d6686ea74a3e6 Mon Sep 17 00:00:00 2001 From: tsondo Date: Mon, 27 Jul 2026 23:45:21 +0200 Subject: [PATCH 1/2] fix(deps): declare python-multipart as a direct dependency The API server uses FastAPI UploadFile/Form endpoints (acestep/api/route_setup.py, acestep/api/http/release_task_audio_paths.py), which require python-multipart at route-definition time. It currently arrives only transitively through gradio, so installs without gradio (headless API deployments) fail on import. Co-Authored-By: Claude Fable 5 --- pyproject.toml | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 990f80037..b353723bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ dependencies = [ "fastapi>=0.110.0", "diskcache", "uvicorn[standard]>=0.27.0", + "python-multipart>=0.0.18", "numba>=0.63.1", "vector-quantize-pytorch>=1.27.15", "torchcodec>=0.9.1; platform_machine != 'aarch64'", diff --git a/requirements.txt b/requirements.txt index e0d88c9ce..ff9f5cbc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,6 +30,7 @@ einops>=0.8.1 accelerate>=1.12.0 fastapi>=0.110.0 uvicorn[standard]>=0.27.0 +python-multipart>=0.0.18 numba>=0.63.1 vector-quantize-pytorch>=1.27.15 torchcodec>=0.9.1; platform_machine != 'aarch64' From c2ae8bb0df18436c7ef4043472da0260ae87ff2b Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 17 Aug 2026 15:28:13 +0000 Subject: [PATCH 2/2] chore(deps): record python-multipart as a direct dependency in uv.lock Adds the direct dependency edge and requires-dist entry for python-multipart>=0.0.18 on the ace-step package, matching the pyproject.toml change. The locked version (0.0.22, already resolved via gradio) is unchanged. Verified with 'uv lock --check'. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MGYzKnqg6ti5DENrxcfwnp --- uv.lock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uv.lock b/uv.lock index dd9d5fa4a..87c2442e7 100644 --- a/uv.lock +++ b/uv.lock @@ -75,6 +75,7 @@ dependencies = [ { name = "nano-vllm", marker = "platform_machine != 'arm64' or sys_platform != 'darwin'" }, { name = "numba" }, { name = "peft" }, + { name = "python-multipart" }, { name = "pytorch-wavelets" }, { name = "pywavelets" }, { name = "scipy" }, @@ -121,6 +122,7 @@ requires-dist = [ { name = "nano-vllm", marker = "platform_machine != 'arm64' or sys_platform != 'darwin'", directory = "acestep/third_parts/nano-vllm" }, { name = "numba", specifier = ">=0.63.1" }, { name = "peft", specifier = ">=0.18.0" }, + { name = "python-multipart", specifier = ">=0.0.18" }, { name = "pytorch-wavelets", specifier = ">=1.3.0" }, { name = "pywavelets", specifier = ">=1.9.0" }, { name = "scipy", specifier = ">=1.10.1" },