Sync from SUSE:SLFO:Main python-zope.testrunner revision 10a19aebd739142d3bbb930bbc556586

This commit is contained in:
Adrian Schröter 2024-12-13 12:43:16 +01:00
parent f07c991d85
commit 04c0767109
4 changed files with 92 additions and 21 deletions

View File

@ -1,3 +1,66 @@
-------------------------------------------------------------------
Mon Oct 28 21:53:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.6:
* Make tests compatible with Python 3.13 + add support for that
version.
* Drop support for Python 3.7.
-------------------------------------------------------------------
Fri Oct 4 04:40:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing psuffix to name for multibuild.
-------------------------------------------------------------------
Wed Aug 21 04:04:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 6.5:
* unittest.TestCase.subTest support (#91).
* remove support for setup.py's test command. Support for this command has
been dropped by modern setuptools versions and correspondingly has been
removed from most zopefoundation packages; zope.testrunner now follows.
* setup.py's ftest command is now only supported when the used setuptools
version still supports test.
-------------------------------------------------------------------
Thu Mar 14 08:57:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.4:
* Add PEP 440 support (implicit namespaces).
* Fix XML tests when running in distribution resp. separately.
* Exit cleanly when using the test runner --version argument.
* Add new --xml <path> option to write JUnit-like XML reports.
Code comes from collective.xmltestreport, but be aware that
here --xml is not a boolean, but expects a path! (#148).
* Add support for Python 3.13a3.
-------------------------------------------------------------------
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>
- 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 <dmueller@suse.com>
- update to 6.2:
* Add support for Python 3.12.
* Update code and tests to ``python-subunit >= 1.4.3`` thus
requiring at least this version.
-------------------------------------------------------------------
Fri Jun 9 12:39:26 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Apr 3 09:15:42 UTC 2023 - pgajdos@suse.com
@ -8,7 +71,7 @@ Mon Apr 3 09:15:42 UTC 2023 - pgajdos@suse.com
-------------------------------------------------------------------
Tue Dec 13 17:47:23 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.6
- Update to version 5.6
* Add support for Python 3.11.
* Inline a small part of random.Random.shuffle which was deprecated in Python 3.9 and removed in 3.11 (#119).
* Dont trigger post mortem debugger for skipped tests. ( #141).
@ -16,13 +79,13 @@ Tue Dec 13 17:47:23 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
-------------------------------------------------------------------
Sat Dec 3 03:06:31 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 5.5.1
- Update to 5.5.1
* Fix: let --at-level=level with level <= 0 run the tests at all levels (rather than at no level) #138.
-------------------------------------------------------------------
Mon Sep 19 15:46:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- updated spec to include
- updated spec to include
Requires(post): update-alternatives
Requires(postun):update-alternatives
@ -39,7 +102,7 @@ Fri Sep 16 19:30:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
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).
@ -79,23 +142,23 @@ Wed Oct 30 12:13:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
Mon Apr 8 13:02:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 5.0
* Fix test failures and deprecation warnings occurring when
using Python 3.8a1.
* 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
* 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
* Handle string in exception values when formatting chained
exceptions.
4.8*
* Enable DeprecationWarning earlier, when discovering test
* Enable DeprecationWarning earlier, when discovering test
modules.
* Automatically enable DeprecationWarning when running tests.
- Launch tests using multibuild.
@ -201,7 +264,7 @@ Wed Nov 13 13:08:41 UTC 2013 - p.drouand@gmail.com
+ Fix nondeterministic test failures on Python 3.3
+ Tear down layers after post_mortem debugging is finished.
+ Fix tests that write to source directory, it might be read-only.
- Changes from 4.4.0
- Changes from 4.4.0
+ Fix tests selection when the negative "!" pattern is used several times
(LP #1160965)
+ Moved tests into a 'tests' subpackage.

View File

@ -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
@ -24,22 +24,26 @@
%define psuffix %{nil}
%bcond_with test
%endif
Name: python-zope.testrunner
Version: 6.0
%{?sle15_python_module_pythons}
Name: python-zope.testrunner%{psuffix}
Version: 6.6
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
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.exceptions
Requires: python-zope.interface
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module zope.testing}
@ -56,11 +60,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
@ -68,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}
@ -82,7 +88,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

BIN
zope.testrunner-6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zope.testrunner-6.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.