Commit 058c9ef7 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.langgraph-mistralai: 1.0.0 -> 1.0.1

parent d4b44faa
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@

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

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langchain";
    tag = "langchain-mistralai==${version}";
    hash = "sha256-khpZY6kttbgacnY1EKCyIPBR2ZiZHC3OA+0NpIBXg9s=";
    hash = "sha256-o9xIIcqsuTgWMeluk3EMY3hbB3wGjhYYfzbHizpNTo8=";
  };

  sourceRoot = "${src.name}/libs/partners/mistralai";
@@ -46,12 +46,6 @@ buildPythonPackage rec {
    pydantic
  ];

  pythonRelaxDeps = [
    # Each component release requests the exact latest core.
    # That prevents us from updating individual components.
    "langchain-core"
  ];

  nativeCheckInputs = [
    langchain-tests
    pytest-asyncio
@@ -60,6 +54,11 @@ buildPythonPackage rec {

  enabledTestPaths = [ "tests/unit_tests" ];

  disabledTests = [
    # Comparison error due to message formatting differences
    "test__convert_dict_to_message_tool_call"
  ];

  pythonImportsCheck = [ "langchain_mistralai" ];

  passthru = {
@@ -71,7 +70,7 @@ buildPythonPackage rec {
  };

  meta = {
    changelog = "https://github.com/langchain-ai/langchain-mistralai/releases/tag/${src.tag}";
    changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}";
    description = "Build LangChain applications with mistralai";
    homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/mistralai";
    license = lib.licenses.mit;