From 1fbb08ed57173324dfcf037681895204b5f774ee Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 21 Oct 2025 13:08:45 -0700 Subject: [PATCH 1/2] python3Packages.llm: disable tests that fail due to updated dependencies --- pkgs/development/python-modules/llm/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/llm/default.nix b/pkgs/development/python-modules/llm/default.nix index 7b8098c86227..a943c405d447 100644 --- a/pkgs/development/python-modules/llm/default.nix +++ b/pkgs/development/python-modules/llm/default.nix @@ -228,6 +228,17 @@ let "tests/" ]; + disabledTests = [ + # AssertionError: The following responses are mocked but not requested: + # - Match POST request on https://api.openai.com/v1/chat/completions + # https://github.com/simonw/llm/issues/1292 + "test_gpt4o_mini_sync_and_async" + + # TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr + # https://github.com/simonw/llm/issues/1293 + "test_embed_multi_files_encoding" + ]; + pythonImportsCheck = [ "llm" ]; passthru = { From 3c25c6c08bec800eab39577d931c89817ddf4b73 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 21 Oct 2025 13:50:22 -0700 Subject: [PATCH 2/2] python3Packages.symbex: disable tests broken due to click 8.2.0 --- pkgs/development/python-modules/symbex/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/symbex/default.nix b/pkgs/development/python-modules/symbex/default.nix index 47405f4b8223..94cb8baf6d0b 100644 --- a/pkgs/development/python-modules/symbex/default.nix +++ b/pkgs/development/python-modules/symbex/default.nix @@ -35,6 +35,15 @@ buildPythonPackage rec { writableTmpDirAsHomeHook ]; + disabledTests = [ + # Broken due to click 8.2.0 update + # https://github.com/simonw/symbex/issues/48 + "test_output" + "test_replace" + "test_replace_errors" + "test_errors" + ]; + meta = { description = "Find the Python code for specified symbols"; homepage = "https://github.com/simonw/symbex";