fix: support Python 3.13 server installs

This commit is contained in:
nightcityblade
2026-05-12 23:14:16 +08:00
committed by Aaron Boxer
parent d006d4abb3
commit 3516f663e5
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
faster-whisper==1.2.0
websockets
onnxruntime==1.17.0
onnxruntime>=1.17.0,<1.20.0; python_version < "3.10"
onnxruntime>=1.20.0,<2; python_version >= "3.10"
numba
kaldialign
soundfile
+6 -2
View File
@@ -28,8 +28,11 @@ setup(
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
packages=find_packages(
@@ -48,7 +51,8 @@ setup(
"torch",
"torchaudio",
"websockets",
"onnxruntime==1.17.0",
"onnxruntime>=1.17.0,<1.20.0; python_version < '3.10'",
"onnxruntime>=1.20.0,<2; python_version >= '3.10'",
"scipy",
"websocket-client",
"numba",