Hello community,

here is the log from the commit of package python-zope.testrunner for 
openSUSE:Factory checked in at 2019-04-10 23:10:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testrunner (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.testrunner.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.testrunner"

Wed Apr 10 23:10:54 2019 rev:11 rq:692309 version:5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.testrunner/python-zope.testrunner.changes
    2018-12-13 19:46:48.116828646 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testrunner.new.27019/python-zope.testrunner.changes
 2019-04-10 23:10:55.303955212 +0200
@@ -1,0 +2,25 @@
+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.
+
+-------------------------------------------------------------------

Old:
----
  zope.testrunner-4.7.0.zip

New:
----
  _multibuild
  zope.testrunner-5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zope.testrunner.spec ++++++
--- /var/tmp/diff_new_pack.rDTp11/_old  2019-04-10 23:10:56.123956143 +0200
+++ /var/tmp/diff_new_pack.rDTp11/_new  2019-04-10 23:10:56.127956147 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.testrunner
 #
-# Copyright (c) 2018 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
@@ -17,24 +17,34 @@
 
 
 %{?!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.0
 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
+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:
+%if %{with test}
 BuildRequires:  %{python_module zope.testing}
+BuildRequires:  %{python_module zope.testrunner = %{version}}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 Requires:       python-six
 Requires:       python-zope.exceptions
 Requires:       python-zope.interface
@@ -52,15 +62,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
 
@@ -72,5 +86,6 @@
 %doc README.rst
 %python_alternative %{_bindir}/zope-testrunner
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to