Unverified Commit 3ed18483 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.langgraph-runtime-inmem: refactor

parent 81c23e84
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  structlog,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "langgraph-runtime-inmem";
  version = "0.22.1";
  pyproject = true;
@@ -19,13 +19,11 @@ buildPythonPackage rec {
  # Not available in any repository
  src = fetchPypi {
    pname = "langgraph_runtime_inmem";
    inherit version;
    inherit (finalAttrs) version;
    hash = "sha256-u9mDl13Dcq1c1SiCY9NHFzKw3/K6s8b0Hl/ls6OOoe4=";
  };

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

  dependencies = [
    blockbuster
@@ -36,15 +34,7 @@ buildPythonPackage rec {
    structlog
  ];

  # Can remove after blockbuster version bump
  # https://github.com/NixOS/nixpkgs/pull/431547
  pythonRelaxDeps = [
    "blockbuster"
  ];

  pythonImportsCheck = [
    "langgraph_runtime_inmem"
  ];
  pythonImportsCheck = [ "langgraph_runtime_inmem" ];

  # no tests
  doCheck = false;
@@ -56,4 +46,4 @@ buildPythonPackage rec {
    license = lib.licenses.elastic20;
    maintainers = with lib.maintainers; [ sarahec ];
  };
}
})