From 53328cb2a4dc1c209cda22783bc4b6eaf0291667 Mon Sep 17 00:00:00 2001 From: sarahec Date: Sat, 22 Nov 2025 10:24:07 -0800 Subject: [PATCH 1/3] Revert "python3Packages.symbex: disable tests broken due to click 8.2.0" This reverts commit 3c25c6c08bec800eab39577d931c89817ddf4b73. --- pkgs/development/python-modules/symbex/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/python-modules/symbex/default.nix b/pkgs/development/python-modules/symbex/default.nix index 94cb8baf6d0b..47405f4b8223 100644 --- a/pkgs/development/python-modules/symbex/default.nix +++ b/pkgs/development/python-modules/symbex/default.nix @@ -35,15 +35,6 @@ 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"; From 93e357f84c589f699f5da15fc599fd3bcd615b91 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 22 Nov 2025 10:33:06 -0800 Subject: [PATCH 2/3] python3Packages.symbex: disable one test due to Pydantic error --- pkgs/development/python-modules/symbex/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/symbex/default.nix b/pkgs/development/python-modules/symbex/default.nix index 47405f4b8223..9ba9957900af 100644 --- a/pkgs/development/python-modules/symbex/default.nix +++ b/pkgs/development/python-modules/symbex/default.nix @@ -35,6 +35,12 @@ buildPythonPackage rec { writableTmpDirAsHomeHook ]; + disabledTests = [ + # Fails with `TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_std...` + # https://github.com/simonw/symbex/issues/48 + "test_errors" + ]; + meta = { description = "Find the Python code for specified symbols"; homepage = "https://github.com/simonw/symbex"; From 33ad59652709594884ec3a9572eac860cd12f23c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 22 Nov 2025 11:09:57 -0800 Subject: [PATCH 3/3] python3Packages.symbex: disable test_output due to SystemError(1).stdout returning an empty string --- pkgs/development/python-modules/symbex/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/symbex/default.nix b/pkgs/development/python-modules/symbex/default.nix index 9ba9957900af..efb20406e642 100644 --- a/pkgs/development/python-modules/symbex/default.nix +++ b/pkgs/development/python-modules/symbex/default.nix @@ -39,6 +39,8 @@ buildPythonPackage rec { # Fails with `TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_std...` # https://github.com/simonw/symbex/issues/48 "test_errors" + # Fails with AssertionError (SystemExit(1).stdout is '' not the expected message) + "test_output" ]; meta = {