Merge pull request #121751 from MetaDark/pythonPackages.debugpy

pythonPackages.debugpy: 1.2.1 → 1.3.0

authored by

Fabian Affolter and committed by
GitHub
68474bb1 37c75aaf

+7 -4
+5 -2
pkgs/development/python-modules/debugpy/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "debugpy"; 20 - version = "1.2.1"; 20 + version = "1.3.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "Microsoft"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "1dgjbbhy228w2zbfq5pf0hkai7742zw8mmybnzjdc9l6pw7360rq"; 26 + hash = "sha256-YGzc9mMIzPTmUgIXuZROLdYKjUm69x9SR+JtYRVpn24="; 27 27 }; 28 28 29 29 patches = [ ··· 33 33 inherit gdb; 34 34 }) 35 35 36 + # Use nixpkgs version instead of versioneer 36 37 (substituteAll { 37 38 src = ./hardcode-version.patch; 38 39 inherit version; ··· 86 87 # gevent fails to import zope.interface with Python 2.7 87 88 "gevent" 88 89 ]; 90 + 91 + pythonImportsCheck = [ "debugpy" ]; 89 92 90 93 meta = with lib; { 91 94 description = "An implementation of the Debug Adapter Protocol for Python";
+2 -2
pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch
··· 1 1 diff --git a/tests/debug/session.py b/tests/debug/session.py 2 - index 2b39106..6d45a10 100644 2 + index 101492f..4ee7cfb 100644 3 3 --- a/tests/debug/session.py 4 4 +++ b/tests/debug/session.py 5 - @@ -625,6 +625,7 @@ class Session(object): 5 + @@ -630,6 +630,7 @@ class Session(object): 6 6 if "PYTHONPATH" in self.config.env: 7 7 # If specified, launcher will use it in lieu of PYTHONPATH it inherited 8 8 # from the adapter when spawning debuggee, so we need to adjust again.