python3Packages.langchain*: relex dependency on langchain-core

This commit is contained in:
Sarah Clark
2025-03-18 14:40:15 -07:00
parent 0808d2bb77
commit 9d4285468a
12 changed files with 62 additions and 4 deletions
@@ -53,6 +53,9 @@ buildPythonPackage rec {
pythonRelaxDeps = [
# Boto @ 1.35 has outstripped the version requirement
"boto3"
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
nativeCheckInputs = [
@@ -42,6 +42,12 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [
azure-identity
langchain-core
@@ -30,7 +30,12 @@ buildPythonPackage rec {
build-system = [ pdm-backend ];
pythonRelaxDeps = [ "numpy" ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
"numpy"
];
dependencies = [
chromadb
@@ -57,7 +57,10 @@ buildPythonPackage rec {
];
pythonRelaxDeps = [
"langchain" # Can fail during updates where building sees the old langchain
# Each component release requests the exact latest langchain and -core.
# That prevents us from updating individul components.
"langchain"
"langchain-core"
"numpy"
"pydantic-settings"
"tenacity"
@@ -122,7 +125,7 @@ buildPythonPackage rec {
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^langchain-community==([0-9.]+)$"
"^langchain-community==(.*)"
];
};
# updates the wrong fetcher rev attribute
@@ -32,7 +32,11 @@ buildPythonPackage rec {
build-system = [ pdm-backend ];
pythonRelaxDeps = [ "langchain-core" ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [
langchain-core
@@ -45,6 +45,12 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [
huggingface-hub
langchain-core
@@ -38,6 +38,9 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
"numpy"
];
@@ -35,6 +35,12 @@ buildPythonPackage rec {
build-system = [ poetry-core ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [
langchain-core
ollama
@@ -48,6 +48,12 @@ buildPythonPackage rec {
build-system = [ pdm-backend ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [
langchain-core
openai
@@ -38,6 +38,13 @@ buildPythonPackage rec {
build-system = [ pdm-backend ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
"numpy"
];
dependencies = [
httpx
langchain-core
@@ -32,6 +32,12 @@ buildPythonPackage rec {
build-system = [ pdm-backend ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
];
dependencies = [ langchain-core ];
pythonImportsCheck = [ "langchain_text_splitters" ];
@@ -63,6 +63,9 @@ buildPythonPackage rec {
buildInputs = [ bash ];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individul components.
"langchain-core"
"numpy"
"tenacity"
];