From 896d9f2f0254fd13dd1b0680f42985f4270200d7cbb3a8dc59cf401d549caed7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 21:46:32 +0000 Subject: [PATCH] - update to 6.2.1: * Work around Python 3.12.1+ no longer calling startTest for skipped tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=40 --- python-zope.testrunner.changes | 7 +++++++ python-zope.testrunner.spec | 14 +++++++++----- zope.testrunner-6.2.1.tar.gz | 3 +++ zope.testrunner-6.2.tar.gz | 3 --- 4 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 zope.testrunner-6.2.1.tar.gz delete mode 100644 zope.testrunner-6.2.tar.gz diff --git a/python-zope.testrunner.changes b/python-zope.testrunner.changes index 8fbb591..295b3bf 100644 --- a/python-zope.testrunner.changes +++ b/python-zope.testrunner.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 2 21:42:52 UTC 2024 - Dirk Müller + +- update to 6.2.1: + * Work around Python 3.12.1+ no longer calling startTest for + skipped tests + ------------------------------------------------------------------- Mon Dec 11 08:13:01 UTC 2023 - Dirk Müller diff --git a/python-zope.testrunner.spec b/python-zope.testrunner.spec index 514d301..32cea39 100644 --- a/python-zope.testrunner.spec +++ b/python-zope.testrunner.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.testrunner # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,13 +26,15 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.testrunner -Version: 6.2 +Version: 6.2.1 Release: 0 Summary: Zope testrunner script License: ZPL-2.1 URL: https://github.com/zopefoundation/zope.testrunner Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.exceptions} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes @@ -57,11 +59,11 @@ This package provides a flexible test runner with layer support. find -size 0 -delete %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/zope-testrunner @@ -83,7 +85,9 @@ find -size 0 -delete %license LICENSE.md %doc README.rst %python_alternative %{_bindir}/zope-testrunner -%{python_sitelib}/zope* +%{python_sitelib}/zope/testrunner +%{python_sitelib}/zope.testrunner-%{version}-py*-nspkg.pth +%{python_sitelib}/zope.testrunner-%{version}.dist-info %endif %changelog diff --git a/zope.testrunner-6.2.1.tar.gz b/zope.testrunner-6.2.1.tar.gz new file mode 100644 index 0000000..8e301c3 --- /dev/null +++ b/zope.testrunner-6.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9ecdcc9ceedbc3577246c902aafa27f2a7f6a20d79ca408458c7c90c877235f +size 150397 diff --git a/zope.testrunner-6.2.tar.gz b/zope.testrunner-6.2.tar.gz deleted file mode 100644 index 4d4e358..0000000 --- a/zope.testrunner-6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f8dc92e1363837567a02c78f252b6fd43c3b69c08ff2db748333aefd111bccd -size 150192