From 4dae8a44cf30e84b9af6b9deb8703d692895d4c6 Mon Sep 17 00:00:00 2001 From: Madeesh Kannan Date: Wed, 11 Sep 2024 12:27:35 +0200 Subject: [PATCH] fix: Add upper-bound pin to `ragas` dependency in `ragas-haystack` (#1076) --- integrations/ragas/pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/integrations/ragas/pyproject.toml b/integrations/ragas/pyproject.toml index edc33eee1..d9ae6ca02 100644 --- a/integrations/ragas/pyproject.toml +++ b/integrations/ragas/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dependencies = ["haystack-ai", "ragas>=0.1.11"] +dependencies = ["haystack-ai", "ragas>=0.1.11,<=0.1.16"] [project.urls] Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ragas" @@ -41,7 +41,13 @@ root = "../.." git_describe_command = 'git describe --tags --match="integrations/ragas-v[0-9]*"' [tool.hatch.envs.default] -dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools", "pytest-asyncio"] +dependencies = [ + "coverage[toml]>=6.5", + "pytest", + "pytest-rerunfailures", + "haystack-pydoc-tools", + "pytest-asyncio", +] [tool.hatch.envs.default.scripts] test = "pytest {args:tests}" test-cov = "coverage run -m pytest {args:tests}"