- update to 13.0:
* Drop support for pytest < 7.0.
* Add support for Python 3.12.
* Fix crashitem names mismatch between client and server.
* Fix crash when setup fails with --rerun-except flag.
``--only-rerun`` pattern (if given) and none of the
``--rerun-except`` patterns. Previously, using both
pytest >= 6.1.0, as it was removed there. This is a quick fix,
* Add a new flag --only-rerun to allow for users to rerun only
(PR from @gnikonorov)
OBS-URL: https://build.opensuse.org/request/show/1133200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=11
* Drop support for pytest < 7.0.
* Add support for Python 3.12.
* Fix crashitem names mismatch between client and server.
* Fix crash when setup fails with --rerun-except flag.
``--only-rerun`` pattern (if given) and none of the
``--rerun-except`` patterns. Previously, using both
pytest >= 6.1.0, as it was removed there. This is a quick fix,
* Add a new flag --only-rerun to allow for users to rerun only
(PR from @gnikonorov)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=23
- 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/request/show/1100456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=10
* 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
- update to 11.1.2:
* Execute teardown when test was skipped in setup phase of a
fixture.
* Fix crash during teardown when runtest protocol hook is
overwritten by another plugin.
* Fix crash during teardown when TestCase class is used as base
class.
* Run teardown of session, class, ... scoped fixtures only once
after rerunning tests
* Expose `reruns` and `reruns_delay` through `pytest.ini` file.
* Drop support for Python 3.6.
* Drop support for pytest < 6.
* Fix crash when pytest-xdist is installed but disabled.
* Fix crash when xfail(strict=True) mark is used with --rerun-
only flag.
* Added option `--rerun-except` to rerun failed tests those are
other than the mentioned Error.
* Add support for Python 3.11.
* Add support for pytest 7.0, 7.1, 7.2.
OBS-URL: https://build.opensuse.org/request/show/1085836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=9
* Execute teardown when test was skipped in setup phase of a
fixture.
* Fix crash during teardown when runtest protocol hook is
overwritten by another plugin.
* Fix crash during teardown when TestCase class is used as base
class.
* Run teardown of session, class, ... scoped fixtures only once
after rerunning tests
* Expose `reruns` and `reruns_delay` through `pytest.ini` file.
* Drop support for Python 3.6.
* Drop support for pytest < 6.
* Fix crash when pytest-xdist is installed but disabled.
* Fix crash when xfail(strict=True) mark is used with --rerun-
only flag.
* Added option `--rerun-except` to rerun failed tests those are
other than the mentioned Error.
* Add support for Python 3.11.
* Add support for pytest 7.0, 7.1, 7.2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=19
- Update to 10.2
* Allow recovery from crashed tests with pytest-xdist.
* Add support for Python 3.10 (as of Python 3.10.rc2). (Thanks to
@hugovk for the PR.)
* Allows using a str as condition for
@pytest.mark.flaky(condition) which gets evaluated dynamically
similarly to @pytest.mark.skipif(condition). (#162 provided by
@15klli)
* Drop support for Python 3.5.
* Drop support for pytest < 5.3.
* Add condition keyword argument to the re-run marker. (Thanks to
@BeyondEvil for the PR.)
* Add support for Python 3.9. (Thanks to @digitronik for the PR.)
* Add support for pytest 6.3. (Thanks to @bluetech for the PR.)
* Add compatibility with pytest-xdist >= 2.0. (Thanks to
@bluetech for the PR.)
* Check for the resultlog by feature and not by version as pytest
master does not provide a consistent version.
OBS-URL: https://build.opensuse.org/request/show/965494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=15
- Update to 9.1.1
Compatibility fix.
* Ignore --result-log command line option when used together with
pytest >= 6.1.0, as it was removed there. This is a quick fix,
use an older version of pytest, if you want to keep this
feature for now. (Thanks to @ntessore for the PR)
* Support up to pytest 6.1.0.
- Changelog for 9.1
Features
* Add a new flag --only-rerun to allow for users to rerun only
certain errors.
Other changes
* Drop dependency on mock.
* Add support for pre-commit and add a linting tox target. (#117)
(PR from @gnikonorov)
OBS-URL: https://build.opensuse.org/request/show/846854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=13