FIX: sửa requirement bỏ pedalboard addon

This commit is contained in:
2026-08-08 08:59:58 +07:00
parent 0f78093ce2
commit fc24b08505
3 changed files with 12 additions and 1 deletions
+3
View File
@@ -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
+2 -1
View File
@@ -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
+7
View File
@@ -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.