Skip to content

Commit

Permalink
build: drop python 3.9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Jan 16, 2025
1 parent 55eeaf2 commit 38e3c94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9, "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
subset: ["data_tests", "inference_tests", "test_aux", "test_text"]
steps:
- uses: actions/checkout@v4
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Unit tests
run: |
resolution=highest
if [ "${{ matrix.python-version }}" == "3.9" ]; then
if [ "${{ matrix.python-version }}" == "3.10" ]; then
resolution=lowest-direct
fi
uv run --resolution=$resolution --extra server --extra languages make ${{ matrix.subset }}
Expand All @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.12"]
python-version: ["3.10", "3.12"]
subset: ["test_tts", "test_tts2", "test_vocoder", "test_xtts"]
steps:
- uses: actions/checkout@v4
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Integration tests
run: |
resolution=highest
if [ "${{ matrix.python-version }}" == "3.9" ]; then
if [ "${{ matrix.python-version }}" == "3.10" ]; then
resolution=lowest-direct
fi
uv run --resolution=$resolution --extra server --extra languages make ${{ matrix.subset }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can also help us implement more models.
<!-- start installation -->
## Installation

🐸TTS is tested on Ubuntu 24.04 with **python >= 3.9, < 3.13**, but should also
🐸TTS is tested on Ubuntu 24.04 with **python >= 3.10, < 3.13**, but should also
work on Mac and Windows.

If you are only interested in [synthesizing speech](https://coqui-tts.readthedocs.io/en/latest/inference.html) with the pretrained 🐸TTS models, installing from PyPI is the easiest option.
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ name = "coqui-tts"
version = "0.25.3"
description = "Deep learning for Text to Speech."
readme = "README.md"
requires-python = ">=3.9, <3.13"
requires-python = ">=3.10, <3.13"
license = {text = "MPL-2.0"}
authors = [
{name = "Eren Gölge", email = "egolge@coqui.ai"}
Expand All @@ -39,7 +39,6 @@ maintainers = [
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -88,7 +87,7 @@ dependencies = [
"encodec>=0.1.1",
# XTTS
"num2words>=0.5.14",
"spacy[ja]>=3,<3.8",
"spacy[ja]>=3.2,<3.8",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -116,7 +115,7 @@ ko = [
]
# Japanese
ja = [
"mecab-python3>=1.0.2",
"mecab-python3>=1.0.6",
"unidic-lite==1.0.8",
"cutlet>=0.2.0",
]
Expand Down Expand Up @@ -233,7 +232,7 @@ max-returns = 7

[tool.black]
line-length = 120
target-version = ['py39']
target-version = ['py310']

[tool.coverage.report]
skip_covered = true
Expand Down

0 comments on commit 38e3c94

Please sign in to comment.