Unverified Commit 516c1028 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.langgraph-prebuilt: fix by adding missing xxhash test input (#397132)

parents d6eeb393 4041ea76
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -16,11 +16,12 @@
  langgraph-checkpoint-sqlite,
  postgresql,
  postgresqlTestHook,
  psycopg-pool,
  psycopg,
  psycopg-pool,
  pytest-asyncio,
  pytest-mock,
  pytestCheckHook,
  xxhash,

  # passthru
  nix-update-script,
@@ -55,19 +56,17 @@ buildPythonPackage rec {
  doCheck = !stdenv.hostPlatform.isDarwin;

  nativeCheckInputs = [
    pytestCheckHook
    postgresql
    postgresqlTestHook
  ];

  checkInputs = [
    langgraph-checkpoint
    langgraph-checkpoint-postgres
    langgraph-checkpoint-sqlite
    postgresql
    postgresqlTestHook
    psycopg
    psycopg-pool
    pytest-asyncio
    pytest-mock
    pytestCheckHook
    xxhash
  ];

  preCheck = ''
+3 −3
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
  langgraph-checkpoint-sqlite,
  langsmith,
  psycopg,
  psycopg-pool,
  pydantic,
  pytest-asyncio,
  pytest-mock,
@@ -115,10 +114,11 @@ buildPythonPackage rec {

  disabledTestPaths = [
    # psycopg.errors.InsufficientPrivilege: permission denied to create database
    "tests/test_pregel_async.py"
    "tests/test_pregel.py"
    "tests/test_checkpoint_migration.py"
    "tests/test_large_cases.py"
    "tests/test_large_cases_async.py"
    "tests/test_pregel.py"
    "tests/test_pregel_async.py"
  ];

  passthru = {