Skip to content

Commit 2ca2701

Browse files
authored
fix: add dependencies in pyproject.toml (#352)
Added tomli dependency for Python versions < 3.11. closes #350
1 parent 29f0669 commit 2ca2701

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ authors = [
1212
{ name = "Xianpeng Shen", email = "[email protected]" },
1313
]
1414
requires-python = ">=3.9"
15-
dependencies = ["pyyaml"]
15+
dependencies = [
16+
"pyyaml",
17+
"tomli>=1.1.0; python_version < '3.11'",
18+
]
1619
classifiers = [
1720
# https://pypi.org/pypi?%3Aaction=list_classifiers
1821
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)