11[build-system ]
2- requires = [" setuptools<65.0.0" , " setuptools-scm" , " wheel" ]
2+ requires = [
3+ " setuptools<65.0.0; python_version < '3.12'" ,
4+ " setuptools>=65.0.0; python_version >= '3.12'" ,
5+ " setuptools-scm" ,
6+ " wheel" ,
7+ ]
38build-backend = " setuptools.build_meta"
49
510[project ]
@@ -11,13 +16,14 @@ authors = [
1116description = " Automatically synchronize and translate subtitles, or create new ones by transcribing, using pre-trained DNNs, Forced Alignments and Transformers."
1217readme = { file = " README.md" , content-type = " text/markdown" }
1318urls = { "Homepage" = " https://github.com/baxtree/subaligner" , "Documentation" = " https://subaligner.readthedocs.io/en/latest/" , "Source" = " https://github.com/baxtree/subaligner" }
14- requires-python = " >=3.8,<3.12 "
19+ requires-python = " >=3.8,<3.13 "
1520classifiers = [
1621 " License :: OSI Approved :: MIT License" ,
17- " Programming Language :: Python :: 3.8" ,
18- " Programming Language :: Python :: 3.9" ,
19- " Programming Language :: Python :: 3.10" ,
22+ " Programming Language :: Python :: 3.12" ,
2023 " Programming Language :: Python :: 3.11" ,
24+ " Programming Language :: Python :: 3.10" ,
25+ " Programming Language :: Python :: 3.9" ,
26+ " Programming Language :: Python :: 3.8" ,
2127 " Intended Audience :: Developers" ,
2228 " Topic :: Utilities"
2329]
@@ -71,9 +77,13 @@ dependencies = [
7177 " PyYAML>=4.2b1" ,
7278 " rsa==4.7" ,
7379 " scipy<1.12.0" ,
74- " scikit-learn<1.2.0" ,
75- " six~=1.15.0" ,
76- " tensorflow>=1.15.5,<2.16.0" ,
80+ " scikit-learn<1.2.0; python_version < '3.12'" ,
81+ " scikit-learn>=1.2.0; python_version >= '3.12'" ,
82+ " six~=1.15.0; python_version < '3.12'" ,
83+ " six~=1.17.0; python_version >= '3.12'" ,
84+ " tf-keras~=2.19.0; python_version >= '3.12'" ,
85+ " tensorflow>=1.15.5,<2.16.0; python_version < '3.12'" ,
86+ " tensorflow~=2.19.0; python_version >= '3.12'" ,
7787 " termcolor==1.1.0" ,
7888 " toml==0.10.0" ,
7989 " toolz==0.9.0" ,
@@ -85,7 +95,7 @@ dependencies = [
8595
8696[project .optional-dependencies ]
8797harmony = [
88- " aeneas~=1.7.3.0" ,
98+ " aeneas~=1.7.3.0; python_version < '3.12' " ,
8999 " dtw-python~=1.5.3" ,
90100 " sentencepiece~=0.1.95" ,
91101 " torch<2.3.0" ,
@@ -94,7 +104,7 @@ harmony = [
94104 " openai-whisper==20250625"
95105]
96106dev = [
97- " aeneas~=1.7.3.0" ,
107+ " aeneas~=1.7.3.0; python_version < '3.12' " ,
98108 " dtw-python~=1.5.3" ,
99109 " sentencepiece~=0.1.95" ,
100110 " torch<2.3.0" ,
@@ -105,7 +115,7 @@ dev = [
105115 " coverage==5.5" ,
106116 " tox~=3.23.0" ,
107117 " pycodestyle==2.12.1" ,
108- " twine<4.0 .0" ,
118+ " twine<3.8 .0" ,
109119 " snakeviz==2.1.0" ,
110120 " line-profiler~=4.1.2" ,
111121 " scikit-build==0.11.1" ,
@@ -114,22 +124,24 @@ dev = [
114124 " mypy==1.3.0" ,
115125 " types-requests==2.27.9" ,
116126 " types-setuptools==64.0.1" ,
117- " typing-extensions==4.5 .0" ,
127+ " typing-extensions==4.8 .0" ,
118128 " parameterized==0.8.1" ,
119129 " pylint~=2.17.2" ,
120130 " pygments<3.0.0" ,
121131 " darglint~=1.8.1"
122132]
123133docs = [
124134 " sphinx==6.2.1" ,
125- " sphinx-rtd-theme==2.0.0"
135+ " sphinx-rtd-theme==2.0.0" ,
136+ " docutils<0.21" ,
126137]
127138stretch = [
128- " aeneas~=1.7.3.0" ,
139+ " aeneas~=1.7.3.0; python_version < '3.12' " ,
129140 " dtw-python~=1.5.3"
130141]
131142llm = [
132- " sentencepiece~=0.1.95" ,
143+ " sentencepiece~=0.1.95; python_version < '3.12'" ,
144+ " sentencepiece~=0.2.0; python_version >= '3.12'" ,
133145 " torch<2.3.0" ,
134146 " torchaudio<2.3.0" ,
135147 " transformers<4.37.0" ,
@@ -171,4 +183,4 @@ exclude = "\\.git|\\.tox"
171183require-return-section-when-returning-nothing = true
172184
173185[tool .poetry .dependencies ]
174- python = " >=3.8,<3.12 "
186+ python = " >=3.8,<3.13 "
0 commit comments