This commit is contained in:
tuna2134
2026-07-23 11:33:43 +09:00
parent 7d535f3761
commit 4f3bcfd252
9 changed files with 48 additions and 45 deletions

View File

@@ -7,7 +7,7 @@ name = "style-bert-vits2"
dynamic = ["version"]
description = "Style-Bert-VITS2: Bert-VITS2 with more controllable voice styles."
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.12"
license = "AGPL-3.0"
keywords = []
authors = [
@@ -16,9 +16,7 @@ authors = [
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
@@ -27,10 +25,10 @@ dependencies = [
"g2p_en",
"jieba",
"loguru",
"nltk<=3.8.1",
"nltk>=3.9,<4",
"num2words",
"numba",
"numpy<2",
"numpy>=1.26,<3",
"onnxruntime",
"pydantic>=2.0",
"pyopenjtalk-dict",
@@ -43,7 +41,7 @@ dependencies = [
[project.optional-dependencies]
torch = [
"accelerate",
"torch>=2.1",
"torch>=2.7,<2.8",
]
[project.urls]
@@ -93,7 +91,7 @@ cov-report = ["- coverage combine", "coverage report"]
# Usage: `hatch run test:cov`
cov = ["test-cov", "cov-report"]
[[tool.hatch.envs.test.matrix]]
python = ["3.9", "3.10", "3.11"]
python = ["3.12"]
# for ONNX inference (without PyTorch dependency)
[tool.hatch.envs.test-onnx]
@@ -120,7 +118,7 @@ cov-report = ["- coverage combine", "coverage report"]
# Usage: `hatch run test-onnx:cov`
cov = ["test-cov", "cov-report"]
[[tool.hatch.envs.test-onnx.matrix]]
python = ["3.9", "3.10", "3.11"]
python = ["3.12"]
[tool.hatch.envs.style]
detached = true