diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2021-05-05 21:57:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 21:57:11 +0200 |
commit | 68474bb1ff622e14369b33577008b2a7191e8a2b (patch) | |
tree | a4b0d2a7d1aa6a8493a169c6c9cadc6c246e7ec5 /pkgs/development | |
parent | 37c75aaf3eaa093351ee020c72d4591336b1d8fa (diff) | |
parent | dcc2125848cfc4507551ebcdcb7fe0174b92202c (diff) |
Merge pull request #121751 from MetaDark/pythonPackages.debugpy
pythonPackages.debugpy: 1.2.1 → 1.3.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/debugpy/default.nix | 7 | ||||
-rw-r--r-- | pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index beb5ba9c46b73..37717f76f3353 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -17,13 +17,13 @@ buildPythonPackage rec { pname = "debugpy"; - version = "1.2.1"; + version = "1.3.0"; src = fetchFromGitHub { owner = "Microsoft"; repo = pname; rev = "v${version}"; - sha256 = "1dgjbbhy228w2zbfq5pf0hkai7742zw8mmybnzjdc9l6pw7360rq"; + hash = "sha256-YGzc9mMIzPTmUgIXuZROLdYKjUm69x9SR+JtYRVpn24="; }; patches = [ @@ -33,6 +33,7 @@ buildPythonPackage rec { inherit gdb; }) + # Use nixpkgs version instead of versioneer (substituteAll { src = ./hardcode-version.patch; inherit version; @@ -87,6 +88,8 @@ buildPythonPackage rec { "gevent" ]; + pythonImportsCheck = [ "debugpy" ]; + meta = with lib; { description = "An implementation of the Debug Adapter Protocol for Python"; homepage = "https://github.com/microsoft/debugpy"; diff --git a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch index 751351e03cde7..f74b53a831b3c 100644 --- a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch +++ b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch @@ -1,8 +1,8 @@ diff --git a/tests/debug/session.py b/tests/debug/session.py -index 2b39106..6d45a10 100644 +index 101492f..4ee7cfb 100644 --- a/tests/debug/session.py +++ b/tests/debug/session.py -@@ -625,6 +625,7 @@ class Session(object): +@@ -630,6 +630,7 @@ class Session(object): if "PYTHONPATH" in self.config.env: # If specified, launcher will use it in lieu of PYTHONPATH it inherited # from the adapter when spawning debuggee, so we need to adjust again. |