Skip to content

The agent engineering platform.

fix(model-profiles): remove langchain-core as a dependency (#33761)

ccurme1c762187e8df
diff --git a/.github/workflows/pr_lint.yml b/.github/workflows/pr_lint.yml
index 00505fec49..d7af384e90 100644
--- a/.github/workflows/pr_lint.yml
+++ b/.github/workflows/pr_lint.yml
@@ -81,6 +81,7 @@ jobs:
langchain
langchain_v1
langchain-classic
+ model-profiles
standard-tests
text-splitters
docs
diff --git a/libs/model-profiles/pyproject.toml b/libs/model-profiles/pyproject.toml
index 0831c67481..d692e54cb2 100644
--- a/libs/model-profiles/pyproject.toml
+++ b/libs/model-profiles/pyproject.toml
@@ -7,7 +7,6 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
- "langchain-core>=1.0.0,<2.0.0",
"tomli>=2.0.0,<3.0.0; python_version < '3.11'",
]
diff --git a/libs/model-profiles/uv.lock b/libs/model-profiles/uv.lock
index 227ba457f6..819d8e5f23 100644
--- a/libs/model-profiles/uv.lock
+++ b/libs/model-profiles/uv.lock
@@ -1,5 +1,5 @@
version = 1
-revision = 3
+revision = 2
requires-python = ">=3.10.0, <4.0.0"
resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -587,7 +587,6 @@ name = "langchain-model-profiles"
version = "0.0.1"
source = { editable = "." }
dependencies = [
- { name = "langchain-core" },
{ name = "tomli", marker = "python_full_version < '3.11'" },
]
@@ -621,10 +620,7 @@ typing = [
]
[package.metadata]
-requires-dist = [
- { name = "langchain-core", editable = "../core" },
- { name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2.0.0,<3.0.0" },
-]
+requires-dist = [{ name = "tomli", marker = "python_full_version < '3.11'", specifier = ">=2.0.0,<3.0.0" }]
[package.metadata.requires-dev]
dev = [{ name = "httpx", specifier = ">=0.23.0,<1" }]