From a408cd9e7ca97fed8fd2acd73d3082806bb73397 Mon Sep 17 00:00:00 2001 From: MetaDark Date: Sat, 6 Jun 2020 18:06:28 -0400 Subject: pythonPackages.debugpy: init at 1.0.0b12 --- .../python-modules/debugpy/fix-test-pythonpath.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch') diff --git a/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch new file mode 100644 index 000000000000..751351e03cde --- /dev/null +++ b/pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch @@ -0,0 +1,12 @@ +diff --git a/tests/debug/session.py b/tests/debug/session.py +index 2b39106..6d45a10 100644 +--- a/tests/debug/session.py ++++ b/tests/debug/session.py +@@ -625,6 +625,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") + -- cgit v1.2.3