diff --git a/libs/partners/ollama/pyproject.toml b/libs/partners/ollama/pyproject.toml index 6d9a54af8ad..99d3a4a1f1e 100644 --- a/libs/partners/ollama/pyproject.toml +++ b/libs/partners/ollama/pyproject.toml @@ -6,9 +6,9 @@ build-backend = "pdm.backend" authors = [] license = { text = "MIT" } requires-python = "<4.0,>=3.9" -dependencies = ["ollama<1,>=0.4.4", "langchain-core<1.0.0,>=0.3.51"] +dependencies = ["ollama<1,>=0.4.4", "langchain-core<1.0.0,>=0.3.52"] name = "langchain-ollama" -version = "0.3.1" +version = "0.3.2" description = "An integration package connecting Ollama and LangChain" readme = "README.md" diff --git a/libs/partners/ollama/uv.lock b/libs/partners/ollama/uv.lock index 34d8f6ca1fd..895083899a4 100644 --- a/libs/partners/ollama/uv.lock +++ b/libs/partners/ollama/uv.lock @@ -1,7 +1,8 @@ version = 1 requires-python = ">=3.9, <4.0" resolution-markers = [ - "python_full_version >= '3.12.4'", + "python_full_version >= '3.13'", + "python_full_version >= '3.12.4' and python_full_version < '3.13'", "python_full_version >= '3.12' and python_full_version < '3.12.4'", "python_full_version < '3.12'", ] @@ -287,7 +288,7 @@ wheels = [ [[package]] name = "langchain-core" -version = "0.3.51" +version = "0.3.52" source = { editable = "../../core" } dependencies = [ { name = "jsonpatch" }, @@ -323,10 +324,12 @@ test = [ { name = "freezegun", specifier = ">=1.2.2,<2.0.0" }, { name = "grandalf", specifier = ">=0.8,<1.0" }, { name = "langchain-tests", directory = "../../standard-tests" }, - { name = "numpy", marker = "python_full_version < '3.12'", specifier = ">=1.24.0,<2.0.0" }, - { name = "numpy", marker = "python_full_version >= '3.12'", specifier = ">=1.26.0,<3" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, { name = "pytest", specifier = ">=8,<9" }, { name = "pytest-asyncio", specifier = ">=0.21.1,<1.0.0" }, + { name = "pytest-benchmark" }, + { name = "pytest-codspeed" }, { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" }, { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" }, { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" }, @@ -337,15 +340,14 @@ test = [ test-integration = [] typing = [ { name = "langchain-text-splitters", directory = "../../text-splitters" }, - { name = "mypy", specifier = ">=1.10,<1.11" }, - { name = "types-jinja2", specifier = ">=2.11.9,<3.0.0" }, + { name = "mypy", specifier = ">=1.15,<1.16" }, { name = "types-pyyaml", specifier = ">=6.0.12.2,<7.0.0.0" }, { name = "types-requests", specifier = ">=2.28.11.5,<3.0.0.0" }, ] [[package]] name = "langchain-ollama" -version = "0.3.1" +version = "0.3.2" source = { editable = "." } dependencies = [ { name = "langchain-core" }, @@ -403,7 +405,7 @@ typing = [ [[package]] name = "langchain-tests" -version = "0.3.17" +version = "0.3.18" source = { editable = "../../standard-tests" } dependencies = [ { name = "httpx" }, @@ -420,7 +422,8 @@ dependencies = [ requires-dist = [ { name = "httpx", specifier = ">=0.25.0,<1" }, { name = "langchain-core", editable = "../../core" }, - { name = "numpy", specifier = ">=1.26.2,<3" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.2" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, { name = "pytest", specifier = ">=7,<9" }, { name = "pytest-asyncio", specifier = ">=0.20,<1" }, { name = "pytest-socket", specifier = ">=0.6.0,<1" }, @@ -558,7 +561,8 @@ name = "numpy" version = "2.2.2" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.12.4'", + "python_full_version >= '3.13'", + "python_full_version >= '3.12.4' and python_full_version < '3.13'", "python_full_version >= '3.12' and python_full_version < '3.12.4'", ] sdist = { url = "https://files.pythonhosted.org/packages/ec/d0/c12ddfd3a02274be06ffc71f3efc6d0e457b0409c4481596881e748cb264/numpy-2.2.2.tar.gz", hash = "sha256:ed6906f61834d687738d25988ae117683705636936cc605be0bb208b23df4d8f", size = 20233295 }