Skip to content

Commit 0594dca

Browse files
committed
fix: ragas - pin langchain-community to avoid ModuleNotFoundError
1 parent 6fc0d6e commit 0594dca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

integrations/ragas/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ classifiers = [
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
]
26-
dependencies = ["haystack-ai>=2.22.0", "ragas>=0.4.3"]
26+
27+
# langchain-community pinned due to https://github.com/vibrantlabsai/ragas/issues/2741
28+
dependencies = ["haystack-ai>=2.22.0", "ragas>=0.4.3", "langchain-community<0.4.2"]
2729

2830
[project.urls]
2931
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ragas"

0 commit comments

Comments
 (0)