Sync from SUSE:SLFO:Main python-debugpy revision 780f6790f36b61138ca8f71afd7652ee

This commit is contained in:
Adrian Schröter 2024-10-01 10:33:15 +02:00
parent 8d0f8cf2a5
commit d4c55cc6b9
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 26 08:15:16 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Drop unneeded Django test dependency
- Skip one failing test on aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 15 16:18:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com> Thu Feb 15 16:18:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -40,7 +40,6 @@ BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test} %if %{with test}
BuildRequires: %{python_module Django}
BuildRequires: %{python_module Flask} BuildRequires: %{python_module Flask}
BuildRequires: %{python_module debugpy = %{version}} BuildRequires: %{python_module debugpy = %{version}}
BuildRequires: %{python_module gevent} BuildRequires: %{python_module gevent}
@ -126,6 +125,10 @@ donttest="$donttest or test_attach_pid_client"
sed -i "s/timeout=30/timeout=60/g" pytest.ini sed -i "s/timeout=30/timeout=60/g" pytest.ini
donttest+=" or test_attach_api or test_reattach or test_break_api or test_set_variable or test_unicode or test_debugpySystemInfo or test_debug_this_thread or test_tracing" donttest+=" or test_attach_api or test_reattach or test_break_api or test_set_variable or test_unicode or test_debugpySystemInfo or test_debug_this_thread or test_tracing"
%endif %endif
# Attach-to-PID is not supported on ARM https://github.com/microsoft/debugpy/issues/1220
%ifarch aarch64
donttest+=" or test_reattach"
%endif
# Do not have numpy dependency # Do not have numpy dependency
donttest+=" or test_numpy" donttest+=" or test_numpy"