Skip to content

Commit c652f6e

Browse files
committed
fix the specification for dependencies
1 parent 58fcba0 commit c652f6e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ websockets = ">=13.0"
2222
tenacity = ">=8.2.3"
2323
cbor2 = ">=5.6.3"
2424
StrEnum = "^0.4.15"
25-
pyarrow = { version = ">=14.0.2", extras = ["test", "pandas"] }
26-
pandas = { version = "*", extras = ["test", "pandas"] }
27-
pytest = { version = ">=8.0.2", extras = ["test"] }
25+
pyarrow = { version = ">=14.0.2", optional = true }
26+
pandas = { version = "*", optional = true }
27+
pytest = { version = ">=8.0.2", optional = true }
28+
29+
[tool.poetry.extras]
30+
test = [ "pytest", "pandas", "pyarrow" ]
31+
pandas = [ "pandas", "pyarrow" ]
2832

2933
[tool.poetry.group.dev.dependencies]
3034
pre-commit = "*"

0 commit comments

Comments
 (0)