diff --git a/libs/partners/mistralai/poetry.lock b/libs/partners/mistralai/poetry.lock index 01106c5400c..f6783a51fb9 100644 --- a/libs/partners/mistralai/poetry.lock +++ b/libs/partners/mistralai/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "annotated-types" @@ -408,7 +408,7 @@ files = [ [[package]] name = "langchain-core" -version = "0.3.27" +version = "0.3.32" description = "Building applications with LLMs through composability" optional = false python-versions = ">=3.9,<4.0" @@ -417,7 +417,7 @@ develop = true [package.dependencies] jsonpatch = "^1.33" -langsmith = ">=0.1.125,<0.3" +langsmith = ">=0.1.125,<0.4" packaging = ">=23.2,<25" pydantic = [ {version = ">=2.5.2,<3.0.0", markers = "python_full_version < \"3.12.4\""}, @@ -433,7 +433,7 @@ url = "../../core" [[package]] name = "langchain-tests" -version = "0.3.7" +version = "0.3.9" description = "Standard tests for LangChain implementations" optional = false python-versions = ">=3.9,<4.0" @@ -442,7 +442,7 @@ develop = true [package.dependencies] httpx = ">=0.25.0,<1" -langchain-core = "^0.3.22" +langchain-core = "^0.3.31" numpy = [ {version = ">=1.24.0,<2.0.0", markers = "python_version < \"3.12\""}, {version = ">=1.26.2,<3", markers = "python_version >= \"3.12\""}, @@ -1295,4 +1295,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<4.0" -content-hash = "1bd49400cf26151c0085367007da5a482c2285d933e241d3ccb8bdad4b2c5269" +content-hash = "ee9ca9455bf313bec56b64ac54a2d61ad43fb71340385f1fe17fb8eed00463b6" diff --git a/libs/partners/mistralai/pyproject.toml b/libs/partners/mistralai/pyproject.toml index de6c8b3e55b..aa185941476 100644 --- a/libs/partners/mistralai/pyproject.toml +++ b/libs/partners/mistralai/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "langchain-mistralai" -version = "0.2.4" +version = "0.2.5" description = "An integration package connecting Mistral and LangChain" authors = [] readme = "README.md" @@ -20,7 +20,7 @@ disallow_untyped_defs = "True" [tool.poetry.dependencies] python = ">=3.9,<4.0" -langchain-core = "^0.3.27" +langchain-core = "^0.3.32" tokenizers = ">=0.15.1,<1" httpx = ">=0.25.2,<1" httpx-sse = ">=0.3.1,<1" diff --git a/libs/partners/mistralai/tests/integration_tests/test_chat_models.py b/libs/partners/mistralai/tests/integration_tests/test_chat_models.py index f3ce39bcebf..bc16dba4e55 100644 --- a/libs/partners/mistralai/tests/integration_tests/test_chat_models.py +++ b/libs/partners/mistralai/tests/integration_tests/test_chat_models.py @@ -191,7 +191,7 @@ class BookDict(TypedDict): def _check_parsed_result(result: Any, schema: Any) -> None: if schema == Book: assert isinstance(result, Book) - elif schema == BookDict: + else: assert all(key in ["name", "authors"] for key in result.keys())