From aba73afe91e1d5e1a9f625264852059ebf4f5f44 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 9 Feb 2026 14:50:33 +0000 Subject: [PATCH] python3Packages.spyder-kernels: disable failing test on python>=3.14 Tracking: https://github.com/NixOS/nixpkgs/issues/475732 --- pkgs/development/python-modules/spyder-kernels/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/spyder-kernels/default.nix b/pkgs/development/python-modules/spyder-kernels/default.nix index 31508acee0e7..ce2e69e5329f 100644 --- a/pkgs/development/python-modules/spyder-kernels/default.nix +++ b/pkgs/development/python-modules/spyder-kernels/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, # build-system setuptools, @@ -85,6 +86,10 @@ buildPythonPackage (finalAttrs: { "test_multiprocessing" "test_np_threshold" "test_runfile" + ] + ++ lib.optionals (pythonAtLeast "3.14") [ + # AttributeError: 'Frame' object has no attribute 'f_locals'. Did you mean: 'f_globals'? + "test_functions_with_locals_in_pdb" ]; pythonImportsCheck = [ "spyder_kernels" ];