Skip to content

Commit

Permalink
fix: Add upper-bound pin to ragas dependency in ragas-haystack (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeMe authored and Amnah199 committed Oct 2, 2024
1 parent 9ea2528 commit 4dae8a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions integrations/ragas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}"
Expand Down

0 comments on commit 4dae8a4

Please sign in to comment.