feat: add support for python 3.13 (#1256)
* feat: update Python version requirement to be compatible with 3.13 * feat: add Python 3.13 to compatibility matrix * feat: update onnxruntime dependency for Python version compatibility * fix: drop onnxruntime restriction for python >= 3.10
This commit is contained in:
2
.github/workflows/python-compatibility.yml
vendored
2
.github/workflows/python-compatibility.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ name = "whisperx"
|
|||||||
version = "3.6.0"
|
version = "3.6.0"
|
||||||
description = "Time-Accurate Automatic Speech Recognition using Whisper."
|
description = "Time-Accurate Automatic Speech Recognition using Whisper."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.9, <3.13"
|
requires-python = ">=3.9, <3.14"
|
||||||
license = { text = "BSD-2-Clause" }
|
license = { text = "BSD-2-Clause" }
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
@@ -14,7 +14,7 @@ dependencies = [
|
|||||||
"nltk>=3.9.1",
|
"nltk>=3.9.1",
|
||||||
# Restrict numpy, onnxruntime, pandas, av to be compatible with Python 3.9
|
# Restrict numpy, onnxruntime, pandas, av to be compatible with Python 3.9
|
||||||
"numpy>=2.0.2,<2.1.0",
|
"numpy>=2.0.2,<2.1.0",
|
||||||
"onnxruntime>=1.19,<1.20.0",
|
"onnxruntime>=1.19,<1.20.0; python_version <'3.10'",
|
||||||
"pandas>=2.2.3,<2.3.0",
|
"pandas>=2.2.3,<2.3.0",
|
||||||
"av<16.0.0",
|
"av<16.0.0",
|
||||||
"pyannote-audio>=3.3.2,<4.0.0",
|
"pyannote-audio>=3.3.2,<4.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user