Unverified Commit 4819d9e2 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3 packages.smolagents: fix duckduckgo-search renamed ddgs & bump version (#437624)

parents 5988f0a2 e3647452
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
  # openai
  openai,
  # toolkit
  duckduckgo-search,
  ddgs,
  markdownify,
  # torch
  numpy,
@@ -52,14 +52,14 @@

buildPythonPackage rec {
  pname = "smolagents";
  version = "1.20.0";
  version = "1.21.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "huggingface";
    repo = "smolagents";
    tag = "v${version}";
    hash = "sha256-ING+C2MACKFto+1FON5OGFgzLf8SM99ViTdADzNzQLw=";
    hash = "sha256-sm0G8z5Jaes8XybxeAUiRh3LVuzvnGaem5FLkcA5Qls=";
  };

  # TODO: remove at the next release
@@ -108,7 +108,7 @@ buildPythonPackage rec {
    #   opentelemetry-sdk
    # ];
    toolkit = [
      duckduckgo-search
      ddgs
      markdownify
    ];
    torch = [