From 8bc70960dfc612f106667b1d8d44981926c94ff7d01aa7daf18102b0c3377204 Mon Sep 17 00:00:00 2001 From: atze Date: Fri, 6 Feb 2026 18:14:47 +0100 Subject: [PATCH] - Update to version 16.1 --- pytest-rerunfailures-15.0.tar.gz | 3 --- pytest-rerunfailures-16.1.tar.gz | 3 +++ python-pytest-rerunfailures.changes | 37 +++++++++++++++++++++++++++++ python-pytest-rerunfailures.spec | 18 +++++++------- 4 files changed, 49 insertions(+), 12 deletions(-) delete mode 100644 pytest-rerunfailures-15.0.tar.gz create mode 100644 pytest-rerunfailures-16.1.tar.gz diff --git a/pytest-rerunfailures-15.0.tar.gz b/pytest-rerunfailures-15.0.tar.gz deleted file mode 100644 index 4aef1a4..0000000 --- a/pytest-rerunfailures-15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d9ac7baf59f4c13ac730b47f6fa80e755d1ba0581da45ce30b72fb3542b4474 -size 21816 diff --git a/pytest-rerunfailures-16.1.tar.gz b/pytest-rerunfailures-16.1.tar.gz new file mode 100644 index 0000000..340a762 --- /dev/null +++ b/pytest-rerunfailures-16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c38b266db8a808953ebd71ac25c381cb1981a78ff9340a14bcb9f1b9bff1899e +size 30889 diff --git a/python-pytest-rerunfailures.changes b/python-pytest-rerunfailures.changes index 9d806f8..996fcb9 100644 --- a/python-pytest-rerunfailures.changes +++ b/python-pytest-rerunfailures.changes @@ -1,4 +1,41 @@ ------------------------------------------------------------------- +Thu Feb 5 16:29:05 UTC 2026 - Andreas Prittwitz + + - 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 + . +- Changes in version 16.0.1 + * Reverted the ability to access error attributes because of an + incompatibility with + `pytest-xdist . + Fixes #302 + , + and #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 + . +- 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 + + * 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 + +------------------------------------------------------------------- Mon Nov 25 09:07:34 UTC 2024 - Dirk Müller - update to 15.0: diff --git a/python-pytest-rerunfailures.spec b/python-pytest-rerunfailures.spec index c118214..ce9ed71 100644 --- a/python-pytest-rerunfailures.spec +++ b/python-pytest-rerunfailures.spec @@ -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