- update to 12.0:

* Drop support for pytest < 6.2.
  * Add ``only_rerun`` and ``rerun_except`` arguments to
    ``@pytest.mark.flaky`` marker.
  * Add support for pytest 7.3, 7.4.
  * Failures are now rerun only if they match at least one
    ``--only-rerun`` pattern (if given) and none of the 
    ``--rerun-except`` patterns. Previously, using both 
    ``--only-rerun`` and ``--rerun-except`` together
    could cause failures to be rerun even if they did not
    match any ``--only-rerun`` pattern, and when using
    multiple ``--rerun-except`` patterns, all failures
    would be rerun unless they matched every pattern.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=21
This commit is contained in:
2023-07-24 19:56:34 +00:00
committed by Git OBS Bridge
parent 792f3924a4
commit 38228ce8f9
4 changed files with 22 additions and 7 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jul 24 19:55:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 12.0:
* Drop support for pytest < 6.2.
* Add ``only_rerun`` and ``rerun_except`` arguments to
``@pytest.mark.flaky`` marker.
* Add support for pytest 7.3, 7.4.
* Failures are now rerun only if they match at least one
``--only-rerun`` pattern (if given) and none of the
``--rerun-except`` patterns. Previously, using both
``--only-rerun`` and ``--rerun-except`` together
could cause failures to be rerun even if they did not
match any ``--only-rerun`` pattern, and when using
multiple ``--rerun-except`` patterns, all failures
would be rerun unless they matched every pattern.
-------------------------------------------------------------------
Tue May 9 21:10:26 UTC 2023 - Dirk Müller <dmueller@suse.com>