diff --git a/python-executing.changes b/python-executing.changes index 84edda9..b60a779 100644 --- a/python-executing.changes +++ b/python-executing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 20 20:29:20 UTC 2024 - Matej Cepl + +- The test suite has to be run with pytest, unittest is not enough +- Add missing BuildRequires: ipython + ------------------------------------------------------------------- Wed Sep 18 06:18:15 UTC 2024 - Markéta Machová diff --git a/python-executing.spec b/python-executing.spec index 8d712ed..5bedbbe 100644 --- a/python-executing.spec +++ b/python-executing.spec @@ -28,12 +28,15 @@ Source: https://files.pythonhosted.org/packages/source/e/executing/execu Patch0: new-python-312.patch BuildRequires: %{python_module asttokens} BuildRequires: %{python_module devel} +BuildRequires: %{python_module ipython} BuildRequires: %{python_module littleutils} BuildRequires: %{python_module pip} +# START TESTING SECION BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm >= 4.0.0} BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel} +# END TESTING SECION BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -53,7 +56,7 @@ Get the currently executing AST node of a frame, and other information %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest discover -v +%pytest %files %{python_files} %doc README.md