From a3ad2942431c8050a46fd41399d6c369035e18e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:57:45 +0000 Subject: [PATCH] chore(deps)(deps): update numpy requirement from <2.0 to <3.0 Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v0.2.0...v2.4.2) --- updated-dependencies: - dependency-name: numpy dependency-version: 2.4.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index d0e8f21..581c532 100644 --- a/requirements.txt +++ b/requirements.txt @@ -99,7 +99,7 @@ PyQt6>=6.6.0 # -------------------- 工具库 -------------------- loguru>=0.7.3 # 日志 -numpy<2.0 # 注意:必须使用 1.x 版本,兼容 TensorFlow/OpenVoice/MeloTTS +numpy<3.0 # 注意:必须使用 1.x 版本,兼容 TensorFlow/OpenVoice/MeloTTS tqdm>=4.67.0 # -------------------- 测试 -------------------- @@ -123,7 +123,7 @@ mypy>=1.8.0 # pip install whisperx # # 3. numpy 版本约束: -# pip install "numpy<2.0" --force-reinstall +# pip install "numpy<3.0" --force-reinstall # # 4. 已知依赖冲突 (不影响运行,已通过代码补丁/版本约束解决): # ┌─────────────────────────────────────────────────────────────────┐ @@ -139,7 +139,7 @@ mypy>=1.8.0 # # 关键约束: # - transformers<4.50.0: XTTS GPT2InferenceModel.generate() 兼容性 -# - numpy<2.0: TensorFlow/gruut/numba 兼容性 +# - numpy<3.0: TensorFlow/gruut/numba 兼容性 # # 5. 测试验证 (2026-01-23): # - VoiceCloningTTSService: ✅ (实际音频合成成功)