Skip to content

Support Python 3.14#1411

Open
Andrej730 wants to merge 1 commit intom-bain:mainfrom
Andrej730:support-python-3.14
Open

Support Python 3.14#1411
Andrej730 wants to merge 1 commit intom-bain:mainfrom
Andrej730:support-python-3.14

Conversation

@Andrej730
Copy link
Copy Markdown

Resolves #1404

Changes:

As a proof that it all works, there are succeeded CIs on the fork - https://github.com/Andrej730/whisperX/actions

@Barabazs can you please take a look?

Changes:
- bump upper bound for `requires-python` in `pyproject.toml`
- added Python 3.14 to CI
- bump uv - 0.9.0 is the first version to support Python 3.14 (https://github.com/astral-sh/uv/releases/tag/0.9.0)
- `ctranslate2` - bumped to 4.6.1, otherwise it was resolving to 4.6.0 which didn't had Python 3.14 wheels
See https://pypi.org/project/ctranslate2/4.6.1/#files and https://pypi.org/project/ctranslate2/4.6.0
- `torch`, `torchaudio`, `torchvision` - bumped to minimal version that also has Python 3.14
- `torchcodec`- it had some kind of range, so I've tried to keep it and extended upper bound to include 0.9.0 (first version supporting Python 3.14, see https://pypi.org/project/torchcodec/0.9.0/#files)
- `onnxruntime` - had to pin it to 1.24.1 (first version support Python 3.14, see https://pypi.org/project/onnxruntime/1.24.1/#files), because otherwise it was resolving to 1.23.1, which didn't had it. Since it's indirect dependency, added this constraint only for Python 3.14 and added a comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Requesting for whisperx for python 3.14

1 participant