From d65757c606d9f723d2de0634e9a55c39186eaea7 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Wed, 14 Aug 2024 19:59:46 -0300 Subject: [PATCH] fix: add 0.30 langchain-core version to fix issue --- poetry.lock | 8 ++++---- pyproject.toml | 1 + src/crewai/cli/templates/crew/pyproject.toml | 1 + src/crewai/cli/templates/pipeline/pyproject.toml | 3 ++- src/crewai/cli/templates/pipeline_router/pyproject.toml | 1 + 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 701a7e146..09fee718c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2463,13 +2463,13 @@ tenacity = ">=8.1.0,<8.4.0 || >8.4.0,<9.0.0" [[package]] name = "langchain-core" -version = "0.2.29" +version = "0.2.30" description = "Building applications with LLMs through composability" optional = false python-versions = "<4.0,>=3.8.1" files = [ - {file = "langchain_core-0.2.29-py3-none-any.whl", hash = "sha256:846c04a3bb72e409a9b928e0eb3ea1762e1473f2c4fb6df2596fbd7b3ab75973"}, - {file = "langchain_core-0.2.29.tar.gz", hash = "sha256:491324745a7afee5a7b285c3904edd9dd0c6efa7daf26b92fec6e84a2d2f5d10"}, + {file = "langchain_core-0.2.30-py3-none-any.whl", hash = "sha256:ea7eccb9566dd51b2b74bd292c4239d843a77cdba8ffae2b5edf7000d70d4194"}, + {file = "langchain_core-0.2.30.tar.gz", hash = "sha256:552ec586698140062cd299a83bad7e308f925b496d306b62529579c6fb122f7a"}, ] [package.dependencies] @@ -6073,4 +6073,4 @@ tools = ["crewai-tools"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<=3.13" -content-hash = "91ba982ea96ca7be017d536784223d4ef83e86de05d11eb1c3ce0fc1b726f283" +content-hash = "c78e40cc71608ccd21f8403019359b688814e856d2de54f94a46983eb8ca20d4" diff --git a/pyproject.toml b/pyproject.toml index c0239bcb7..05f6e4c51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ jsonref = "^1.1.0" agentops = { version = "^0.3.0", optional = true } embedchain = "^0.1.114" json-repair = "^0.25.2" +langchain-core = "0.2.30" [tool.poetry.extras] tools = ["crewai-tools"] diff --git a/src/crewai/cli/templates/crew/pyproject.toml b/src/crewai/cli/templates/crew/pyproject.toml index 99ac243a8..7c63f01be 100644 --- a/src/crewai/cli/templates/crew/pyproject.toml +++ b/src/crewai/cli/templates/crew/pyproject.toml @@ -7,6 +7,7 @@ authors = ["Your Name "] [tool.poetry.dependencies] python = ">=3.10,<=3.13" crewai = { extras = ["tools"], version = "^0.51.0" } +langchain-core = "0.2.30" [tool.poetry.scripts] {{folder_name}} = "{{folder_name}}.main:run" diff --git a/src/crewai/cli/templates/pipeline/pyproject.toml b/src/crewai/cli/templates/pipeline/pyproject.toml index b86e72c81..9a1604939 100644 --- a/src/crewai/cli/templates/pipeline/pyproject.toml +++ b/src/crewai/cli/templates/pipeline/pyproject.toml @@ -8,10 +8,11 @@ authors = ["Your Name "] python = ">=3.10,<=3.13" crewai = { extras = ["tools"], version = "^0.51.0" } asyncio = "*" +langchain-core = "0.2.30" [tool.poetry.scripts] {{folder_name}} = "{{folder_name}}.main:main" [build-system] requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" \ No newline at end of file +build-backend = "poetry.core.masonry.api" diff --git a/src/crewai/cli/templates/pipeline_router/pyproject.toml b/src/crewai/cli/templates/pipeline_router/pyproject.toml index f86dc7192..c9ab80eae 100644 --- a/src/crewai/cli/templates/pipeline_router/pyproject.toml +++ b/src/crewai/cli/templates/pipeline_router/pyproject.toml @@ -7,6 +7,7 @@ authors = ["Your Name "] [tool.poetry.dependencies] python = ">=3.10,<=3.13" crewai = { extras = ["tools"], version = "^0.51.0" } +langchain-core = "0.2.30" [tool.poetry.scripts] {{folder_name}} = "{{folder_name}}.main:main"