From 8dec8c865b103e1b83290914cdaea0c76f061f6f1bce56963c9e6771a023d82f Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 9 Dec 2025 03:10:36 +0000 Subject: [PATCH] Accepting request 1320346 from home:mcalabkova:branches:devel:languages:python - Delete an extra pytest mark to fix tests with pytest 9 OBS-URL: https://build.opensuse.org/request/show/1320346 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=47 --- python-debugpy.changes | 5 +++++ python-debugpy.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-debugpy.changes b/python-debugpy.changes index 919f1c3..08d06c0 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 27 13:51:04 UTC 2025 - Markéta Machová + +- Delete an extra pytest mark to fix tests with pytest 9 + ------------------------------------------------------------------- Mon Oct 13 09:15:54 UTC 2025 - Dirk Müller diff --git a/python-debugpy.spec b/python-debugpy.spec index 7184d76..07d05a7 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -131,6 +131,9 @@ donttest+=" or test_numpy" # Skip all attach_pid tests, it fails in OBS enviroment bsc#1219921 donttest+=" or attach_pid" +# fix tests with pytest 9 https://github.com/microsoft/debugpy/issues/1974 +sed -i '/launch/d' tests/debugpy/test_flask.py + %pytest_arch -k "not ($donttest)" %endif