- Remove ipython dependency for Leap

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=22
This commit is contained in:
Daniel Garcia 2024-10-23 13:04:28 +00:00 committed by Git OBS Bridge
parent 670786715f
commit 86dd7e31f3
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 23 13:02:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove ipython dependency for Leap
-------------------------------------------------------------------
Thu Sep 26 09:27:25 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -44,7 +44,9 @@ BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module asttokens}
%if 0%{?suse_version} > 1600
BuildRequires: %{python_module ipython}
%endif
BuildRequires: %{python_module littleutils}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rich}
@ -70,9 +72,16 @@ Get the currently executing AST node of a frame, and other information
%check
%if %{with test}
# Don't have ipython build requirement in Leap
%if 0%{?suse_version} <= 1600
%pytest -k "not test_ipython"
%else
%pytest
%endif
%endif
%if %{without test}
%files %{python_files}
%doc README.md