Skip to content

Commit c10938d

Browse files
committed
build: specify minimum versions for dependencies
1 parent 2d06aeb commit c10938d

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

pyproject.toml

+18-18
Original file line numberDiff line numberDiff line change
@@ -73,28 +73,28 @@ dependencies = [
7373
# Bark
7474
"encodec>=0.1.1",
7575
# XTTS
76-
"num2words",
76+
"num2words>=0.5.11",
7777
"spacy[ja]>=3"
7878
]
7979

8080
[project.optional-dependencies]
8181
# Development dependencies
8282
dev = [
8383
"black==24.2.0",
84-
"coverage[toml]",
85-
"nose2",
86-
"pre-commit",
84+
"coverage[toml]>=7",
85+
"nose2>=0.15",
86+
"pre-commit>=3",
8787
"ruff==0.4.9",
88-
"tomli; python_version < '3.11'",
88+
"tomli>=2; python_version < '3.11'",
8989
]
9090
# Dependencies for building the documentation
9191
docs = [
92-
"furo",
92+
"furo>=2023.5.20",
9393
"myst-parser==2.0.0",
9494
"sphinx==7.2.5",
95-
"sphinx_inline_tabs",
96-
"sphinx_copybutton",
97-
"linkify-it-py",
95+
"sphinx_inline_tabs>=2023.4.21",
96+
"sphinx_copybutton>=0.1",
97+
"linkify-it-py>=2.0.0",
9898
]
9999
# Only used in notebooks
100100
notebooks = [
@@ -106,26 +106,26 @@ server = ["flask>=2.0.1"]
106106
# Language-specific dependencies, mainly for G2P
107107
# Bangla
108108
bn = [
109-
"bangla",
110-
"bnnumerizer",
111-
"bnunicodenormalizer",
109+
"bangla>=0.0.2",
110+
"bnnumerizer>=0.0.2",
111+
"bnunicodenormalizer>=0.1.0",
112112
]
113113
# Korean
114114
ko = [
115-
"hangul_romanize",
116-
"jamo",
115+
"hangul_romanize>=0.1.0",
116+
"jamo>=0.4.1",
117117
"g2pkk>=0.1.1",
118118
]
119119
# Japanese
120120
ja = [
121-
"mecab-python3",
121+
"mecab-python3>=1.0.2",
122122
"unidic-lite==1.0.8",
123-
"cutlet",
123+
"cutlet>=0.2.0",
124124
]
125125
# Chinese
126126
zh = [
127-
"jieba",
128-
"pypinyin",
127+
"jieba>=0.42.1",
128+
"pypinyin>=0.40.0",
129129
]
130130
# All language-specific dependencies
131131
languages = [

requirements.dev.txt

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

0 commit comments

Comments
 (0)