diff options
| author | Vladimír Čunát <v@cunat.cz> | 2024-03-17 08:56:29 +0100 |
|---|---|---|
| committer | Vladimír Čunát <v@cunat.cz> | 2024-03-17 08:56:29 +0100 |
| commit | 94e192c3376dc356155a38a3b8e93a2ca32f469d (patch) | |
| tree | 8ba338300336f379e882ff4d8f17f08fc69bb2d7 /pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | |
| parent | 76235223edebec70a2156c80695b32df99d57f19 (diff) | |
| parent | 9f76751752aa6b52de52461c7fdbf940b15d2b11 (diff) | |
Merge #296478: python311Packages.debugpy: 1.8.0 -> 1.8.1
...into staging-next
Diffstat (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch index 7cfb1a49ec38..e368357d5cc2 100644 --- a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch +++ b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch @@ -1,12 +1,12 @@ diff --git a/tests/debug/session.py b/tests/debug/session.py -index 7dacc1f9..f303e20a 100644 +index d0921956..459c89c0 100644 --- a/tests/debug/session.py +++ b/tests/debug/session.py -@@ -631,6 +631,7 @@ class Session(object): +@@ -704,6 +704,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. + self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"]) self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath) - return self._request_start("launch") + # Adapter is going to start listening for server and spawn the launcher at |
