FIX: sửa requirement bỏ pedalboard addon
This commit is contained in:
@@ -28,6 +28,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install pyinstaller pywin32
|
pip install pyinstaller pywin32
|
||||||
pip install -r requirements.txt
|
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)
|
- name: Precompile JS (Babel)
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
+2
-1
@@ -11,7 +11,8 @@ soundfile>=0.12.1
|
|||||||
jinja2>=3.1.2
|
jinja2>=3.1.2
|
||||||
httpx>=0.24.0
|
httpx>=0.24.0
|
||||||
jsonschema>=4.18.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
|
mido>=1.3.0
|
||||||
pyfluidsynth>=1.3.0
|
pyfluidsynth>=1.3.0
|
||||||
sf2utils>=0.9.0
|
sf2utils>=0.9.0
|
||||||
|
|||||||
@@ -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.
|
- **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.
|
- **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.
|
- **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.
|
||||||
|
|||||||
Reference in New Issue
Block a user