diff options
| author | MetaDark <kira.bruneau@gmail.com> | 2020-06-06 18:06:28 -0400 |
|---|---|---|
| committer | Jon <jonringer@users.noreply.github.com> | 2020-07-03 12:15:09 -0700 |
| commit | a408cd9e7ca97fed8fd2acd73d3082806bb73397 (patch) | |
| tree | e9ea0088db325e6b21b7be27b18a5d2a38e76270 /pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | |
| parent | e932a720893afb61bf320e7bf23f79e6e5ee3472 (diff) | |
pythonPackages.debugpy: init at 1.0.0b12
Diffstat (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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") + |
