Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-debugpy for openSUSE:Factory checked in at 2023-03-17 17:01:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-debugpy (Old) and /work/SRC/openSUSE:Factory/.python-debugpy.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-debugpy" Fri Mar 17 17:01:10 2023 rev:9 rq:1072342 version:1.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-debugpy/python-debugpy.changes 2023-02-03 22:15:38.942916617 +0100 +++ /work/SRC/openSUSE:Factory/.python-debugpy.new.31432/python-debugpy.changes 2023-03-17 17:01:11.704716138 +0100 @@ -1,0 +2,6 @@ +Thu Mar 16 10:39:58 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com> + +- Add setuptools-67.3.0.patch to fix test issues with new setuptools. + gh#microsoft/debugpy#1230 + +------------------------------------------------------------------- New: ---- setuptools-67.3.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-debugpy.spec ++++++ --- /var/tmp/diff_new_pack.CBGo50/_old 2023-03-17 17:01:12.260719051 +0100 +++ /var/tmp/diff_new_pack.CBGo50/_new 2023-03-17 17:01:12.264719072 +0100 @@ -37,6 +37,8 @@ License: MIT URL: https://github.com/microsoft/debugpy/ Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz +# PATCH-FIX-UPSTREAM setuptools-67.3.0.patch (gh#microsoft/debugpy#1230, gh#microsoft/debugpy@35504f83ed80) +Patch1: setuptools-67.3.0.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} ++++++ setuptools-67.3.0.patch ++++++ >From 35504f83ed807fa9eddcacf940da4e35e7688d78 Mon Sep 17 00:00:00 2001 From: Pavel Minaev <pmin...@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)