fix(deps): ограничить onnx-asr верхней границей <0.12.0
onnx-asr — pre-1.0 библиотека (текущая 0.11.x). Без верхней границы любой minor-апдейт (0.12.x) или major (1.0.0) подгрузится автоматически и может сломать совместимость API: для pre-1.0 SemVer не гарантирует обратную совместимость даже на minor-bumps. Уже наблюдали это в первой итерации: при smoke-тесте обнаружили расхождение API между ожидаемой и реальной сигнатурой (cpu_preprocessing был removed, start_ts/end_ts → start/end). Ограничиваем до compatible-release: >=0.11.0,<0.12.0. При появлении 0.12 обновим осознанно после проверки совместимости. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ dependencies = [
|
||||
"nvidia-cublas-cu12>=12.4; sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
"openvino-genai>=2025.0; sys_platform != 'darwin' and (platform_machine == 'x86_64' or platform_machine == 'AMD64')",
|
||||
"tomli>=2.0; python_version < '3.11'",
|
||||
"onnx-asr[cpu,hub]>=0.11.0",
|
||||
"onnx-asr[cpu,hub]>=0.11.0,<0.12.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
||||
@@ -318,7 +318,7 @@ dev = [
|
||||
requires-dist = [
|
||||
{ name = "faster-whisper", specifier = ">=1.2.1" },
|
||||
{ name = "nvidia-cublas-cu12", marker = "platform_machine == 'x86_64' and sys_platform == 'linux'", specifier = ">=12.4" },
|
||||
{ name = "onnx-asr", extras = ["cpu", "hub"], specifier = ">=0.11.0" },
|
||||
{ name = "onnx-asr", extras = ["cpu", "hub"], specifier = ">=0.11.0,<0.12.0" },
|
||||
{ name = "openvino-genai", marker = "(platform_machine == 'AMD64' and sys_platform != 'darwin') or (platform_machine == 'x86_64' and sys_platform != 'darwin')", specifier = ">=2025.0" },
|
||||
{ name = "rich" },
|
||||
{ name = "socksio", specifier = ">=1.0.0" },
|
||||
|
||||
Reference in New Issue
Block a user