Unverified Commit 0c4145d7 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.{langchain,langgraph,langsmith}*: update (#469718)

parents b7121adb f37ddcd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,14 +20,14 @@

buildPythonPackage rec {
  pname = "google-genai";
  version = "1.38.0";
  version = "1.54.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "googleapis";
    repo = "python-genai";
    tag = "v${version}";
    hash = "sha256-gJaLEpNKHl6n1MvQDIUW7ynsHYH2eEPGsYso5jSysNg=";
    hash = "sha256-yN45JvchpG8RJ7p2I5/MQ0gUg7GQDjugP0wrYWWr3ps=";
  };

  build-system = [
+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  fetchFromGitHub,

  # build-system
  pdm-backend,
  hatchling,

  # dependencies
  boto3,
@@ -24,14 +24,14 @@

buildPythonPackage rec {
  pname = "langchain-aws";
  version = "1.0.0";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langchain-aws";
    tag = "langchain-aws==${version}";
    hash = "sha256-Y4r9a7EiyOACcU41+1Lo89jguu1QmijWsNeoNqKF3cY=";
    hash = "sha256-vszpWFKuDZb7DvUhnCROgKJdbyA+slyIhCcIOEuPPhA=";
  };

  postPatch = ''
@@ -41,7 +41,7 @@ buildPythonPackage rec {

  sourceRoot = "${src.name}/libs/aws";

  build-system = [ pdm-backend ];
  build-system = [ hatchling ];

  dependencies = [
    boto3
+4 −2
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  pyyaml,
  tenacity,
  typing-extensions,
  uuid-utils,

  # tests
  blockbuster,
@@ -36,14 +37,14 @@

buildPythonPackage rec {
  pname = "langchain-core";
  version = "1.1.0";
  version = "1.1.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langchain";
    tag = "langchain-core==${version}";
    hash = "sha256-uDMex+2wvvNvdFSTHjShsrJeeMymOMKCmfS+AyMMH6c=";
    hash = "sha256-2wOe9vIqYIxPDh3gXnuHTqcXx1iOtBTCInFieWsL4Ow=";
  };

  sourceRoot = "${src.name}/libs/core";
@@ -58,6 +59,7 @@ buildPythonPackage rec {
    pyyaml
    tenacity
    typing-extensions
    uuid-utils
  ];

  pythonImportsCheck = [ "langchain_core" ];
+6 −6
Original line number Diff line number Diff line
@@ -4,13 +4,13 @@
  fetchFromGitHub,

  # build-system
  pdm-backend,
  hatchling,

  # dependencies
  filetype,
  google-api-core,
  google-auth,
  google-generativeai,
  google-genai,
  langchain-core,
  pydantic,

@@ -29,19 +29,19 @@

buildPythonPackage rec {
  pname = "langchain-google-genai";
  version = "3.0.0";
  version = "4.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langchain-google";
    tag = "libs/genai/v${version}";
    hash = "sha256-9Z0iRSICApA5/iHB7NTVYGpkktaoynG74W2mvn9zeMg=";
    hash = "sha256-SVwBJbHcoD8zqBr4r1uP35/gbWZxZsD0ygJuttCdTjY=";
  };

  sourceRoot = "${src.name}/libs/genai";

  build-system = [ pdm-backend ];
  build-system = [ hatchling ];

  pythonRelaxDeps = [
    # Each component release requests the exact latest core.
@@ -53,7 +53,7 @@ buildPythonPackage rec {
    filetype
    google-api-core
    google-auth
    google-generativeai
    google-genai
    langchain-core
    pydantic
  ];
+2 −2
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@

buildPythonPackage rec {
  pname = "langchain-mistralai";
  version = "1.0.1";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langchain";
    tag = "langchain-mistralai==${version}";
    hash = "sha256-o9xIIcqsuTgWMeluk3EMY3hbB3wGjhYYfzbHizpNTo8=";
    hash = "sha256-dmuDgKQW1yAz/8tjQx7LaUiuz5Sh4cAyd9nt33mCPbI=";
  };

  sourceRoot = "${src.name}/libs/partners/mistralai";
Loading