From fc24b08505f6520691be02a140f05db3739bb908 Mon Sep 17 00:00:00 2001 From: 3dtours Date: Sat, 8 Aug 2026 08:59:58 +0700 Subject: [PATCH] =?UTF-8?q?FIX:=20s=E1=BB=ADa=20requirement=20b=E1=BB=8F?= =?UTF-8?q?=20pedalboard=20addon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/windows-build.yml | 3 +++ requirements.txt | 3 ++- wiki.md | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 135b899..3a8b60e 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -28,6 +28,9 @@ jobs: run: | pip install pyinstaller pywin32 pip install -r requirements.txt + # pedalboard --no-deps: tránh supertonic (kéo onnx2tf/opencv/pocket-tts — + # xung đột numpy<2 vs >=2 — 2026-08-08) + pip install --no-deps pedalboard>=0.8.0 - name: Precompile JS (Babel) shell: bash diff --git a/requirements.txt b/requirements.txt index 11bb8d9..fbc3af1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,8 @@ soundfile>=0.12.1 jinja2>=3.1.2 httpx>=0.24.0 jsonschema>=4.18.0 -pedalboard>=0.8.0 +# pedalboard cài RIÊNG với --no-deps (tránh supertonic — kéo onnx2tf/opencv/pocket-tts +# xung đột numpy<2 vs >=2 — dự án không dùng supertonic — 2026-08-08) mido>=1.3.0 pyfluidsynth>=1.3.0 sf2utils>=0.9.0 diff --git a/wiki.md b/wiki.md index d8fa423..3a09b0a 100644 --- a/wiki.md +++ b/wiki.md @@ -2965,3 +2965,10 @@ - **FIX:** requirements.txt — `numpy>=1.24.0,<2.0`. Kiểm tra: code KHÔNG dùng API numpy 2.x (np.float_/np.int_...) → pin <2.0 an toàn. - **Các file ảnh hưởng:** requirements.txt, wiki.md. - **Ghi chú/Test:** chạy lại workflow windows-build — pip cài numpy 1.26.x — hết conflict supertonic. + +### [2026-08-08 08:40] Task: FIX build Windows (2) — supertonic kéo onnx2tf/opencv/pocket-tts xung đột numpy +- **Lỗi CI:** sau pin numpy<2.0 — conflict NGƯỢC: ml-dtypes/onnx2tf/opencv-python/pocket-tts yêu cầu numpy>=2 — supertonic (pedalboard dep) yêu cầu numpy<2 — KHÔNG có numpy nào thỏa cả 2. +- **Nguyên nhân:** supertonic (AI synth — kéo onnx2tf/opencv/pocket-tts/ml-dtypes) — dự án KHÔNG dùng supertonic. +- **FIX:** (1) requirements.txt — BỎ `pedalboard` (chú thích lý do); (2) CI — `pip install -r requirements.txt` + `pip install --no-deps pedalboard>=0.8.0` (chỉ pedalboard core — load_plugin VST3 KHÔNG cần supertonic). +- **Các file ảnh hưởng:** requirements.txt, .github/workflows/windows-build.yml, wiki.md. +- **Ghi chú/Test:** chạy lại workflow — hết conflict numpy; pedalboard (VST3 render) vẫn hoạt động qua --no-deps.