From 31c0eee693b4809edb6b2a4c520593a66efaded6 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 20 Sep 2025 12:12:17 -0700 Subject: [PATCH] python3Packages.debugpy: disable tests that fail on Darwin --- pkgs/development/python-modules/debugpy/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 9b8f9db6314f..d7606c49001b 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -136,6 +136,12 @@ buildPythonPackage rec { "test_systemexit" ]; + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ + # ConnectionResetError: [Errno 54] Connection reset by peer + "tests/debugpy/test_breakpoints.py::test_error_in_condition[program-attach_connect(cli)-]" + "tests/debugpy/test_breakpoints.py::test_error_in_condition[program-attach_connect(cli)-NameError]" + ]; + # Fixes hanging tests on Darwin __darwinAllowLocalNetworking = true;