Compare commits

1 Commits
main ... 1.1

4 changed files with 23 additions and 110 deletions

View File

@@ -1,82 +1,3 @@
-------------------------------------------------------------------
Tue Apr 1 16:06:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make it compatible with older setuptools
-------------------------------------------------------------------
Thu Mar 27 00:40:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
-------------------------------------------------------------------
Mon Jan 20 10:40:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.6.1
* Make signatures in ``tb_format`` Python 3.12+ compatible (#186)
-------------------------------------------------------------------
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 Mon Apr 3 09:15:42 UTC 2023 - pgajdos@suse.com
@@ -87,7 +8,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> 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. * 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). * 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). * Dont trigger post mortem debugger for skipped tests. ( #141).
@@ -95,13 +16,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> 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. * 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> 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(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
@@ -118,7 +39,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. 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 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. recreate the logging configuration. For details, see #134.
- version update to 5.4.0 - version update to 5.4.0
* Improve --help documentation for --package-path option (#121). * Improve --help documentation for --package-path option (#121).
* Do not disable existing loggers during logsupport initialization (#120). * Do not disable existing loggers during logsupport initialization (#120).
@@ -158,23 +79,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> Mon Apr 8 13:02:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 5.0 - update to version 5.0
* Fix test failures and deprecation warnings occurring when * Fix test failures and deprecation warnings occurring when
using Python 3.8a1. using Python 3.8a1.
* Drop support for Python 3.4. * Drop support for Python 3.4.
4.9* 4.9*
* Fix AssertionError in _DummyThread.isAlive on Python 3. * Fix AssertionError in _DummyThread.isAlive on Python 3.
* Drop support for Python 3.3. * Drop support for Python 3.3.
* Add support for Python 3.7. * Add support for Python 3.7.
* Remove untested support for the --pychecker option. * 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. optparse.
* Use ipdb instead of pdb for post-mortem debugging if available. * Use ipdb instead of pdb for post-mortem debugging if available.
* Add a require-unique option to check for duplicate test IDs. * Add a require-unique option to check for duplicate test IDs.
* Reintroduce optional support for subunit. * Reintroduce optional support for subunit.
* Handle string in exception values when formatting chained * Handle string in exception values when formatting chained
exceptions. exceptions.
4.8* 4.8*
* Enable DeprecationWarning earlier, when discovering test * Enable DeprecationWarning earlier, when discovering test
modules. modules.
* Automatically enable DeprecationWarning when running tests. * Automatically enable DeprecationWarning when running tests.
- Launch tests using multibuild. - Launch tests using multibuild.
@@ -280,7 +201,7 @@ Wed Nov 13 13:08:41 UTC 2013 - p.drouand@gmail.com
+ Fix nondeterministic test failures on Python 3.3 + Fix nondeterministic test failures on Python 3.3
+ Tear down layers after post_mortem debugging is finished. + Tear down layers after post_mortem debugging is finished.
+ Fix tests that write to source directory, it might be read-only. + 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 + Fix tests selection when the negative "!" pattern is used several times
(LP #1160965) (LP #1160965)
+ Moved tests into a 'tests' subpackage. + Moved tests into a 'tests' subpackage.

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-zope.testrunner # spec file for package python-zope.testrunner
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,26 +24,22 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons} Name: python-zope.testrunner
Name: python-zope.testrunner%{psuffix} Version: 6.0
Version: 6.6.1
Release: 0 Release: 0
Summary: Zope testrunner script Summary: Zope testrunner script
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.testrunner URL: https://github.com/zopefoundation/zope.testrunner
Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope_testrunner-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.exceptions} BuildRequires: %{python_module zope.exceptions}
BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.exceptions Requires: python-zope.exceptions
Requires: python-zope.interface Requires: python-zope.interface
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testing}
@@ -56,15 +52,15 @@ BuildRequires: %{pythons}
This package provides a flexible test runner with layer support. This package provides a flexible test runner with layer support.
%prep %prep
%autosetup -p1 -n zope_testrunner-%{version} %autosetup -p1 -n zope.testrunner-%{version}
find -size 0 -delete find -size 0 -delete
%build %build
%pyproject_wheel %python_build
%install %install
%if !%{with test} %if !%{with test}
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/zope-testrunner %python_clone -a %{buildroot}%{_bindir}/zope-testrunner
@@ -72,9 +68,7 @@ find -size 0 -delete
%if %{with test} %if %{with test}
%check %check
%{python_expand # %pyunittest src/zope/testrunner/tests/*.py
$python -m zope.testrunner --test-path=src -vv
}
%endif %endif
%if !%{with test} %if !%{with test}
@@ -88,9 +82,7 @@ $python -m zope.testrunner --test-path=src -vv
%license LICENSE.md %license LICENSE.md
%doc README.rst %doc README.rst
%python_alternative %{_bindir}/zope-testrunner %python_alternative %{_bindir}/zope-testrunner
%{python_sitelib}/zope/testrunner %{python_sitelib}/zope*
%{python_sitelib}/zope.testrunner-%{version}-py*-nspkg.pth
%{python_sitelib}/zope[_.]testrunner-%{version}.dist-info
%endif %endif
%changelog %changelog

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

Binary file not shown.

BIN
zope_testrunner-6.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.