15
0

- The test suite has to be run with pytest, unittest is not enough

- Add missing BuildRequires: ipython

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=19
This commit is contained in:
2024-09-20 20:30:06 +00:00
committed by Git OBS Bridge
parent a7ace95cae
commit d5c89fd063
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 20 20:29:20 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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á <mmachova@suse.com>

View File

@@ -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