14
0

Accepting request 1004753 from home:yarunachalam:branches:devel:languages:python

- updated spec to include 
  Requires(post): update-alternatives
  Requires(postun):update-alternatives

- version update to 5.5.0
  * Use sys._current_frames (rather than threading.enumerate) as base for new thread detection, fixes #130.
  * New option --gc-after-test. It calls for a garbage collection after each test and can be used to track down
    ResourceWarning``s and cyclic garbage. With ``rv = gc.collect(), ! is output on verbosity level 1 when rv is
    non zero (i.e. when cyclic structures have been released), [``*rv*]`` on higher verbosity levels and a detailed
    cyclic garbage analysis on verbosity level 4+. For details, see #133.
  * Allow the filename for the logging configuration to be specified via the envvar ZOPE_TESTRUNNER_LOG_INI.
    If not defined, the configuration continues to be locked for in file log.ini of the current working directory.
    Remember the logging configuration file in envvar ZOPE_TESTRUNNER_LOG_INI to allow spawned child processes to
    recreate the logging configuration. For details, see #134.
 
- version update to 5.4.0
   * Improve --help documentation for --package-path option (#121).
   * Do not disable existing loggers during logsupport initialization (#120).
   * Fix tests with testtools >= 2.5.0 (#125).
   * Add support for Python 3.10.

OBS-URL: https://build.opensuse.org/request/show/1004753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=28
This commit is contained in:
2022-09-19 16:26:43 +00:00
committed by Git OBS Bridge
parent a815897146
commit a22eb67b47
4 changed files with 34 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testrunner
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-zope.testrunner
Version: 5.3.0
Version: 5.5
Release: 0
Summary: Zope testrunner script
License: ZPL-2.1
@@ -41,6 +41,8 @@ BuildRequires: python-rpm-macros
Requires: python-six
Requires: python-zope.exceptions
Requires: python-zope.interface
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module zope.testing}