Skip to content

Commit

Permalink
build: specify minimum versions for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Jun 29, 2024
1 parent 2d06aeb commit c10938d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
36 changes: 18 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,28 +73,28 @@ dependencies = [
# Bark
"encodec>=0.1.1",
# XTTS
"num2words",
"num2words>=0.5.11",
"spacy[ja]>=3"
]

[project.optional-dependencies]
# Development dependencies
dev = [
"black==24.2.0",
"coverage[toml]",
"nose2",
"pre-commit",
"coverage[toml]>=7",
"nose2>=0.15",
"pre-commit>=3",
"ruff==0.4.9",
"tomli; python_version < '3.11'",
"tomli>=2; python_version < '3.11'",
]
# Dependencies for building the documentation
docs = [
"furo",
"furo>=2023.5.20",
"myst-parser==2.0.0",
"sphinx==7.2.5",
"sphinx_inline_tabs",
"sphinx_copybutton",
"linkify-it-py",
"sphinx_inline_tabs>=2023.4.21",
"sphinx_copybutton>=0.1",
"linkify-it-py>=2.0.0",
]
# Only used in notebooks
notebooks = [
Expand All @@ -106,26 +106,26 @@ server = ["flask>=2.0.1"]
# Language-specific dependencies, mainly for G2P
# Bangla
bn = [
"bangla",
"bnnumerizer",
"bnunicodenormalizer",
"bangla>=0.0.2",
"bnnumerizer>=0.0.2",
"bnunicodenormalizer>=0.1.0",
]
# Korean
ko = [
"hangul_romanize",
"jamo",
"hangul_romanize>=0.1.0",
"jamo>=0.4.1",
"g2pkk>=0.1.1",
]
# Japanese
ja = [
"mecab-python3",
"mecab-python3>=1.0.2",
"unidic-lite==1.0.8",
"cutlet",
"cutlet>=0.2.0",
]
# Chinese
zh = [
"jieba",
"pypinyin",
"jieba>=0.42.1",
"pypinyin>=0.40.0",
]
# All language-specific dependencies
languages = [
Expand Down
8 changes: 4 additions & 4 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated via scripts/generate_requirements.py and pre-commit hook.
# Do not edit this file; modify pyproject.toml instead.
black==24.2.0
coverage[toml]
nose2
pre-commit
coverage[toml]>=7
nose2>=0.15
pre-commit>=3
ruff==0.4.9
tomli; python_version < '3.11'
tomli>=2; python_version < '3.11'

0 comments on commit c10938d

Please sign in to comment.