Support Python 3.14#1411
Open
Andrej730 wants to merge 1 commit intom-bain:mainfrom
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #1404
Changes:
requires-pythoninpyproject.tomlctranslate2- 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.0torch,torchaudio,torchvision- bumped to minimal version that also has Python 3.14torchcodec- 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.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?