From cd675086f9ad3ee146ab80afe22d46ff50857be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 May 2025 17:35:19 -0700 Subject: [PATCH 1/2] python313Packages.smolagents: fix meta.changelog --- pkgs/development/python-modules/smolagents/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/smolagents/default.nix b/pkgs/development/python-modules/smolagents/default.nix index ea5a1419f7cd..083d5166fc8f 100644 --- a/pkgs/development/python-modules/smolagents/default.nix +++ b/pkgs/development/python-modules/smolagents/default.nix @@ -148,7 +148,7 @@ buildPythonPackage rec { meta = { description = "Barebones library for agents"; homepage = "https://github.com/huggingface/smolagents"; - changelog = "https://github.com/huggingface/smolagents/releases/tag/v${src.tag}"; + changelog = "https://github.com/huggingface/smolagents/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; From 3aa7aaac5394dcd2eb928af69eec1e59e4d6c56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 May 2025 17:36:31 -0700 Subject: [PATCH 2/2] python313Packages.smolagents: disable test requiring network access It fails with AssertionError: assert 'Missing API Key' in '' --- pkgs/development/python-modules/smolagents/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/smolagents/default.nix b/pkgs/development/python-modules/smolagents/default.nix index 083d5166fc8f..c7a795e44ee1 100644 --- a/pkgs/development/python-modules/smolagents/default.nix +++ b/pkgs/development/python-modules/smolagents/default.nix @@ -123,6 +123,7 @@ buildPythonPackage rec { "test_vision_web_browser_main" # Tests require network access "test_agent_type_output" + "test_call_different_providers_without_key" "test_can_import_sklearn_if_explicitly_authorized" "test_transformers_message_no_tool" "test_transformers_message_vl_no_tool"