Accepting request 1138515 from home:bnavigator:branches:devel:languages:python

- Run the test suite with itself like it is meant to be
  * fixes Python 3.12 test failures
- Setuptools is a runtime requirement (for egg testing support)

OBS-URL: https://build.opensuse.org/request/show/1138515
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=42
This commit is contained in:
Dirk Mueller 2024-01-14 15:16:16 +00:00 committed by Git OBS Bridge
parent 896d9f2f02
commit 0b9098ca4f
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jan 13 22:52:05 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Run the test suite with itself like it is meant to be
* fixes Python 3.12 test failures
- Setuptools is a runtime requirement (for egg testing support)
-------------------------------------------------------------------
Tue Jan 2 21:42:52 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -39,6 +39,7 @@ BuildRequires: %{python_module zope.exceptions}
BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.exceptions
Requires: python-zope.interface
Requires(post): update-alternatives
@ -71,7 +72,9 @@ find -size 0 -delete
%if %{with test}
%check
%pyunittest src/zope/testrunner/tests/*.py
%{python_expand #
$python -m zope.testrunner --test-path=src -vv
}
%endif
%if !%{with test}