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

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,22 +24,18 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-zope.testrunner%{psuffix}
Version: 6.6.1
Name: python-zope.testrunner
Version: 6.0
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}
Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope.testrunner-%{version}.tar.gz
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
@@ -56,15 +52,15 @@ BuildRequires: %{pythons}
This package provides a flexible test runner with layer support.
%prep
%autosetup -p1 -n zope_testrunner-%{version}
%autosetup -p1 -n zope.testrunner-%{version}
find -size 0 -delete
%build
%pyproject_wheel
%python_build
%install
%if !%{with test}
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/zope-testrunner
@@ -72,9 +68,7 @@ find -size 0 -delete
%if %{with test}
%check
%{python_expand #
$python -m zope.testrunner --test-path=src -vv
}
%pyunittest src/zope/testrunner/tests/*.py
%endif
%if !%{with test}
@@ -88,9 +82,7 @@ $python -m zope.testrunner --test-path=src -vv
%license LICENSE.md
%doc README.rst
%python_alternative %{_bindir}/zope-testrunner
%{python_sitelib}/zope/testrunner
%{python_sitelib}/zope.testrunner-%{version}-py*-nspkg.pth
%{python_sitelib}/zope[_.]testrunner-%{version}.dist-info
%{python_sitelib}/zope*
%endif
%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.