Sync from SUSE:SLFO:Main python-zope.testrunner revision 10a19aebd739142d3bbb930bbc556586
This commit is contained in:
parent
f07c991d85
commit
04c0767109
@ -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
|
||||
|
||||
|
@ -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,18 +24,22 @@
|
||||
%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
|
||||
@ -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)
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
BIN
zope.testrunner-6.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user