Hello community,
here is the log from the commit of package python-zope.testrunner for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:25:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-zope.testrunner (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-zope.testrunner.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testrunner"
Mon Mar 2 13:25:24 2020 rev:12 rq:777320 version:5.1
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-zope.testrunner/python-zope.testrunner.changes
2020-01-15 15:54:47.619644341 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-zope.testrunner.new.26092/python-zope.testrunner.changes
2020-03-02 13:25:25.446644918 +0100
@@ -1,0 +2,39 @@
+Wed Oct 30 12:13:54 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 5.1:
+ * Recover more gracefully when layer setUp or tearDown fails, producing
useful subunit output.
+ * Prevent a spurious warning from the --require-unique option if the
--module option was not used.
+ * Add optional buffering of standard output and standard error during tests,
requested via the --buffer option or enabled by default for subunit.
+ * Fix incorrect failure counts in per-layer summary output, broken in 4.0.1.
+
+-------------------------------------------------------------------
+Mon Apr 8 13:02:40 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 5.0
+ * Fix test failures and deprecation warnings occurring when
+ using Python 3.8a1.
+ * Drop support for Python 3.4.
+ 4.9*
+ * Fix AssertionError in _DummyThread.isAlive on Python 3.
+ * Drop support for Python 3.3.
+ * Add support for Python 3.7.
+ * Remove untested support for the --pychecker option.
+ * Update the command line interface to use argparse instead of
+ optparse.
+ * Use ipdb instead of pdb for post-mortem debugging if available.
+ * Add a –require-unique option to check for duplicate test IDs.
+ * Reintroduce optional support for subunit.
+ * Handle string in exception values when formatting chained
+ exceptions.
+ 4.8*
+ * Enable DeprecationWarning earlier, when discovering test
+ modules.
+ * Automatically enable DeprecationWarning when running tests.
+- Launch tests using multibuild.
+
+-------------------------------------------------------------------
+Tue Dec 4 12:56:33 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
zope.testrunner-4.7.0.zip
New:
----
_multibuild
zope.testrunner-5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testrunner.spec ++++++
--- /var/tmp/diff_new_pack.twtUMD/_old 2020-03-02 13:25:25.762645547 +0100
+++ /var/tmp/diff_new_pack.twtUMD/_new 2020-03-02 13:25:25.766645555 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testrunner
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,41 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
Name: python-zope.testrunner
-Version: 4.7.0
+Version: 5.1
Release: 0
Summary: Zope testrunner script
License: ZPL-2.1
-Group: Development/Languages/Python
-Url: https://pypi.python.org/pypi/zope.testrunner
-Source:
https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.zip
-BuildRequires: %{python_module devel}
+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 setuptools}
-# runtime requirements:
BuildRequires: %{python_module six}
BuildRequires: %{python_module zope.exceptions}
BuildRequires: %{python_module zope.interface}
-# Test requirements:
-BuildRequires: %{python_module zope.testing}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: unzip
Requires: python-six
Requires: python-zope.exceptions
Requires: python-zope.interface
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%if %{with test}
+BuildRequires: %{python_module zope.testing}
+BuildRequires: %{python_module zope.testrunner = %{version}}
+BuildRequires: %{pythons}
+%endif
%python_subpackages
%description
@@ -54,15 +60,19 @@
%python_build
%install
+%if !%{with test}
%python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/zope-testrunner
+%endif
-# Can't seem to be able to run the tests with an uninstalled zope.testrunner
-#%%check
-#%%python_exec setup.py test
+%if %{with test}
+%check
+%python_exec setup.py test
+%endif
+%if !%{with test}
%post
%python_install_alternative zope-testrunner
@@ -70,9 +80,10 @@
%python_uninstall_alternative zope-testrunner
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE.rst README.rst
+%license LICENSE.md
+%doc README.rst
%python_alternative %{_bindir}/zope-testrunner
%{python_sitelib}/*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>