From 70ef1d1dc4297547f2c9bf8c3ec381d89969b8f2a94530a66d849b6d9d686007 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 Feb 2023 10:42:57 +0000 Subject: [PATCH 1/3] - skip building for python 3.11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=13 --- python-debugpy.changes | 5 +++++ python-debugpy.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-debugpy.changes b/python-debugpy.changes index 27cf943..f70b3fc 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 2 10:42:48 UTC 2023 - Dirk Müller + +- skip building for python 3.11 + ------------------------------------------------------------------- Mon Jan 23 20:39:40 UTC 2023 - Dirk Müller diff --git a/python-debugpy.spec b/python-debugpy.spec index 9fbc335..6558610 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -29,6 +29,8 @@ # Skip Py2 in Leap and Py36 in TW in order to save resources. %define skip_python2 1 %define skip_python36 1 +# fails - https://github.com/microsoft/debugpy/issues/1107 +%define skip_python311 1 %define modname debugpy Name: python-%{modname}%{psuffix} Version: 1.6.6 From 023866288273c6d1fb30870c274b21e259725a58a9227b8e4942ec5726462ead Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 Feb 2023 10:43:58 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=14 --- python-debugpy.changes | 5 ----- python-debugpy.spec | 2 -- 2 files changed, 7 deletions(-) diff --git a/python-debugpy.changes b/python-debugpy.changes index f70b3fc..27cf943 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Feb 2 10:42:48 UTC 2023 - Dirk Müller - -- skip building for python 3.11 - ------------------------------------------------------------------- Mon Jan 23 20:39:40 UTC 2023 - Dirk Müller diff --git a/python-debugpy.spec b/python-debugpy.spec index 6558610..9fbc335 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -29,8 +29,6 @@ # Skip Py2 in Leap and Py36 in TW in order to save resources. %define skip_python2 1 %define skip_python36 1 -# fails - https://github.com/microsoft/debugpy/issues/1107 -%define skip_python311 1 %define modname debugpy Name: python-%{modname}%{psuffix} Version: 1.6.6 From e1e5d8119a1960007043d139db7e298cd6ea4f20055354d4d0df5ac8de4ef940 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 Feb 2023 12:58:48 +0000 Subject: [PATCH 3/3] - skip more tests for python 3.11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=15 --- python-debugpy.changes | 5 +++++ python-debugpy.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-debugpy.changes b/python-debugpy.changes index 27cf943..c7c7b98 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 2 12:58:38 UTC 2023 - Dirk Müller + +- skip more tests for python 3.11 + ------------------------------------------------------------------- Mon Jan 23 20:39:40 UTC 2023 - Dirk Müller diff --git a/python-debugpy.spec b/python-debugpy.spec index 9fbc335..332ffb3 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -117,6 +117,9 @@ rm %{buildroot}%{$python_sitearch}/debugpy/_vendored/pydevd/_*/*.{c,h,pxd,pyx} export DEBUGPY_TEST=1 # extra flags are not added donttest="test_custom_python_args" +# python 3.11 failures +donttest="$donttest or test_redirect_output or test_with_no_output or test_systemexit or test_exceptions_and_partial_exclude_rules or test_exception_stack or test_flask_template_exception_no_multiproc or test_flask_exception_no_multiproc or test_gevent" +rm -v tests/debugpy/test_exception.py tests/debugpy/test_django.py %pytest_arch -k "not ($donttest)" %endif