lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.debugpy: 1.6.6 -> 1.6.7

+12 -18
+3 -9
pkgs/development/python-modules/debugpy/default.nix
··· 4 4 , pythonOlder 5 5 , pythonAtLeast 6 6 , fetchFromGitHub 7 - , fetchpatch 8 7 , substituteAll 9 8 , gdb 10 9 , django ··· 20 19 21 20 buildPythonPackage rec { 22 21 pname = "debugpy"; 23 - version = "1.6.6"; 22 + version = "1.6.7"; 24 23 format = "setuptools"; 25 24 26 25 # Currently doesn't support 3.11: ··· 31 30 owner = "microsoft"; 32 31 repo = "debugpy"; 33 32 rev = "refs/tags/v${version}"; 34 - hash = "sha256-jEhvpPO3QeKjPiOMxg2xOWitWtZ6UCWyM1WvnbrKnFI="; 33 + hash = "sha256-porQTFvcLaIkvhWPM4vWR0ohlcFRkRwSLpQJNg25Tj4="; 35 34 }; 36 35 37 36 patches = [ ··· 39 38 (substituteAll { 40 39 src = ./hardcode-version.patch; 41 40 inherit version; 42 - }) 43 - 44 - # https://github.com/microsoft/debugpy/issues/1230 45 - (fetchpatch { 46 - url = "https://patch-diff.githubusercontent.com/raw/microsoft/debugpy/pull/1232.patch"; 47 - sha256 = "sha256-m5p+xYiJ4w4GcaFIaPmlnErp/7WLwcvJmaCqa2SeSxU="; 48 41 }) 49 42 50 43 # Fix importing debugpy in: ··· 110 103 pytestFlagsArray = [ 111 104 "--timeout=0" 112 105 ]; 106 + 113 107 # Fixes hanging tests on Darwin 114 108 __darwinAllowLocalNetworking = true; 115 109
+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 af242877..30b21a1e 100644 2 + index 7dacc1f9..f303e20a 100644 3 3 --- a/tests/debug/session.py 4 4 +++ b/tests/debug/session.py 5 - @@ -622,6 +622,7 @@ class Session(object): 5 + @@ -631,6 +631,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.
+2 -2
pkgs/development/python-modules/debugpy/hardcode-gdb.patch
··· 1 1 diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 2 - index 462feae9..eb2aa945 100644 2 + index ed43e370..d3d6669a 100644 3 3 --- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 4 4 +++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 5 - @@ -399,7 +399,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show 5 + @@ -404,7 +404,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show 6 6 is_debug = 0 7 7 # Note that the space in the beginning of each line in the multi-line is important! 8 8 cmd = [
+1 -1
pkgs/development/python-modules/debugpy/hardcode-lldb.patch
··· 1 1 diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 2 - index ed43e370..b28ab453 100644 2 + index d3d6669a..2ded8d9c 100644 3 3 --- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 4 4 +++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py 5 5 @@ -494,7 +494,7 @@ def run_python_code_mac(pid, python_code, connect_debugger_tracing=False, show_d
+4 -4
pkgs/development/python-modules/debugpy/hardcode-version.patch
··· 1 1 diff --git a/setup.py b/setup.py 2 - index 5fc40070..775a08ec 100644 2 + index 3abc811b..91354604 100644 3 3 --- a/setup.py 4 4 +++ b/setup.py 5 5 @@ -12,7 +12,6 @@ import sys ··· 10 10 11 11 del sys.path[0] 12 12 13 - @@ -141,13 +140,13 @@ if __name__ == "__main__": 13 + @@ -145,13 +144,13 @@ if __name__ == "__main__": 14 14 if platforms is not None: 15 15 extras["platforms"] = platforms 16 16 ··· 27 27 long_description=long_description, 28 28 long_description_content_type="text/markdown", 29 29 diff --git a/src/debugpy/public_api.py b/src/debugpy/public_api.py 30 - index 3c800898..27743245 100644 30 + index 9d0f705a..ee0b26ca 100644 31 31 --- a/src/debugpy/public_api.py 32 32 +++ b/src/debugpy/public_api.py 33 33 @@ -7,8 +7,6 @@ from __future__ import annotations ··· 39 39 40 40 # Expose debugpy.server API from subpackage, but do not actually import it unless 41 41 # and until a member is invoked - we don't want the server package loaded in the 42 - @@ -182,4 +180,4 @@ def trace_this_thread(__should_trace: bool): 42 + @@ -191,4 +189,4 @@ def trace_this_thread(__should_trace: bool): 43 43 """ 44 44 45 45