diff --git a/python-executing.changes b/python-executing.changes index 2d155b4..865d59e 100644 --- a/python-executing.changes +++ b/python-executing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 23 13:02:57 UTC 2024 - Daniel Garcia + +- Remove ipython dependency for Leap + ------------------------------------------------------------------- Thu Sep 26 09:27:25 UTC 2024 - Matej Cepl diff --git a/python-executing.spec b/python-executing.spec index 65711eb..6b0a632 100644 --- a/python-executing.spec +++ b/python-executing.spec @@ -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