Loading pkgs/development/python-modules/langchain-aws/default.nix +11 −5 Original line number Diff line number Diff line Loading @@ -2,25 +2,31 @@ lib, buildPythonPackage, fetchFromGitHub, # build-system poetry-core, # dependencies boto3, langchain-core, numpy, poetry-core, pytestCheckHook, pytest-asyncio, # tests langchain-standard-tests, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "langchain-aws"; version = "0.1.17"; version = "0.2.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-aws"; rev = "refs/tags/v${version}"; hash = "sha256-n9nQheuUZMrjZMpR3aqbrRb/AhcgiF4CFO9ROh9aFNc="; hash = "sha256-P9CfAVpKh7djhUQc3DyyJTWqs9RbrTeLyynLei0x00o="; }; postPatch = '' Loading pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix +12 −8 Original line number Diff line number Diff line { lib, azure-identity, buildPythonPackage, fetchFromGitHub, freezegun, # build-system poetry-core, # dependencies azure-identity, langchain-core, langchain-openai, # tests freezegun, lark, pandas, poetry-core, pytest-asyncio, pytest-mock, pytest-socket, pytestCheckHook, pythonOlder, requests-mock, responses, syrupy, toml, nix-update-script, }: buildPythonPackage rec { pname = "langchain-azure-dynamic-sessions"; version = "0.1.0"; version = "0.2.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-azure-dynamic-sessions==${version}"; hash = "sha256-jz4IBMnWuk8FsSsyfLN14B0xWZrmZrvEW95a45S+FOo="; hash = "sha256-tgvoOSr4tpi+tFBan+kw8FZUfUJHcQXv9e1nyeGP0so="; }; sourceRoot = "${src.name}/libs/partners/azure-dynamic-sessions"; Loading pkgs/development/python-modules/langchain-chroma/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -12,20 +12,22 @@ buildPythonPackage rec { pname = "langchain-chroma"; version = "0.1.2"; version = "0.1.4"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-chroma==${version}"; hash = "sha256-PQ3bepiAqzWhQdKofQSzQKxRrwI6dxBfSNV91462aJE="; hash = "sha256-pU7H8OYXa+JjdkSO36xESPI6r3xA+9cFXxeJnfpYuHc="; }; sourceRoot = "${src.name}/libs/partners/chroma"; build-system = [ poetry-core ]; pythonRelaxDeps = [ "chromadb" ]; dependencies = [ langchain-core chromadb Loading pkgs/development/python-modules/langchain-community/default.nix +6 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ langchain-core, langchain, langsmith, pydantic-settings, pyyaml, requests, sqlalchemy, Loading @@ -37,26 +38,29 @@ buildPythonPackage rec { pname = "langchain-community"; version = "0.2.16"; version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-community==${version}"; hash = "sha256-0FKbx/ZPX7sioof5pMdqpnVWc46+eOiTIseyxwYK49E="; hash = "sha256-8kF7KlXcWbquRtp8EumkFYhGd0onxifVZsts0SU1dzE="; }; sourceRoot = "${src.name}/libs/community"; build-system = [ poetry-core ]; pythonRelaxDeps = [ "pydantic-settings" ]; dependencies = [ aiohttp dataclasses-json langchain-core langchain langsmith pydantic-settings pyyaml requests sqlalchemy Loading pkgs/development/python-modules/langchain-core/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -34,14 +34,14 @@ buildPythonPackage rec { pname = "langchain-core"; version = "0.2.38"; version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-core==${version}"; hash = "sha256-3nRirzQe5KCVoeJ29fYelYuOD6r4adJof4NXreyfrzY="; hash = "sha256-BCqrJuy7R2jT3QmTvYwn8gHX7bc6Tq8HArK+F3PjBhw="; }; sourceRoot = "${src.name}/libs/core"; Loading Loading @@ -102,6 +102,12 @@ buildPythonPackage rec { # Compares with machine-specific timings "test_rate_limit_invoke" "test_rate_limit_stream" # flaky: assert (1726352133.7419367 - 1726352132.2697523) < 1 "test_benchmark_model" # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> "test_chat_prompt_template_variable_names" "test_create_model_v2" ] ++ lib.optionals stdenv.isDarwin [ # Langchain-core the following tests due to the test comparing execution time with magic values. Loading Loading
pkgs/development/python-modules/langchain-aws/default.nix +11 −5 Original line number Diff line number Diff line Loading @@ -2,25 +2,31 @@ lib, buildPythonPackage, fetchFromGitHub, # build-system poetry-core, # dependencies boto3, langchain-core, numpy, poetry-core, pytestCheckHook, pytest-asyncio, # tests langchain-standard-tests, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { pname = "langchain-aws"; version = "0.1.17"; version = "0.2.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-aws"; rev = "refs/tags/v${version}"; hash = "sha256-n9nQheuUZMrjZMpR3aqbrRb/AhcgiF4CFO9ROh9aFNc="; hash = "sha256-P9CfAVpKh7djhUQc3DyyJTWqs9RbrTeLyynLei0x00o="; }; postPatch = '' Loading
pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix +12 −8 Original line number Diff line number Diff line { lib, azure-identity, buildPythonPackage, fetchFromGitHub, freezegun, # build-system poetry-core, # dependencies azure-identity, langchain-core, langchain-openai, # tests freezegun, lark, pandas, poetry-core, pytest-asyncio, pytest-mock, pytest-socket, pytestCheckHook, pythonOlder, requests-mock, responses, syrupy, toml, nix-update-script, }: buildPythonPackage rec { pname = "langchain-azure-dynamic-sessions"; version = "0.1.0"; version = "0.2.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-azure-dynamic-sessions==${version}"; hash = "sha256-jz4IBMnWuk8FsSsyfLN14B0xWZrmZrvEW95a45S+FOo="; hash = "sha256-tgvoOSr4tpi+tFBan+kw8FZUfUJHcQXv9e1nyeGP0so="; }; sourceRoot = "${src.name}/libs/partners/azure-dynamic-sessions"; Loading
pkgs/development/python-modules/langchain-chroma/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -12,20 +12,22 @@ buildPythonPackage rec { pname = "langchain-chroma"; version = "0.1.2"; version = "0.1.4"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-chroma==${version}"; hash = "sha256-PQ3bepiAqzWhQdKofQSzQKxRrwI6dxBfSNV91462aJE="; hash = "sha256-pU7H8OYXa+JjdkSO36xESPI6r3xA+9cFXxeJnfpYuHc="; }; sourceRoot = "${src.name}/libs/partners/chroma"; build-system = [ poetry-core ]; pythonRelaxDeps = [ "chromadb" ]; dependencies = [ langchain-core chromadb Loading
pkgs/development/python-modules/langchain-community/default.nix +6 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ langchain-core, langchain, langsmith, pydantic-settings, pyyaml, requests, sqlalchemy, Loading @@ -37,26 +38,29 @@ buildPythonPackage rec { pname = "langchain-community"; version = "0.2.16"; version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-community==${version}"; hash = "sha256-0FKbx/ZPX7sioof5pMdqpnVWc46+eOiTIseyxwYK49E="; hash = "sha256-8kF7KlXcWbquRtp8EumkFYhGd0onxifVZsts0SU1dzE="; }; sourceRoot = "${src.name}/libs/community"; build-system = [ poetry-core ]; pythonRelaxDeps = [ "pydantic-settings" ]; dependencies = [ aiohttp dataclasses-json langchain-core langchain langsmith pydantic-settings pyyaml requests sqlalchemy Loading
pkgs/development/python-modules/langchain-core/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -34,14 +34,14 @@ buildPythonPackage rec { pname = "langchain-core"; version = "0.2.38"; version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/langchain-core==${version}"; hash = "sha256-3nRirzQe5KCVoeJ29fYelYuOD6r4adJof4NXreyfrzY="; hash = "sha256-BCqrJuy7R2jT3QmTvYwn8gHX7bc6Tq8HArK+F3PjBhw="; }; sourceRoot = "${src.name}/libs/core"; Loading Loading @@ -102,6 +102,12 @@ buildPythonPackage rec { # Compares with machine-specific timings "test_rate_limit_invoke" "test_rate_limit_stream" # flaky: assert (1726352133.7419367 - 1726352132.2697523) < 1 "test_benchmark_model" # TypeError: exceptions must be derived from Warning, not <class 'NoneType'> "test_chat_prompt_template_variable_names" "test_create_model_v2" ] ++ lib.optionals stdenv.isDarwin [ # Langchain-core the following tests due to the test comparing execution time with magic values. Loading