mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
23c9aba575
Among integration packages in libs/partners, Groq is an exception in that it errors on warnings. Following https://github.com/langchain-ai/langchain/pull/25084, Groq fails with > pydantic.warnings.PydanticDeprecatedSince20: The `__fields__` attribute is deprecated, use `model_fields` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. Here we update the behavior to no longer fail on warning, which is consistent with the rest of the packages in libs/partners.
86 lines
2.0 KiB
TOML
86 lines
2.0 KiB
TOML
[build-system]
|
|
requires = [ "poetry-core>=1.0.0",]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry]
|
|
name = "langchain-groq"
|
|
version = "0.1.9"
|
|
description = "An integration package connecting Groq and LangChain"
|
|
authors = []
|
|
readme = "README.md"
|
|
repository = "https://github.com/langchain-ai/langchain"
|
|
license = "MIT"
|
|
|
|
[tool.mypy]
|
|
disallow_untyped_defs = "True"
|
|
|
|
[tool.poetry.urls]
|
|
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/groq"
|
|
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-groq%3D%3D0%22&expanded=true"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.8.1,<4.0"
|
|
langchain-core = "^0.2.26"
|
|
groq = ">=0.4.1,<1"
|
|
|
|
[tool.ruff.lint]
|
|
select = [ "E", "F", "I", "W",]
|
|
|
|
[tool.coverage.run]
|
|
omit = [ "tests/*",]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--strict-markers --strict-config --durations=5"
|
|
markers = [ "compile: mark placeholder test used to compile integration tests without running them", "scheduled: mark tests to run in scheduled testing",]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.poetry.group.test]
|
|
optional = true
|
|
|
|
[tool.poetry.group.codespell]
|
|
optional = true
|
|
|
|
[tool.poetry.group.lint]
|
|
optional = true
|
|
|
|
[tool.poetry.group.dev]
|
|
optional = true
|
|
|
|
[tool.poetry.group.test_integration]
|
|
optional = true
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "^7.3.0"
|
|
pytest-mock = "^3.10.0"
|
|
pytest-watcher = "^0.3.4"
|
|
pytest-asyncio = "^0.21.1"
|
|
|
|
[tool.poetry.group.codespell.dependencies]
|
|
codespell = "^2.2.0"
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
ruff = "^0.5"
|
|
|
|
[tool.poetry.group.typing.dependencies]
|
|
mypy = "^1.10"
|
|
|
|
[tool.poetry.group.test.dependencies.langchain-core]
|
|
path = "../../core"
|
|
develop = true
|
|
|
|
[tool.poetry.group.test.dependencies.langchain-standard-tests]
|
|
path = "../../standard-tests"
|
|
develop = true
|
|
|
|
[tool.poetry.group.dev.dependencies.langchain-core]
|
|
path = "../../core"
|
|
develop = true
|
|
|
|
[tool.poetry.group.test_integration.dependencies.langchain-core]
|
|
path = "../../core"
|
|
develop = true
|
|
|
|
[tool.poetry.group.typing.dependencies.langchain-core]
|
|
path = "../../core"
|
|
develop = true
|