FIX: sửa requirement

This commit is contained in:
2026-08-08 08:53:40 +07:00
parent 029ed1c456
commit 0f78093ce2
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ redis>=4.6.0
python-multipart>=0.0.6
librosa>=0.10.0
pydub>=0.25.1
numpy>=1.24.0
numpy>=1.24.0,<2.0
scipy>=1.10.0
soundfile>=0.12.1
jinja2>=3.1.2
+6
View File
@@ -2959,3 +2959,9 @@
(4) `.github/workflows/windows-build.yml` — windows-latest: python 3.11 + node + rust → pip deps → Babel precompile → pyinstaller engine.spec → copy sidecar (daw_engine-x86_64-pc-windows-msvc.exe) → npx tauri build → upload artifact (NSIS .exe + MSI + daw_engine.exe).
- **Các file ảnh hưởng:** main.py, engine.spec, src-tauri/*, .github/workflows/windows-build.yml, tools/mkicons.py, wiki.md.
- **Ghi chú/Test:** push lên GitHub (branch desktop-alone) → Actions → workflow_dispatch (hoặc tag v*) → tải artifact "SonicForgeDAW-windows" → chạy setup.exe trên máy Windows (test: daw_engine xuất hiện Task Manager, /docs mở, VST3 scan, Export WAV).
### [2026-08-08 08:35] Task: FIX build Windows — supertonic cần numpy<2.0
- **Lỗi CI:** `supertonic 1.2.1 requires numpy<2.0,>=1.21.0, but you have numpy 2.2.6` — pedalboard kéo supertonic (ràng buộc numpy<2) — requirements `numpy>=1.24.0` cài 2.2.6 → conflict.
- **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.