mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +00:00
core[patch]: Release 0.3.1 (#26581)
This commit is contained in:
parent
5fc44989bf
commit
145a49cca2
@ -1,10 +1,10 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = [ "poetry-core>=1.0.0",]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langchain-core"
|
name = "langchain-core"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
description = "Building applications with LLMs through composability"
|
description = "Building applications with LLMs through composability"
|
||||||
authors = []
|
authors = []
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -12,17 +12,10 @@ readme = "README.md"
|
|||||||
repository = "https://github.com/langchain-ai/langchain"
|
repository = "https://github.com/langchain-ai/langchain"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
exclude = [
|
exclude = [ "notebooks", "examples", "example_data", "langchain_core/pydantic", "tests/unit_tests/utils/test_function_calling.py",]
|
||||||
"notebooks",
|
disallow_untyped_defs = "True"
|
||||||
"examples",
|
|
||||||
"example_data",
|
|
||||||
"langchain_core/pydantic",
|
|
||||||
"tests/unit_tests/utils/test_function_calling.py",
|
|
||||||
]
|
|
||||||
"disallow_untyped_defs" = "True"
|
|
||||||
|
|
||||||
[[tool.mypy.overrides]]
|
[[tool.mypy.overrides]]
|
||||||
module = ["numpy", "pytest"]
|
module = [ "numpy", "pytest",]
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
|
|
||||||
[tool.poetry.urls]
|
[tool.poetry.urls]
|
||||||
@ -37,32 +30,28 @@ jsonpatch = "^1.33"
|
|||||||
PyYAML = ">=5.3"
|
PyYAML = ">=5.3"
|
||||||
packaging = ">=23.2,<25"
|
packaging = ">=23.2,<25"
|
||||||
typing-extensions = ">=4.7"
|
typing-extensions = ">=4.7"
|
||||||
pydantic = [
|
[[tool.poetry.dependencies.pydantic]]
|
||||||
{ version = "^2.5.2", python = "<3.12.4" },
|
version = "^2.5.2"
|
||||||
{ version = "^2.7.4", python = ">=3.12.4" },
|
python = "<3.12.4"
|
||||||
]
|
|
||||||
|
|
||||||
|
[[tool.poetry.dependencies.pydantic]]
|
||||||
|
version = "^2.7.4"
|
||||||
|
python = ">=3.12.4"
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["B", "E", "F", "I", "T201", "UP"]
|
select = [ "B", "E", "F", "I", "T201", "UP",]
|
||||||
ignore = ["UP006", "UP007"]
|
ignore = [ "UP006", "UP007",]
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
omit = ["tests/*"]
|
omit = [ "tests/*",]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
|
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
|
||||||
markers = [
|
markers = [ "requires: mark tests as requiring a specific library", "asyncio: mark tests as requiring asyncio", "compile: mark placeholder test used to compile integration tests without running them",]
|
||||||
"requires: mark tests as requiring a specific library",
|
|
||||||
"asyncio: mark tests as requiring asyncio",
|
|
||||||
"compile: mark placeholder test used to compile integration tests without running them",
|
|
||||||
]
|
|
||||||
asyncio_mode = "auto"
|
asyncio_mode = "auto"
|
||||||
filterwarnings = [
|
filterwarnings = [ "ignore::langchain_core._api.beta_decorator.LangChainBetaWarning",]
|
||||||
"ignore::langchain_core._api.beta_decorator.LangChainBetaWarning",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.poetry.group.lint]
|
[tool.poetry.group.lint]
|
||||||
optional = true
|
optional = true
|
||||||
@ -80,9 +69,9 @@ optional = true
|
|||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"tests/unit_tests/prompts/test_chat.py" = ["E501"]
|
"tests/unit_tests/prompts/test_chat.py" = [ "E501",]
|
||||||
"tests/unit_tests/runnables/test_runnable.py" = ["E501"]
|
"tests/unit_tests/runnables/test_runnable.py" = [ "E501",]
|
||||||
"tests/unit_tests/runnables/test_graph.py" = ["E501"]
|
"tests/unit_tests/runnables/test_graph.py" = [ "E501",]
|
||||||
|
|
||||||
[tool.poetry.group.lint.dependencies]
|
[tool.poetry.group.lint.dependencies]
|
||||||
ruff = "^0.5"
|
ruff = "^0.5"
|
||||||
|
Loading…
Reference in New Issue
Block a user