Skip to content

Commit 59bc590

Browse files
Broaden dependency version ranges for Python 3.13+ compatibility (#495)
1 parent eaf9354 commit 59bc590

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "chatterbox-tts"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
description = "Chatterbox: Open Source TTS and Voice Conversion by Resemble AI"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -9,11 +9,16 @@ authors = [
99
{name = "resemble-ai", email = "engineering@resemble.ai"}
1010
]
1111
dependencies = [
12-
"numpy>=1.24.0,<1.26.0",
12+
# numpy 1.x for Python < 3.13 (no 1.x wheels on 3.13+), numpy 2.x for 3.13+
13+
"numpy>=1.24.0,<2.0.0; python_version < '3.13'",
14+
"numpy>=2.0.0; python_version >= '3.13'",
1315
"librosa==0.11.0",
1416
"s3tokenizer",
15-
"torch==2.6.0",
16-
"torchaudio==2.6.0",
17+
# torch 2.6.0 supports Python 3.10-3.13; Python 3.14 needs 2.9.0+
18+
"torch==2.6.0; python_version < '3.14'",
19+
"torch>=2.9.0; python_version >= '3.14'",
20+
"torchaudio==2.6.0; python_version < '3.14'",
21+
"torchaudio>=2.9.0; python_version >= '3.14'",
1722
"transformers==5.2.0",
1823
"diffusers==0.29.0",
1924
"resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master",

0 commit comments

Comments
 (0)