Skip to content

Commit 0cf1aa1

Browse files
authored
Organize optional dependencies in pyproject.toml
Updated optional dependencies section with headings for better organization.
1 parent 789d54b commit 0cf1aa1

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ dependencies = [
6868

6969
[project.optional-dependencies]
7070

71-
# Development and testing dependencies
71+
## 1) Development ########################################
72+
7273
dev = [
7374
"black>=25.11.0",
7475
"build>=1.0.0",
@@ -79,14 +80,13 @@ dev = [
7980
"tox>=4.30.3",
8081
]
8182

82-
# Documentation dependencies
8383
docs = [
8484
"Sphinx>=6.2",
8585
"sphinx-copybutton>=0.5.2",
8686
"sphinx-rtd-theme>=3.1.0",
8787
]
8888

89-
# Below are dependencies for optional features
89+
## 2) Feature sets #######################################
9090

9191
abbreviation = ["khamyo>=0.2.0"]
9292

@@ -166,9 +166,13 @@ wtp = ["transformers>=4.22.1", "wtpsplit>=1.0.1"]
166166

167167
wunsen = ["wunsen>=0.0.3"]
168168

169-
# Below are defined groups of CI testing dependencies
169+
## 3) Testing ############################################
170+
171+
# Below are dependency groups for each defined test suites
170172

171-
# Compact dependencies - safe small set of optional dependencies
173+
# Compact dependencies - for tests.compact modules
174+
# Safe small set of optional dependencies
175+
# for common tasks like tokenization and tagging.
172176
compact = [
173177
"nlpo3>=1.4.0",
174178
"numpy>=1.26.0",
@@ -178,7 +182,6 @@ compact = [
178182
]
179183

180184
# Extra dependencies - for tests.extra modules
181-
# Note: Some packages excluded due to Python 3.13 compatibility issues
182185
extra = [
183186
"bpemb>=0.3.2",
184187
"budoux>=0.7.0",
@@ -191,7 +194,7 @@ extra = [
191194
]
192195

193196
# Noauto test dependencies - for tests.noauto_* modules
194-
# These are grouped by dependency framework to avoid conflicts
197+
# These are further grouped by dependency framework to avoid conflicts
195198

196199
# PyTorch-based dependencies - for tests.noauto_torch
197200
noauto-torch = [
@@ -230,7 +233,6 @@ noauto-network = [
230233
"huggingface-hub>=0.16.0",
231234
]
232235

233-
234236
# Full dependencies - pinned where available
235237
full = [
236238
"attacut==1.0.6",

0 commit comments

Comments
 (0)