-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-debugpy to version 1.6.6 / rev 9 via SR 1072342
https://build.opensuse.org/request/show/1072342 by user dgarcia + dimstar_suse - Add setuptools-67.3.0.patch to fix test issues with new setuptools. gh#microsoft/debugpy#1230
- Loading branch information
1 parent
ae8c233
commit b911acf
Showing
5 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 35504f83ed807fa9eddcacf940da4e35e7688d78 Mon Sep 17 00:00:00 2001 | ||
From: Pavel Minaev <pminaev@microsoft.com> | ||
Date: Tue, 7 Mar 2023 10:34:59 -0800 | ||
Subject: [PATCH] Work around #1230 | ||
|
||
Look for more specific text in the output to avoid false positives. | ||
--- | ||
tests/debugpy/test_run.py | 3 +-- | ||
1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
||
Index: debugpy-1.6.6/tests/debugpy/test_run.py | ||
=================================================================== | ||
--- debugpy-1.6.6.orig/tests/debugpy/test_run.py | ||
+++ debugpy-1.6.6/tests/debugpy/test_run.py | ||
@@ -89,8 +89,7 @@ def test_run_relative_path(pyfile, run): | ||
with open(pydevd_debug_file, "r") as stream: | ||
contents = stream.read() | ||
|
||
- assert "critical" not in contents | ||
- assert "Traceback" not in contents | ||
+ assert "FileNotFound" not in contents | ||
|
||
|
||
@pytest.mark.parametrize("run", runners.all_launch) |