- Update to version 16.1

This commit is contained in:
2026-02-06 18:14:47 +01:00
parent cc63eeed6d
commit 8bc70960df
4 changed files with 49 additions and 12 deletions

Binary file not shown.

BIN
pytest-rerunfailures-16.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,4 +1,41 @@
-------------------------------------------------------------------
Thu Feb 5 16:29:05 UTC 2026 - Andreas Prittwitz <m4ng4n@gmx.de>
- Update to version 16.1
* Change version requirements to specification.
* Drop support for Python 3.9.
* Changed "localhost" to "127.0.0.1" to avoid bad
hostname resolution.
* Added ``--force-reruns`` to override rerun count globally.
Fixes #306
<https://github.com/pytest-dev/pytest-rerunfailures/issues/306>.
- Changes in version 16.0.1
* Reverted the ability to access error attributes because of an
incompatibility with
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist/issues/843>.
Fixes #302
<https://github.com/pytest-dev/pytest-rerunfailures/issues/302>,
and #303
<https://github.com/pytest-dev/pytest-rerunfailures/issues/303>.
- Changes in version 16.0
* Drop support for pytest < 8.
* Add support for pytest 8.4.x.
* Add support for upcoming Python 3.14.
* Allow ``@pytest.mark.flaky(condition)`` to accept a callable or
a string to be evaluated. The evaluated string has access to
the exception instance via the ``error`` object. #230
<https://github.com/pytest-dev/pytest-rerunfailures/issues/230>.
- Changes in version 15.1
* Fix ``--fail-on-flaky`` option to fail the test run with custom
exit code only when reruns are detected. #287
<https://github.com/pytest-dev/pytest-rerunfailures/issues/287>
* Switched to using the SPDX license identifier in the
project metadata.
* Change exception filtering logic to match ``AssertionError``
raised via ``assert`` statements when filtering by
"AssertionError".#292
<https://github.com/pytest-dev/pytest-rerunfailures/issues/292>
-------------------------------------------------------------------
Mon Nov 25 09:07:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 15.0:

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-rerunfailures
# spec file for package python-pytest_rerunfailures
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,24 @@
%{?sle15_python_module_pythons}
Name: python-pytest-rerunfailures
Version: 15.0
Version: 16.1
Release: 0
Summary: A pytest plugin to re-run tests
License: MPL-2.0
URL: https://github.com/pytest-dev/pytest-rerunfailures
Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest-rerunfailures-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest_rerunfailures-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 40.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-packaging >= 17.1
Requires: python-pytest >= 7.4
Requires: python-pytest >= 8.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 7.4}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest >= 8.0}
BuildRequires: %{python_module pytest-xdist >= 2.3.0}
# /SECTION
%python_subpackages
@@ -44,7 +44,7 @@ The pytest-rerunfailures package is a plugin for Pytest that re-runs
tests to eliminate intermittent failures.
%prep
%setup -q -n pytest-rerunfailures-%{version}
%setup -q -n pytest_rerunfailures-%{version}
%build
%pyproject_wheel