diff options
Diffstat (limited to 'pkgs/development/python-modules/debugpy/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 27b586407015..014f081922d6 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -11,6 +11,7 @@ pytestCheckHook, pytest-xdist, pytest-timeout, + pytest-retry, importlib-metadata, psutil, untangle, @@ -84,7 +85,6 @@ buildPythonPackage rec { "i686-linux" = "-shared -o attach_linux_x86.so"; "aarch64-linux" = "-shared -o attach_linux_arm64.so"; "x86_64-darwin" = "-D_REENTRANT -dynamiclib -lc -o attach_x86_64.dylib"; - "i686-darwin" = "-D_REENTRANT -dynamiclib -lc -o attach_x86.dylib"; "aarch64-darwin" = "-D_REENTRANT -dynamiclib -lc -o attach_arm64.dylib"; } .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}") @@ -99,6 +99,7 @@ buildPythonPackage rec { pytestCheckHook pytest-xdist pytest-timeout + pytest-retry ## Used by test helpers: importlib-metadata @@ -129,7 +130,12 @@ buildPythonPackage rec { ''; # Override default arguments in pytest.ini - pytestFlagsArray = [ "--timeout=0" ]; + pytestFlags = [ "--timeout=0" ]; + + disabledTests = [ + # hanging test (flaky) + "test_systemexit" + ]; # Fixes hanging tests on Darwin __darwinAllowLocalNetworking = true; @@ -147,7 +153,6 @@ buildPythonPackage rec { "i686-linux" "aarch64-linux" "x86_64-darwin" - "i686-darwin" "aarch64-darwin" ]; }; |
