summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/debugpy
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-03-21 12:57:16 +0100
committerVladimír Čunát <v@cunat.cz>2023-03-21 12:57:16 +0100
commit0a88dec4f30f45912ecc4beaa44aa04af5ed6bd2 (patch)
tree8fec2dc8ee99adc7fabe43ca74fd756e33704a79 /pkgs/development/python-modules/debugpy
parentdf6565e29aa4db504b3f375cb3d22fdede3b582d (diff)
parentffe3165b271f3e2d47d0f342f4b906cf378caae9 (diff)
Merge branch 'staging-next' into staging
Diffstat (limited to 'pkgs/development/python-modules/debugpy')
-rw-r--r--pkgs/development/python-modules/debugpy/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix
index d6dfff0ad795..95f2d8b21eef 100644
--- a/pkgs/development/python-modules/debugpy/default.nix
+++ b/pkgs/development/python-modules/debugpy/default.nix
@@ -3,6 +3,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
+, fetchpatch
, substituteAll
, gdb
, django
@@ -37,6 +38,12 @@ buildPythonPackage rec {
inherit version;
})
+ # https://github.com/microsoft/debugpy/issues/1230
+ (fetchpatch {
+ url = "https://patch-diff.githubusercontent.com/raw/microsoft/debugpy/pull/1232.patch";
+ sha256 = "sha256-m5p+xYiJ4w4GcaFIaPmlnErp/7WLwcvJmaCqa2SeSxU=";
+ })
+
# Fix importing debugpy in:
# - test_nodebug[module-launch(externalTerminal)]
# - test_nodebug[module-launch(integratedTerminal)]
@@ -100,10 +107,14 @@ buildPythonPackage rec {
pytestFlagsArray = [
"--timeout=0"
];
-
# Fixes hanging tests on Darwin
__darwinAllowLocalNetworking = true;
+ disabledTests = [
+ # https://github.com/microsoft/debugpy/issues/1241
+ "test_flask_breakpoint_multiproc"
+ ];
+
pythonImportsCheck = [
"debugpy"
];