⬆️ deps: Update dependency pytest-rerunfailures to v16 - #48
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.2→^16.0.0Release Notes
pytest-dev/pytest-rerunfailures (pytest-rerunfailures)
v16.6.1Compare Source
Bug Fixes
+++++++++
pytest_runtest_logreportfor rerunattempts. (
#​237 <https://github.com/pytest-dev/pytest-rerunfailures/issues/237>_)result when rerunning tests with pytest-xdist. (
#​350 <https://github.com/pytest-dev/pytest-rerunfailures/issues/350>_)flakymarker condition is falsy. (
#​351 <https://github.com/pytest-dev/pytest-rerunfailures/issues/351>_)raised during teardown rules out a re-run. (
#​356 <https://github.com/pytest-dev/pytest-rerunfailures/issues/356>_)test whose call phase failed through subtests only. (
#​357 <https://github.com/pytest-dev/pytest-rerunfailures/issues/357>_)#​358 <https://github.com/pytest-dev/pytest-rerunfailures/issues/358>_)#​359 <https://github.com/pytest-dev/pytest-rerunfailures/issues/359>_)Misc
++++
Config.getvalue()calls withConfig.getoption().(
#​345 <https://github.com/pytest-dev/pytest-rerunfailures/issues/345>_)v16.6Compare Source
Features
++++++++
--rerun-exclude-pathoption to exclude test files ordirectories from reruns. (
#​232 <https://github.com/pytest-dev/pytest-rerunfailures/issues/232>_)Bug Fixes
+++++++++
--pdbunusable even when noreruns were configured. (
#​342 <https://github.com/pytest-dev/pytest-rerunfailures/issues/342>_)v16.5Compare Source
Features
++++++++
--max-suite-rerunsoption to cap the total number of reruns acrossthe entire test suite. Once the limit is reached, no further reruns occur
regardless of per-test
--rerunsor@pytest.mark.flakysettings.(
#​298 <https://github.com/pytest-dev/pytest-rerunfailures/issues/298>_)Bug Fixes
+++++++++
the failed attempt was reused, so state stored on
selfleaked into thererun and broke test isolation. Fixtures cached at class scope or higher are
still not re-executed. (
#​268 <https://github.com/pytest-dev/pytest-rerunfailures/issues/268>_)--rerun-except. Previously only the error from the current test stage wasconsidered, so a
--rerun-except-matching error raised during teardown wasignored and the test was rerun anyway. (
#​270 <https://github.com/pytest-dev/pytest-rerunfailures/issues/270>_)v16.4Compare Source
Breaking changes
++++++++++++++++
Features
++++++++
Add support for pytest 9.1.
Rerun tests with failed subtests. This feature is only available on pytest 9.0
and later. The pytest-subtests plugin is not supported.
Fixes
#​315 <https://github.com/pytest-dev/pytest-rerunfailures/issues/315>_.Add
--reruns-delay-backoff-factoroption (and the matchingreruns_delay_backoff_factormarker kwarg / ini setting) to grow the rerundelay after each attempt for an exponential backoff. The delay before the
n-th re-run is
reruns_delay * reruns_delay_backoff_factor ** (n - 1).The default factor is
1.0, so existing behaviour (a constant delay) isunchanged.
v16.3Compare Source
Features
++++++++
Add
--reruns-modeoption (strictorappend). Withappend,marker reruns and the global
--reruns/rerunsini setting are summedinstead of the marker taking strict priority. Default is
strictsoexisting behaviour is unchanged.
Fixes
#​321 <https://github.com/pytest-dev/pytest-rerunfailures/issues/321>_.Add
--rerun-show-tracebacksoption to display tracebacks from failedattempts that were retried, including tests that eventually passed. The
rerun summary section is emitted automatically when the flag is set, so
-rRis no longer required to see the tracebacks.Fixes
#​156 <https://github.com/pytest-dev/pytest-rerunfailures/issues/156>_.v16.2Compare Source
Breaking changes
++++++++++++++++
Features
++++++++
Bug fixes
+++++++++
Fix missing teardown for session and module scoped fixtures when fixture teardown fails.
Fixes
#​314 <https://github.com/pytest-dev/pytest-rerunfailures/issues/314>_.Clear fixture finalizers when removing cached results from failed fixtures
to fix compatibility with pytest >= 9, which asserts that
_finalizersisempty before executing a fixture.
Fixes
#​323 <https://github.com/pytest-dev/pytest-rerunfailures/issues/323>_.Accept exception classes (not only regex strings) in the
only_rerunandrerun_exceptmarker keyword arguments instead of crashing with aninternal error.
Fixes
#​275 <https://github.com/pytest-dev/pytest-rerunfailures/issues/275>_.v16.1Compare Source
Drop support for Python 3.9.
Changed "localhost" to "127.0.0.1" to avoid bad hostname resolution.
Added
--force-rerunsto override rerun count globally.Fixes
#​306 <https://github.com/pytest-dev/pytest-rerunfailures/issues/306>_.v16.0.1Compare Source
with
pytest-xdist <https://github.com/pytest-dev/pytest-xdist/issues/843>.Fixes
#​302 <https://github.com/pytest-dev/pytest-rerunfailures/issues/302>,#​303 <https://github.com/pytest-dev/pytest-rerunfailures/issues/303>_.v16.0Compare Source
with
pytest-xdist <https://github.com/pytest-dev/pytest-xdist/issues/843>.Fixes
#​302 <https://github.com/pytest-dev/pytest-rerunfailures/issues/302>,#​303 <https://github.com/pytest-dev/pytest-rerunfailures/issues/303>_.v15.1Compare Source
Bug fixes
+++++++++
Fix
--fail-on-flakyoption to fail the test run with custom exit codeonly 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.
Other changes
+++++++++++++
AssertionErrorraised viaassertstatements when filtering by "AssertionError".(
#​292 <https://github.com/pytest-dev/pytest-rerunfailures/issues/292>_)v15.0Compare Source
Breaking changes
++++++++++++++++
Drop support for Python 3.8.
Drop support for pytest < 7.4.
Features
++++++++
Fix compatibility with pytest 8.2.
(
#​267 <https://github.com/pytest-dev/pytest-rerunfailures/issues/267>_)Add support for pytest 8.2, 8.3.
Add
--fail-on-flakyoption to fail the test run with custom exit codewhen test passed on rerun.
v14.0Compare Source
Bug fixes
+++++++++
(
#​234 <https://github.com/pytest-dev/pytest-rerunfailures/issues/234>)and (
#​241 <https://github.com/pytest-dev/pytest-rerunfailures/issues/241>)Breaking changes
++++++++++++++++
Drop support for Python 3.7.
Drop support for pytest < 7.2.
Features
++++++++
v13.0Compare Source
Breaking changes
++++++++++++++++
Features
++++++++
Bug fixes
+++++++++
Fix crashitem names mismatch between client and server.
(
#​172 <https://github.com/pytest-dev/pytest-rerunfailures/issues/172>_)Fix crash when setup fails with --rerun-except flag.
(
#​230 <https://github.com/pytest-dev/pytest-rerunfailures/issues/230>_)v12.0Compare Source
Breaking changes
++++++++++++++++
Features
++++++++
Add
only_rerunandrerun_exceptarguments to@pytest.mark.flakymarker.Add support for pytest 7.3, 7.4.
Bug fixes
+++++++++
--only-rerunpattern (if given) and none of the
--rerun-exceptpatterns. Previously,using both
--only-rerunand--rerun-excepttogether could causefailures to be rerun even if they did not match any
--only-rerunpattern, and when using multiple
--rerun-exceptpatterns, all failureswould be rerun unless they matched every pattern.
(
#​225 <https://github.com/pytest-dev/pytest-rerunfailures/issues/225>_)v11.1.2Compare Source
Bug fixes
+++++++++
v11.1.1Compare Source
Bug fixes
+++++++++
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.
v11.1Compare Source
Bug fixes
+++++++++
v11.0Compare Source
Breaking changes
++++++++++++++++
Drop support for Python 3.6.
Drop support for pytest < 6.
Bug fixes
+++++++++
Fix crash when pytest-xdist is installed but disabled.
(Thanks to
@mgorny <https://github.com/mgorny>_ for the PR.)Fix crash when xfail(strict=True) mark is used with --rerun-only flag.
Features
++++++++
Added option
--rerun-exceptto 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.
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.