Commit 9d428546 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.langchain*: relex dependency on langchain-core

parent 0808d2bb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = [
+6 −0
Original line number Diff line number Diff line
@@ -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
+6 −1
Original line number Diff line number Diff line
@@ -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
+5 −2
Original line number Diff line number Diff line
@@ -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
+5 −1
Original line number Diff line number Diff line
@@ -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
Loading