Skip to content

Python 3.13 support and dependency update#21

Open
leweex95 wants to merge 8 commits intorsxdalv:masterfrom
leweex95:feature/python-3.13-support
Open

Python 3.13 support and dependency update#21
leweex95 wants to merge 8 commits intorsxdalv:masterfrom
leweex95:feature/python-3.13-support

Conversation

@leweex95
Copy link
Copy Markdown

@leweex95 leweex95 commented Dec 7, 2025

Updated the add-stress-to-epub to a feature branch-based installation to allow Python 3.13 integration. This is clearly not a future proof and stable solution but I have no control over the add-stress-to-epub package.

Also updated numpy to not be obsolete and didn't find any regressions so far in chatterbox functinoality.

@leweex95 leweex95 changed the title update russian-text-stresser to feature branch and numpy for py313 su… Python 3.13 support and dependency update Dec 7, 2025
@rsxdalv
Copy link
Copy Markdown
Owner

rsxdalv commented Dec 8, 2025

Thanks - let's work through a few things.

First - you targeted the master branch which is in sync with chatterbox:master - https://github.com/resemble-ai/chatterbox
this branch is not special in any way. The branches with the optimizations are faster and fast (old one).
Second, the poetry.lock file affects the project installation so it probably needs to be excluded.
Finally - I'm looking at the faster branches pyproject and I think it should be installable on Python 3.13 (maybe it needs some minor adjustments, if so, please let me know):

https://github.com/rsxdalv/chatterbox/blob/faster/pyproject.toml

[project]
name = "tts-webui.chatterbox-tts"
version = "0.4.4"
description = "Chatterbox: Open Source TTS and Voice Conversion by Resemble AI"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
    {name = "resemble-ai", email = "engineering@resemble.ai"}
]
dependencies = [
    "numpy",
    "resampy==0.4.3",
    "librosa", # ==0.10.0
    # "numpy>=1.24.0,<1.26.0",
    # "librosa==0.11.0",
    "s3tokenizer",
    "torch", # ==2.6.0
    "torchaudio", # ==2.6.0
    "transformers", # ==4.46.3
    "diffusers", # ==0.29.0
    "resemble-perth==1.0.1",
    "omegaconf", # ==2.3.0 might now be unnecessary
    "conformer",
    "safetensors",
    # "conformer==0.3.2",
    # "safetensors==0.5.3",
    "spacy-pkuseg",
    "pykakasi==2.3.0",
    # "gradio==5.44.1",
]

The reason I am bringing this all up is because it's not clear if this is meant for the optimized version, or if you're rather trying to get this merged into the official, main chatterbox.

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.

2 participants