From 86dd7e31f30742f3dfabfa2fecc82916dac5f22fd8319bf9f1271731a6885eb0 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 23 Oct 2024 13:04:28 +0000 Subject: [PATCH] - Remove ipython dependency for Leap OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=22 --- python-executing.changes | 5 +++++ python-executing.spec | 9 +++++++++ 2 files changed, 14 insertions(+) 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