Skip to content

Commit f2f63be

Browse files
committed
Require Python3.11
In order to install openai/whisper with uv we need this to have been released: openai/whisper#2435 Hopefully we'll see a new release of Whisper soon, but until then we need to ensure we are using Python3.11. Refs #91
1 parent 55d2cf9 commit f2f63be

File tree

3 files changed

+219
-1456
lines changed

3 files changed

+219
-1456
lines changed

.autoupdate/preupdate

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# This script is called by our weekly dependency update job in Jenkins
55

6-
pip3 install --upgrade uv > speech-to-text.txt && rm -rf .venv &&
7-
~/.local/bin/uv lock --upgrade >> speech-to-text.txt
6+
pip3 install --upgrade uv > speech-to-text.txt &&
7+
~/.local/bin/uv lock --upgrade --quiet --no-progress --color never >> speech-to-text.txt
88

99
retVal=$?
1010

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name = "speech-to-text"
33
version = "0.0.1"
44
description = ""
55
readme = "README.md"
6-
requires-python = ">= 3.8"
6+
7+
# We should be able to use later versions of Python once this is released to PyPI:
8+
# https://github.com/openai/whisper/pull/2435
9+
requires-python = "==3.11.11"
10+
711
dependencies = [
812
"boto3>=1.36.9",
913
"honeybadger>=0.20.3",

0 commit comments

Comments
 (0)