Commit 42fa505c authored by Philip Taron's avatar Philip Taron
Browse files

python3Packages.llm-*: use llm in the dependencies

There's no circular dependency problems anymore.
parent 6fba1361
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -26,10 +26,12 @@ buildPythonPackage rec {

  build-system = [
    setuptools
    llm
  ];

  dependencies = [ anthropic ];
  dependencies = [
    anthropic
    llm
  ];

  nativeCheckInputs = [
    pytestCheckHook
+7 −6
Original line number Diff line number Diff line
@@ -27,13 +27,11 @@ buildPythonPackage rec {

  # Only needed until https://github.com/simonw/llm-cmd/pull/18 is merged and released
  patches = [ ./fix-test.patch ];
  build-system = [
    setuptools
    # Follows the reasoning from https://github.com/NixOS/nixpkgs/pull/327800#discussion_r1681586659 about including llm in build-system
    llm
  ];

  build-system = [ setuptools ];

  dependencies = [
    llm
    prompt-toolkit
    pygments
  ];
@@ -53,6 +51,9 @@ buildPythonPackage rec {
    homepage = "https://github.com/simonw/llm-cmd";
    changelog = "https://github.com/simonw/llm-cmd/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ erethon ];
    maintainers = with lib.maintainers; [
      erethon
      philiptaron
    ];
  };
}
+4 −4
Original line number Diff line number Diff line
@@ -23,13 +23,13 @@ buildPythonPackage rec {
    hash = "sha256-PxICRds9NJQP64HwoL7Oxd39yaIrMdAyQEbhaumJCgo=";
  };

  build-system = [
    setuptools
  build-system = [ setuptools ];

  dependencies = [
    cohere
    llm
  ];

  dependencies = [ cohere ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-recording
+2 −5
Original line number Diff line number Diff line
@@ -19,12 +19,9 @@ buildPythonPackage rec {
    hash = "sha256-yrNvIGnU9Q/0H786DsM0wGEwfxZYIk8IXhqC4mWaQAA=";
  };

  build-system = [
    setuptools
    llm
  ];
  build-system = [ setuptools ];

  dependencies = [ ];
  dependencies = [ llm ];

  pythonImportsCheck = [ "llm_deepseek" ];

+3 −4
Original line number Diff line number Diff line
@@ -19,10 +19,9 @@ buildPythonPackage rec {
    hash = "sha256-+Ha6L2h8p/yA073MfO2Uvd6E4bKA2xAvaBWtvjqglOw=";
  };

  build-system = [
    setuptools
    llm
  ];
  build-system = [ setuptools ];

  dependencies = [ llm ];

  pythonImportsCheck = [ "llm_docs" ];

Loading