Skip to content

Commit 7e6a6f4

Browse files
authored
fix: manually repeat dependency in optional-dependency (#817)
1 parent a9bdb6a commit 7e6a6f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ features = ["pyo3/extension-module"]
3030

3131
[project.optional-dependencies]
3232
dev = ["pytest", "ruff", "mypy", "pre-commit"]
33+
3334
embeddings = ["sentence-transformers>=3.3.1"]
34-
all = ["cocoindex[embeddings]"]
35+
36+
# We need to repeat the dependency above to make it available for the `all` feature.
37+
# Indirect dependencies such as "cocoindex[embeddings]" will not work for local development.
38+
all = ["sentence-transformers>=3.3.1"]
3539

3640
[tool.mypy]
3741
python_version = "3.11"

0 commit comments

Comments
 (0)