mirror of
https://github.com/langchain-ai/langchain-benchmarks.git
synced 2026-07-01 01:37:54 -04:00
34cd281494
- Drop support for python 3.8 - Bump langchain-core to 0.3 - Update pydantic objects to v2
107 lines
2.3 KiB
TOML
107 lines
2.3 KiB
TOML
[tool.poetry]
|
|
name = "langchain-benchmarks"
|
|
version = "0.0.15"
|
|
description = "🦜💪 Flex those feathers!"
|
|
authors = ["LangChain AI"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
langchain = "^0.3"
|
|
langchain-community = "^0.3"
|
|
langchain-core= "^0.3.12"
|
|
langsmith = ">=0.0.70"
|
|
tqdm = "^4"
|
|
ipywidgets = "^8"
|
|
tabulate = ">=0.8.0"
|
|
langchain-openai = "^0.2"
|
|
|
|
[tool.poetry.group.dev]
|
|
optional = true
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
jupyter = "^1.0.0"
|
|
|
|
[tool.poetry.group.typing]
|
|
optional = true
|
|
|
|
[tool.poetry.group.typing.dependencies]
|
|
mypy = "^1.7.0"
|
|
[tool.poetry.group.lint]
|
|
optional = true
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
ruff = "^0.1.5"
|
|
|
|
[tool.poetry.group.docs]
|
|
optional = true
|
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
nbsphinx = ">=0.8.9"
|
|
sphinx = ">=5.2.0"
|
|
sphinx-autobuild = "^2021.3.14"
|
|
sphinx_book_theme = "^1.0.0"
|
|
myst-nb = { version = "^1.0.0", python = "^3.9" }
|
|
toml = "^0.10.2"
|
|
sphinx-copybutton = ">=0.5.1"
|
|
|
|
[tool.poetry.group.test]
|
|
optional = true
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "^7.2.1"
|
|
pytest-cov = "^4.0.0"
|
|
pytest-asyncio = "^0.21.1"
|
|
pytest-mock = "^3.11.1"
|
|
pytest-socket = "^0.6.0"
|
|
pytest-watch = "^4.2.0"
|
|
pytest-timeout = "^2.2.0"
|
|
freezegun = "^1.3.1"
|
|
langchain-anthropic = "^0.2"
|
|
langchain-fireworks = "^0.2"
|
|
langchain-mistralai = "^0.2"
|
|
langchain-groq = "^0.2"
|
|
langchain-core = "^0.3.12"
|
|
faiss-cpu = ">=1.8.0"
|
|
|
|
[tool.ruff]
|
|
select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
]
|
|
extend-include = ["*.ipynb"]
|
|
|
|
# Same as Black.
|
|
line-length = 88
|
|
|
|
[tool.ruff.isort]
|
|
known-first-party = ["langchain-benchmarks"]
|
|
|
|
[tool.mypy]
|
|
disallow_untyped_defs = "True"
|
|
ignore_missing_imports = "True"
|
|
|
|
[tool.coverage.run]
|
|
omit = [
|
|
"tests/*",
|
|
]
|
|
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pytest.ini_options]
|
|
# --strict-markers will raise errors on unknown marks.
|
|
# https://docs.pytest.org/en/7.1.x/how-to/mark.html#raising-errors-on-unknown-marks
|
|
#
|
|
# https://docs.pytest.org/en/7.1.x/reference/reference.html
|
|
# --strict-config any warnings encountered while parsing the `pytest`
|
|
# section of the configuration file raise errors.
|
|
addopts = "--strict-markers --strict-config --durations=5 -vv"
|
|
# Global timeout for all tests. There shuold be a good reason for a test to
|
|
# take more than 5 second
|
|
timeout = 5
|