forked from pool/python-executing
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user