Skip to content

Commit 4258a5c

Browse files
committed
update dependencies and prepare for the new release
1 parent daf508d commit 4258a5c

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</div>
44

55
[![Build Status](https://github.com/baxtree/subaligner/actions/workflows/ci-pipeline.yml/badge.svg?branch=master)](https://github.com/baxtree/subaligner/actions/workflows/ci-pipeline.yml?query=branch%3Amaster) ![Codecov](https://img.shields.io/codecov/c/github/baxtree/subaligner)
6-
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/) [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/) [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) [![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
6+
[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3120/)[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/) [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/) [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) [![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
77
[![Documentation Status](https://readthedocs.org/projects/subaligner/badge/?version=latest)](https://subaligner.readthedocs.io/en/latest/?badge=latest)
88
[![GitHub license](https://img.shields.io/github/license/baxtree/subaligner)](https://github.com/baxtree/subaligner/blob/master/LICENSE)
99
[![PyPI](https://badge.fury.io/py/subaligner.svg)](https://badge.fury.io/py/subaligner)
@@ -70,6 +70,11 @@ Note that `subaligner[stretch]`, `subaligner[dev]` and `subaligner[harmony]` req
7070
<pre><code>apt-get install espeak libespeak1 libespeak-dev espeak-data</code></pre>
7171
<pre><code>brew install espeak</code></pre>
7272
</details>
73+
Also, if Python 3.12+ is used, you will need to install the following patch for those extras to fully function:
74+
<details>
75+
<summary>Install patched aeneas</summary>
76+
<pre><code>pip install git+https://github.com/baxtree/aeneas.git@v1.7.3.1#egg=aeneas</code></pre>
77+
</details>
7378

7479
## Container Support
7580
If you prefer using a containerised environment over installing everything locally:

pyproject.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99

1010
[project]
1111
name = "subaligner"
12-
version = "0.3.9"
12+
version = "0.3.10"
1313
authors = [
1414
{ name = "Xi Bai", email = "xi.bai.ed@gmail.com" }
1515
]
@@ -96,19 +96,23 @@ dependencies = [
9696
[project.optional-dependencies]
9797
harmony = [
9898
"aeneas~=1.7.3.0; python_version < '3.12'",
99-
"aeneas @ git+https://github.com/baxtree/aeneas.git@master#egg=aeneas ; python_version >= '3.12'",
99+
# "aeneas @ git+https://github.com/baxtree/aeneas.git@v1.7.3.1#egg=aeneas ; python_version >= '3.12'",
100100
"dtw-python~=1.5.3",
101-
"sentencepiece~=0.1.95",
101+
"safetensors~=0.5.3",
102+
"sentencepiece~=0.1.95; python_version < '3.12'",
103+
"sentencepiece~=0.2.0; python_version >= '3.12'",
102104
"torch<2.3.0",
103105
"torchaudio<2.3.0",
104106
"transformers<4.37.0",
105107
"openai-whisper==20250625"
106108
]
107109
dev = [
108110
"aeneas~=1.7.3.0; python_version < '3.12'",
109-
"aeneas @ git+https://github.com/baxtree/aeneas.git@master#egg=aeneas ; python_version >= '3.12'",
111+
# "aeneas @ git+https://github.com/baxtree/aeneas.git@v1.7.3.1#egg=aeneas ; python_version >= '3.12'",
110112
"dtw-python~=1.5.3",
111-
"sentencepiece~=0.1.95",
113+
"safetensors~=0.5.3",
114+
"sentencepiece~=0.1.95; python_version < '3.12'",
115+
"sentencepiece~=0.2.0; python_version >= '3.12'",
112116
"torch<2.3.0",
113117
"torchaudio<2.3.0",
114118
"transformers<4.37.0",
@@ -139,10 +143,11 @@ docs = [
139143
]
140144
stretch = [
141145
"aeneas~=1.7.3.0; python_version < '3.12'",
142-
"aeneas @ git+https://github.com/baxtree/aeneas.git@master#egg=aeneas ; python_version >= '3.12'",
146+
# "aeneas @ git+https://github.com/baxtree/aeneas.git@v1.7.3.1#egg=aeneas ; python_version >= '3.12'",
143147
"dtw-python~=1.5.3"
144148
]
145149
llm = [
150+
"safetensors~=0.5.3",
146151
"sentencepiece~=0.1.95; python_version < '3.12'",
147152
"sentencepiece~=0.2.0; python_version >= '3.12'",
148153
"torch<2.3.0",

0 commit comments

Comments
 (0)