build: specify minimum versions for dependencies

This commit is contained in:
Enno Hermann 2024-06-29 15:12:29 +02:00
parent 2d06aeb79b
commit 808a938171
2 changed files with 23 additions and 23 deletions

View File

@ -73,7 +73,7 @@ dependencies = [
# Bark # Bark
"encodec>=0.1.1", "encodec>=0.1.1",
# XTTS # XTTS
"num2words", "num2words>=0.5.11",
"spacy[ja]>=3" "spacy[ja]>=3"
] ]
@ -81,20 +81,20 @@ dependencies = [
# Development dependencies # Development dependencies
dev = [ dev = [
"black==24.2.0", "black==24.2.0",
"coverage[toml]", "coverage[toml]>=7",
"nose2", "nose2>=0.15",
"pre-commit", "pre-commit>=3",
"ruff==0.4.9", "ruff==0.4.9",
"tomli; python_version < '3.11'", "tomli>=2; python_version < '3.11'",
] ]
# Dependencies for building the documentation # Dependencies for building the documentation
docs = [ docs = [
"furo", "furo>=2023.5.20",
"myst-parser==2.0.0", "myst-parser==2.0.0",
"sphinx==7.2.5", "sphinx==7.2.5",
"sphinx_inline_tabs", "sphinx_inline_tabs>=2023.4.21",
"sphinx_copybutton", "sphinx_copybutton>=0.1",
"linkify-it-py", "linkify-it-py>=2.0.0",
] ]
# Only used in notebooks # Only used in notebooks
notebooks = [ notebooks = [
@ -102,30 +102,30 @@ notebooks = [
"pandas>=1.4,<2.0", "pandas>=1.4,<2.0",
] ]
# For running the TTS server # For running the TTS server
server = ["flask>=2.0.1"] server = ["flask>=3.0.0"]
# Language-specific dependencies, mainly for G2P # Language-specific dependencies, mainly for G2P
# Bangla # Bangla
bn = [ bn = [
"bangla", "bangla>=0.0.2",
"bnnumerizer", "bnnumerizer>=0.0.2",
"bnunicodenormalizer", "bnunicodenormalizer>=0.1.0",
] ]
# Korean # Korean
ko = [ ko = [
"hangul_romanize", "hangul_romanize>=0.1.0",
"jamo", "jamo>=0.4.1",
"g2pkk>=0.1.1", "g2pkk>=0.1.1",
] ]
# Japanese # Japanese
ja = [ ja = [
"mecab-python3", "mecab-python3>=1.0.2",
"unidic-lite==1.0.8", "unidic-lite==1.0.8",
"cutlet", "cutlet>=0.2.0",
] ]
# Chinese # Chinese
zh = [ zh = [
"jieba", "jieba>=0.42.1",
"pypinyin", "pypinyin>=0.40.0",
] ]
# All language-specific dependencies # All language-specific dependencies
languages = [ languages = [

View File

@ -1,8 +1,8 @@
# Generated via scripts/generate_requirements.py and pre-commit hook. # Generated via scripts/generate_requirements.py and pre-commit hook.
# Do not edit this file; modify pyproject.toml instead. # Do not edit this file; modify pyproject.toml instead.
black==24.2.0 black==24.2.0
coverage[toml] coverage[toml]>=7
nose2 nose2>=0.15
pre-commit pre-commit>=3
ruff==0.4.9 ruff==0.4.9
tomli; python_version < '3.11' tomli>=2; python_version < '3.11'